摘要: import org.junit.Test; import java.time.*; import java.time.format.DateTimeFormatter; import java.time.temporal.ChronoUnit; import java.util.*; import 阅读全文
posted @ 2022-01-26 14:53 一个小学僧 阅读(97) 评论(0) 推荐(0) 编辑
摘要: 查看系统版本信息 lsb_release -a 从根目录下查找大于200M的文件,并按照从大到小的顺序排列(xargs添加-r参数忽略当没有找到文件时,返回当前路径) find / -name *.log -type f -size +200M 2>/dev/null|xargs -r du -sh 阅读全文
posted @ 2021-11-23 11:28 一个小学僧 阅读(13) 评论(0) 推荐(0) 编辑
摘要: Jqgrid配置 自适应宽度 shrinkToFit: true 且 colmodel 的 fixed 不能是true colmodel配置 阅读全文
posted @ 2021-09-01 17:46 一个小学僧 阅读(52) 评论(0) 推荐(0) 编辑
摘要: 详情参考这里 有文本 test.txt 123 456kaishi33333 ddd jieshu66666 ddd 444444 想把从kaishi到jieshu中的内容一次替换为COMMENT sed -e "{:begin; /jieshu/! { $! { N; b begin }; }; 阅读全文
posted @ 2021-07-30 10:48 一个小学僧 阅读(654) 评论(0) 推荐(0) 编辑
摘要: 进入linux某个文件夹下, 然后去https://dev.mysql.com/downloads/mysql/5.7.html 用 wget 下载 mysql的rpm包 mysql-community-client-5.7.33-1.el7.x86_64.rpm mysql-community-c 阅读全文
posted @ 2021-03-04 16:00 一个小学僧 阅读(27) 评论(0) 推荐(0) 编辑
摘要: 常见的参数 只备份表结构 加 -d 添加过滤条件加 --where="a > b" 每个数据表创建之前添加drop数据表语句。(默认为打开状态,使用–skip-add-drop-table取消选项 导出语句 导出数据库 mysqldump -uroot -h 127.0.0.1 -p'xxx' -- 阅读全文
posted @ 2021-02-08 18:46 一个小学僧 阅读(211) 评论(0) 推荐(0) 编辑
摘要: 引用自: https://miaoxinguo.github.io/logback/2015/02/05/logback.setting.html 其他参考: https://juejin.cn/post/6844903790349385735 输出格式配置可以参考官方文档: http://logb 阅读全文
posted @ 2021-01-19 11:21 一个小学僧 阅读(130) 评论(0) 推荐(0) 编辑
摘要: 参考文章-原码, 反码, 补码 详解 阅读全文
posted @ 2020-12-22 18:02 一个小学僧 阅读(51) 评论(0) 推荐(0) 编辑
摘要: 暂时 阅读全文
posted @ 2020-12-17 15:35 一个小学僧 阅读(40) 评论(0) 推荐(0) 编辑
摘要: 配置多环境 <!-- 多环境配置方案 命令dev包 : mvn -U clean compile package -P dev--> <profiles> <profile> <id>dev</id> <properties> <profileActive>dev</profileActive> < 阅读全文
posted @ 2020-12-17 15:15 一个小学僧 阅读(530) 评论(0) 推荐(0) 编辑