上一页 1 2 3 4 5 6 7 8 ··· 43 下一页
摘要: 第一种:IF语句 IF(expr1,expr2,expr3); expr1、expr2、expr3分别代表条件1、条件2、条件3 如果expr1为TRUE,则IF()返回值为expr2,否则返回值为expr3 例子: update salary set sex =if(sex = '男','女',' 阅读全文
posted @ 2023-09-22 16:56 龙卷风之殇 阅读(385) 评论(0) 推荐(0)
摘要: 前提: redis版本必须大于4.0,centos7 yum 安装的redis版本3.0.7不支持! 首先编译安装redis 1.wget http://download.redis.io/releases/redis-4.0.2.tar.gz 2.mkdir /usr/redis 3.tar -z 阅读全文
posted @ 2023-09-22 15:23 龙卷风之殇 阅读(70) 评论(0) 推荐(0)
摘要: 1.安装tesserocr 必须先安装tesseract。 tesseract地址:https://digi.bib.uni-mannheim.de/tesseract/ 可以选择最新版本 一直点击下一步下一步就可以了 2.配置环境变量 1)将tesseract目录分别放到用户变量和系统变量中 2) 阅读全文
posted @ 2023-07-25 16:00 龙卷风之殇 阅读(254) 评论(0) 推荐(0)
摘要: 今天突发奇想,想试验下著名的fork炸弹是否真的可以将服务器资源耗尽崩溃,索性拿我个人服务器尝试下吧。 先上代码: #!/usr/bin/env python # encoding: utf-8 """ @author: jc @contact: Hurrican @software: PyChar 阅读全文
posted @ 2023-07-20 10:36 龙卷风之殇 阅读(56) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2023-07-11 11:18 龙卷风之殇 阅读(8) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 ··· 43 下一页