05 2017 档案

摘要:sql: 结果就是: 第一行是空行,后面开始则是根据id倒序排列的数据 mysql下 不加 limit 条件则无法排序 参考资料: 1、 MySQL中union和order by一起使用的方法 阅读全文
posted @ 2017-05-24 12:42 xunux 阅读(473) 评论(0) 推荐(0)
摘要:经过跳板机的登陆一般很麻烦,可以使用 vbs自动登陆脚本。 windows下的xshell的vbs登陆脚本 xshell下脚本很多是否无效,特别是 WaitForString 和 WaitForStrings 函数 windows下securityCRT的登陆脚本 参考资料: 1、xShell终端调 阅读全文
posted @ 2017-05-24 12:35 xunux 阅读(915) 评论(0) 推荐(0)
摘要:mysql 设置utf8mb4 解决存储emoji字符的问题 阅读全文
posted @ 2017-05-16 15:13 xunux 阅读(1151) 评论(0) 推荐(0)
摘要:1、第一种方法: 在scrapy crawl 命令后面接上 -s JOBDIR/spidername 可以保存爬取状态实现 增量爬取。 2、 参考资料 1、 https://doc.scrapy.org/en/latest/topics/jobs.html 2、 http://stackoverfl 阅读全文
posted @ 2017-05-11 20:04 xunux 阅读(751) 评论(0) 推荐(0)
摘要:1、我要匹配非以.html结尾的链接, 匹配 http://www.wandoujia.com/apps/com.freeapp.batterysaver,但过滤掉 以.html结尾的链接, 如 http://www.wandoujia.com/apps/com.freeapp.batterysav 阅读全文
posted @ 2017-05-09 21:05 xunux 阅读(355) 评论(0) 推荐(0)
摘要:卸载mysql-python,改为安装 mysqlclient 最新版, windows下安装则 http://www.lfd.uci.edu/~gohlke/pythonlibs/#mysqlclient 下载,然后就支持了 参考资料: 1、http://blog.csdn.net/wzqnls/ 阅读全文
posted @ 2017-05-05 20:44 xunux 阅读(4131) 评论(0) 推荐(1)