摘要: 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 阅读(863) 评论(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 阅读(293) 评论(0) 推荐(0) 编辑
摘要: 1.查看spring security,发现会自动创建多个对象。此时需要通过排序来进行,将自己设置的配置文件提前初始化来满足 2.原因找到了。自己配置了多个config。所以造成创建了多个filter。这里一定要注意哦~~~ @EnableWebSecurity @Order(1) //排序来处理这 阅读全文
posted @ 2021-01-22 18:12 SimpleSmile 阅读(1693) 评论(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 阅读(291) 评论(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 阅读(523) 评论(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 阅读(12266) 评论(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 阅读(2393) 评论(0) 推荐(0) 编辑
摘要: rpm -Uvh xxx.npm --nodeps --force 加上后面两句,可以覆盖当前版本,老换新也可以。 参考文档:https://www.cnblogs.com/ming-4/p/11700663.html 阅读全文
posted @ 2021-01-11 16:12 SimpleSmile 阅读(1784) 评论(0) 推荐(0) 编辑
摘要: 1.系统环境:CentOS Linux release 7.7.1908 (Core) 2.ssh 版本:OpenSSH_7.4p1, OpenSSL 1.0.2k-fips 26 Jan 2017 3.禁止scp 3.1 rpm -qa|grep openssh-* 3.2 yum remove 阅读全文
posted @ 2021-01-11 11:50 SimpleSmile 阅读(14754) 评论(2) 推荐(0) 编辑
摘要: 1.环境,本机电脑 windows10,虚拟机VM (centos 7.9.2009) 2.下载minikube,参考官网:https://minikube.sigs.k8s.io/docs/start/ 3.启动minikube先决条件,安装 kubectl,参考官网:https://kubern 阅读全文
posted @ 2021-01-10 10:09 SimpleSmile 阅读(528) 评论(0) 推荐(0) 编辑