会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
星空物语之韵
我想遇到一起奋斗的河南小伙,和你们一起漫步在代码的海洋里远行
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
8
9
···
25
下一页
2023年1月28日
linux 导出日志 命令
摘要: 1、连接上相应的linux主机,进入到等待输入shell指令的linux命令行状态下。 2、在命令行下输入shell指令:sz /var/log/boot.log,此时会弹出下载位置选择。 3、点击确定,此时会看到日志被成功导出了。 查找ERROR日志,以及它的后10行 $ grep -A 10 E
阅读全文
posted @ 2023-01-28 16:44 星空物语之韵
阅读(4423)
评论(0)
推荐(0)
2022年11月29日
linux 常用查看日志命令
摘要: 1、tail 查看文本文件的尾部 tail -f alert_monitor.log //实时查看alert_monitor.log文件 日志 tail -n 100 alert_monitor.log //查询日志尾部最后100行的日志 tail -n +100 alert_monitor.log
阅读全文
posted @ 2022-11-29 17:16 星空物语之韵
阅读(9476)
评论(0)
推荐(2)
2022年11月9日
计算两个日期之间的小时数
摘要: public void mytest15() throws ParseException { String startTime = "2019-11-08 10:12:00"; String endTime = "2019-11-08 17:23:00"; DateFormat dateFormat
阅读全文
posted @ 2022-11-09 14:32 星空物语之韵
阅读(487)
评论(0)
推荐(0)
2022年10月12日
线程池的简单使用
摘要: //获取第三方数据接口demopublic void updatePlcParams(Set<String> stringSet) { log.info(" updatePlcParams() 更新plc数据开始 "); long start = System.currentTimeMillis()
阅读全文
posted @ 2022-10-12 16:58 星空物语之韵
阅读(29)
评论(0)
推荐(0)
2022年9月2日
异常:springBoot启动com.alibaba.druid.pool.DruidDataSource - {dataSource-1} inited起不来
摘要: springboot加载到dataSource后一直显示加载中1.问题:加载到如下这里,一直处于加载中状态 2.排查:mapper中的断点排查 3.结论:因为断点打到mapper文件中,造成spring启动加载mapper文件时遇到断点阻断,所以整个服务处于停止等待状态。原文链接:https://b
阅读全文
posted @ 2022-09-02 09:22 星空物语之韵
阅读(1382)
评论(0)
推荐(0)
2022年8月26日
java 8 流式 list 求和
摘要: List<User> list = userService.list(wrapper);// int类型int age = list.stream().mapToInt(User::getAge).sum();// long类型long age = list.stream().mapToLong(U
阅读全文
posted @ 2022-08-26 14:59 星空物语之韵
阅读(900)
评论(0)
推荐(0)
2022年7月4日
git 来取代码问题 git did not exit cleanly Connection closed by xxxx port 22
摘要: 一般我们来取代码 都会赋值 ssh在的路径地址 ,但是有时候俩去代码会报错: git did not exit cleanly Connection closed by xxxx port 22 这个时候我们不妨 选择 http 下的这个路径。 我就出现了这个尴尬的情况! 第一次 从git上拉去代码
阅读全文
posted @ 2022-07-04 11:38 星空物语之韵
阅读(364)
评论(0)
推荐(0)
2022年6月30日
list对象转成字符串保存到数据库 (JSON.parseArray使用详解)
摘要: JSON的用法 : 1.假如想把 list 对象的 数据保存到数据库 需要转成 String 保存到数据库 使用方式如下: 保存时 转化为 字符串: List list = new ArrayList(); String userList = JSON.toJSONString(list) 查询时
阅读全文
posted @ 2022-06-30 14:59 星空物语之韵
阅读(1990)
评论(0)
推荐(0)
2022年6月23日
钉钉前端获取code码
摘要: 具体步骤请参考官网:https://open.dingtalk.com/document/orgapp-server/enterprise-internal-application-logon-free js代码如下: 点击查看代码 onLoad() { dd.getAuthCode({ succe
阅读全文
posted @ 2022-06-23 09:30 星空物语之韵
阅读(1579)
评论(0)
推荐(0)
2022年6月20日
XXLJob与SpringCloud整合
摘要: 图示 下载,建表网上链接一堆,自己找去,下载完了解压之后是个聚合工程,复制doc>db>.sql文件里面的内容,打开数据库的可视化工具,新建查询粘贴,执行 admin配置,logback.xml配置配置端口号我习惯用7001…配置contextpath…随便配置datasource…改驱动改用户名和
阅读全文
posted @ 2022-06-20 15:50 星空物语之韵
阅读(481)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
8
9
···
25
下一页
公告