上一页 1 ··· 8 9 10 11 12
摘要: down最新的redis wget http://download.redis.io/releases/redis-5.0.6.tar.gz tar zxf redis-5.0.6.tar.gz cd redis-5.0.6 && make mkdir -p /usr/local/redis/bin 阅读全文
posted @ 2019-11-18 20:44 Le1543 阅读(119) 评论(0) 推荐(0) 编辑
摘要: 习惯使用firewell就要禁用iptables 有两个方法 : 一: echo '/usr/sbin/iptables -F' >> /etc/rc.d/rc.local chmod +x /etc/rc.d/rc.local 二: 重装iptables后卸载掉或者卸载安装再卸载 阅读全文
posted @ 2019-11-18 20:11 Le1543 阅读(242) 评论(0) 推荐(0) 编辑
摘要: 授权之前必须创建用户才能授权 create user '用户'@'主机或者%(所有主机)' identified by '密码'; create user 'root'@'%' identified by '123qwe'; GRANT ALL ON *.* TO '已有的用户'@'主机' IDEN 阅读全文
posted @ 2019-11-18 20:06 Le1543 阅读(381) 评论(0) 推荐(0) 编辑
摘要: 矩阵针脚 面向金手指 金手指向下,电源在左边,针脚从左到右顺序递增排列 1-7_19-23 8-18 阅读全文
posted @ 2019-11-07 19:24 Le1543 阅读(202) 评论(0) 推荐(0) 编辑
摘要: 子类调用父类tyep父类执行__init__父类执行__call__父级__call__创建子类__new__父级__init__创建之类__init__new先于init执行但子级call要retrun init值才能调用父类这样才能实例化 阅读全文
posted @ 2019-10-25 14:48 Le1543 阅读(99) 评论(0) 推荐(0) 编辑
摘要: import re def AP(formula): formula = formula.replace('+-','-') formula = formula.replace('-+','-') formula = formula.replace('--','+') return formula 阅读全文
posted @ 2019-10-23 09:15 Le1543 阅读(124) 评论(0) 推荐(0) 编辑
上一页 1 ··· 8 9 10 11 12