摘要: 一、zip zip -r aaa.zip(压缩后文件名称) aaa(压缩文件名称) aaa aaa.zip 二、tar 压缩:tar zcvf aaa.tar.gz(压缩后的名字) aaa 解压:tar zxvf aaa.tar.gz 阅读全文
posted @ 2018-06-14 17:40 Presley 阅读(98) 评论(0) 推荐(0) 编辑
摘要: 引用自:https://www.cnblogs.com/rongtangzi/p/6623122.html #!/bin/env python # _*_coding:utf-8_*_ #!!!!!!!!!!!!describe:this script shoud install python-devel and pip install MySQL-python import subproce... 阅读全文
posted @ 2018-06-14 15:20 Presley 阅读(158) 评论(0) 推荐(0) 编辑
摘要: 一、双向队列 2 二、单向队列 21231456 阅读全文
posted @ 2018-06-13 21:51 Presley 阅读(102) 评论(0) 推荐(0) 编辑
摘要: 引用自:https://www.cnblogs.com/keye/p/7859181.html 引用自:https://blog.csdn.net/sxingming/article/details/52275350 阅读全文
posted @ 2018-06-13 17:31 Presley 阅读(131) 评论(0) 推荐(0) 编辑
摘要: innodb_fast_shutdown有3个值: 默认是1 可选0 1 2 支持全动态局设置 使用场景:在做数据库关闭升级的时候 set global innodb_fast_shutdown=0,这个时候能最大保障数据的完整性。 设置为1:关闭MySQL的时候不会做清除脏页和插入缓冲区的合并操作 阅读全文
posted @ 2018-06-13 12:02 Presley 阅读(2292) 评论(0) 推荐(0) 编辑
摘要: 1、ALTER USER 'root'@'localhost' PASSWORD EXPIRE; 一旦某个用户的这个选项设置为”Y”,那么这个用户还是可以登陆到MySQL服务器,但是在用户未设置新密码之前不能运行任何查询语句。 2、ALTER USER 'root'@'localhost' PASS 阅读全文
posted @ 2018-06-13 11:55 Presley 阅读(416) 评论(0) 推荐(0) 编辑
摘要: MytupleClass(x=11, y=22, z=33) 11 22 33 阅读全文
posted @ 2018-06-11 22:17 Presley 阅读(255) 评论(0) 推荐(0) 编辑
摘要: 一、Dockerfile名字不能是大写。 二、Docker-compares 引用自:https://www.cnblogs.com/wj5633/p/6707012.html 引用自:https://www.cnblogs.com/jsonhc/p/7811929.html 三、docker-co 阅读全文
posted @ 2018-06-11 17:40 Presley 阅读(169) 评论(0) 推荐(0) 编辑
摘要: 引用自:http://baijiahao.baidu.com/s?id=1582812185263227836&wfr=spider&for=pc 引用自:https://www.cnblogs.com/YatHo/p/7856556.html 一、多参数选择 pipeline{ agent { l 阅读全文
posted @ 2018-06-11 11:17 Presley 阅读(1343) 评论(0) 推荐(0) 编辑
摘要: 一、counter 1、counter是对字典类型的补充,用于追踪值的出现次数。 阅读全文
posted @ 2018-06-10 22:01 Presley 阅读(400) 评论(0) 推荐(0) 编辑