摘要: 1.用到crontab,需要初始化命令包 yum install vixie-cron yum install crontabs 2.启动服务 systemctl start crond.service 3.编写shell文件 #/bin/sh echo "test" >> /home/app/lo 阅读全文
posted @ 2021-02-01 09:59 SimpleSmile 阅读(473) 评论(0) 推荐(0)
摘要: 参考:https://blog.csdn.net/zhaoleiedu/article/details/111472654 避免忘记,自己备份一份: pip install xlrd==1.2.0 阅读全文
posted @ 2021-01-27 16:46 SimpleSmile 阅读(7035) 评论(0) 推荐(0)
摘要: 参考:https://blog.csdn.net/qq_37758925/article/details/108607592 主要是怕找不到了,自己留一份: python -m pip install --upgrade pip -i https://pypi.douban.com/simple 阅读全文
posted @ 2021-01-27 16:34 SimpleSmile 阅读(138) 评论(0) 推荐(0)
摘要: import xlrd import json # import requests # pip install xlrd # pip install requests def openWorkbook(): # 读取excel表的数据 workbook = xlrd.open_workbook(r' 阅读全文
posted @ 2021-01-27 09:35 SimpleSmile 阅读(971) 评论(0) 推荐(0)
摘要: select replace(replace(val,char(10),''),char(13),'') from tab char(10) : ascii码的 换行符 (换行) char(13) : ascii码的 水平制表符 (换列) 阅读全文
posted @ 2021-01-25 18:09 SimpleSmile 阅读(340) 评论(0) 推荐(0)
摘要: 1.查看spring security,发现会自动创建多个对象。此时需要通过排序来进行,将自己设置的配置文件提前初始化来满足 2.原因找到了。自己配置了多个config。所以造成创建了多个filter。这里一定要注意哦~~~ @EnableWebSecurity @Order(1) //排序来处理这 阅读全文
posted @ 2021-01-22 18:12 SimpleSmile 阅读(1807) 评论(0) 推荐(0)
摘要: 1.查看模式 select @@sql_mode 2.将 ONLY_FULL_GROUP_BY 模式去掉 SET sql_mode=(SELECT REPLACE(@@sql_mode,'ONLY_FULL_GROUP_BY','')); 3.设置全局变量set global sql_mode='S 阅读全文
posted @ 2021-01-20 09:34 SimpleSmile 阅读(333) 评论(0) 推荐(0)
摘要: 1.依赖包 <dependency> <groupId>cn.hutool</groupId> <artifactId>hutool-core</artifactId> <version>5.5.7</version> </dependency> 2.实现代码 File file = FileUti 阅读全文
posted @ 2021-01-20 08:59 SimpleSmile 阅读(571) 评论(0) 推荐(0)
摘要: 环境:windows10 ,jdk1.8,springboot <dependency> <groupId>cn.hutool</groupId> <artifactId>hutool-core</artifactId> <version>5.5.7</version></dependency> < 阅读全文
posted @ 2021-01-20 08:43 SimpleSmile 阅读(13285) 评论(0) 推荐(0)
摘要: 环境:centos 7 由于OpenSSL 拒绝服务漏洞(CVE-2020-1971) 需要将openssl进行升级 参考网站:https://jingyan.baidu.com/article/08b6a5916ecc5214a9092244.html 1.准备rpm包,从官网下载:http:// 阅读全文
posted @ 2021-01-12 08:50 SimpleSmile 阅读(2604) 评论(0) 推荐(0)