只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2019-12-23 20:17 默默雷 阅读(28) 评论(0) 推荐(0) 编辑
摘要: 作者: 阮一峰 http://www.ruanyifeng.com/blog/2018/11/awk.html awk是处理文本文件的一个应用程序,几乎所有 Linux 系统都自带这个程序。 它依次处理文件的每一行,并读取里面的每一个字段。对于日志、CSV 那样的每行格式相同的文本文件,awk可能是 阅读全文
posted @ 2019-11-20 18:47 默默雷 阅读(122) 评论(0) 推荐(0) 编辑
摘要: 出处:https://www.cnblogs.com/huang yc/p/9209096.html 问题起源: ​ 在学习了python的函数式编程后,又接触到了logging这样一个强大的日志模块。为了减少重复代码,应该不少同学和我一样便迫不及待的写了一个自己的日志函数,比如下面这样: 函数写好 阅读全文
posted @ 2019-11-16 13:25 默默雷 阅读(267) 评论(0) 推荐(0) 编辑
只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2019-11-04 13:28 默默雷 阅读(4) 评论(0) 推荐(0) 编辑
只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2019-10-21 20:25 默默雷 阅读(3) 评论(0) 推荐(0) 编辑
摘要: 新建 为了更好的标识文章和防止重复,文章对应的markdown文件的命名应该遵循:YYYY-MM-DD-title 格式。 例如,今天是2019年3月3日,文章内容是与ES6有关。那么,文件名是2019-03-03-es6.md。 发布 上传github 阅读全文
posted @ 2019-04-18 22:11 默默雷 阅读(179) 评论(0) 推荐(0) 编辑
只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2019-01-08 22:42 默默雷 阅读(15) 评论(0) 推荐(0) 编辑
摘要: Chrome 点击下载chrome的webdriver: http://chromedriver.storage.googleapis.com/index.html 或者: http://npm.taobao.org/mirrors/chromedriver/ 不同的Chrome的版本对应的chro 阅读全文
posted @ 2018-12-14 11:36 默默雷 阅读(16016) 评论(0) 推荐(0) 编辑
摘要: 1.下载安装yum源 根据系统下载yum源 https://dev.mysql.com/downloads/repo/yum/ rpm -ivh xxxxx.rpm 2.修改yum源 vim /etc/yum.repos.d/mysql-community.repo enable想要下载的版本 3. 阅读全文
posted @ 2018-11-15 22:24 默默雷 阅读(177) 评论(0) 推荐(0) 编辑
摘要: 1.官网下载安装包 https://redis.io 2.解压 wget http://download.redis.io/releases/redis-5.0.5.tar.gztar -zxvf xxxx.tar.gz 3.编译安装 进入解压后的目录后 1 make 出现以下内容表示make成功 阅读全文
posted @ 2018-11-15 13:00 默默雷 阅读(534) 评论(0) 推荐(0) 编辑