会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
长久悠悠
博客园
首页
新随笔
联系
管理
订阅
上一页
1
2
3
4
5
6
7
···
9
下一页
2019年1月11日
python3 zip压缩
摘要: 参考: https://docs.python.org/3/library/zipfile.html https://zhidao.baidu.com/question/1498409764366387259.html https://blog.csdn.net/dou_being/article/
阅读全文
posted @ 2019-01-11 17:26 长久悠悠
阅读(637)
评论(0)
推荐(0)
2018年12月27日
nginx应用
摘要: windows: 启动:start nginx 退出:nginx -s quit 检查配置是否正确:nginx -t -c ./conf/nginx.conf 查看是否在运行:tasklist /fi "imagename eq nginx.exe" centos7: // 服务状态# system
阅读全文
posted @ 2018-12-27 13:38 长久悠悠
阅读(174)
评论(0)
推荐(0)
2018年12月19日
Python3.x:os.listdir和os.walk(获取路径方法)的区别
摘要: 1,os.listdir 使用情况:在一个目录下面只有文件,没有文件夹,这个时候可以使用os.listdir; 例如:d:\listdir文件夹下有三个文件(text1.txt、test2.txt、test3.txt),获得文件的绝对路径: 输出结果: 2,os.walk 使用情况:递归的情况,一个
阅读全文
posted @ 2018-12-19 14:25 长久悠悠
阅读(742)
评论(0)
推荐(0)
2018年12月15日
zipimport.ZipImportError: can't find module 'encodings'
摘要: 环境说明:windows 7、python 3.7.0、pyinstaller 3.1。 解决方案:升级pyinstaller 到 3.4。
阅读全文
posted @ 2018-12-15 11:03 长久悠悠
阅读(1568)
评论(0)
推荐(0)
2018年12月13日
Maven构建可执行的jar包(包含依赖jar包)
摘要: 摘自:https://www.cnblogs.com/dzblog/p/6913809.html 目标: 将依赖的第三方jar包打进去 方法: maven-assembly-plugin 环境: IDEA 2016.3 JDK 1.8 遇到的问题: 此处耗时2天时间,遇到过的坑: 1.修改完pom.
阅读全文
posted @ 2018-12-13 20:31 长久悠悠
阅读(1540)
评论(0)
推荐(0)
2018年11月25日
python3 模块安装列表
摘要: pip install scrapy pip install twisted pip install BeautifulSoup4 pip install lxml pip install Pillow 图像处理库 pip install matplotlib
阅读全文
posted @ 2018-11-25 15:30 长久悠悠
阅读(515)
评论(0)
推荐(0)
2018年10月18日
cmd笔记
摘要: 查看域名:nslookup www.xxx.com。 删除非空目录:rmdir /s /q [drive:]path 交互式批量删除指定目录下指定类型文件 批量获取一个文件夹内所有文件的文件名: dir *.png /b >list.txt tree /f >list.txt for /f "del
阅读全文
posted @ 2018-10-18 11:07 长久悠悠
阅读(158)
评论(0)
推荐(0)
2018年10月8日
作业调度框架 Quartz之Cron表达式
摘要: 摘自:https://blog.csdn.net/lnara/article/details/8636656 前面两篇说的是简单的触发器(SimpleTrigger) , SimpleTrigger 只能处理简单的事件出发,如果想灵活的进行任务的触发,就要请出 CronTrigger 这个重要人物了
阅读全文
posted @ 2018-10-08 21:02 长久悠悠
阅读(1232)
评论(0)
推荐(0)
2018年10月2日
springboot连接redis并动态切换database
摘要: 摘自: https://blog.csdn.net/jlh912008548/article/details/78982008 【未实践验证】 springboot连接redis并动态切换database 众所周知,redis多有个db,在jedis中可以使用select方法去动态的选择redis的
阅读全文
posted @ 2018-10-02 14:01 长久悠悠
阅读(21293)
评论(3)
推荐(0)
Spring Boot Redis多实例配置
摘要: 摘自:http://www.cnblogs.com/lchb/articles/7222870.html 【未实践验证】 Spring Boot Redis多实例配置 1,添加redis依赖 pom.xml<dependency> <groupId>org.springframework.boot<
阅读全文
posted @ 2018-10-02 13:54 长久悠悠
阅读(2536)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
···
9
下一页
公告