会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
yvioo
“你从没有相信过谁吧,这就是你孤身一人的原因”
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
17
18
19
20
21
22
23
24
25
···
70
下一页
2021年11月21日
SpringBoot 封装异步、延迟执行任务简单demo
摘要: ThreadPoolConfig.java import lombok.extern.slf4j.Slf4j; import org.apache.commons.lang3.concurrent.BasicThreadFactory; import org.springframework.cont
阅读全文
posted @ 2021-11-21 16:54 yvioo
阅读(1792)
评论(0)
推荐(0)
2021年11月19日
git pull 拉取报错:fatal: refusing to merge unrelated histories
摘要: fatal: refusing to merge unrelated histories(拒绝合并不相关的历史) 使用 git pull origin master --allow-unrelated-histories
阅读全文
posted @ 2021-11-19 09:13 yvioo
阅读(53)
评论(0)
推荐(0)
2021年11月17日
CSS设置文字超出部分自动换行
摘要: word-break: break-all;
阅读全文
posted @ 2021-11-17 20:05 yvioo
阅读(2031)
评论(0)
推荐(0)
clickhouse配置登录密码
摘要: 执行 PASSWORD=$(base64 < /dev/urandom | head -c8); echo "123456"; echo -n "123456" | sha256sum | tr -d '-' 这里的 123456 就是密码(这个密码不能包含特殊字符 可以字母或者数字) 显示 123
阅读全文
posted @ 2021-11-17 10:04 yvioo
阅读(2174)
评论(0)
推荐(0)
2021年11月11日
JAVA中BufferedImage与byte[]转换
摘要: BufferedImage转byte[] ByteArrayOutputStream out = new ByteArrayOutputStream(); ImageIO.write(imgBuff, "jpeg", out); byte[] bytes=out.toByteArray(); byt
阅读全文
posted @ 2021-11-11 16:41 yvioo
阅读(2121)
评论(0)
推荐(0)
2021年11月3日
SpringBoot整合Netty实现socket通讯简单demo
摘要: 依赖 <dependency> <groupId>io.netty</groupId> <artifactId>netty-all</artifactId> <version>4.1.42.Final</version> </dependency> 还用到了 <dependency> <groupI
阅读全文
posted @ 2021-11-03 11:40 yvioo
阅读(4939)
评论(11)
推荐(1)
2021年10月28日
Linux使用tar解压的时候去掉父级目录
摘要: 去除解压目录结构使用 --strip-components N 如: 压缩文件text.tar 中文件信息为 src/src1/src2/text.txt 运行 tar -zxvf text.tar --strip-components 1 结果:src1/src2/text.txt 如果运行 ta
阅读全文
posted @ 2021-10-28 15:02 yvioo
阅读(1722)
评论(0)
推荐(0)
docker安装artemis
摘要: Dockerfile # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed wi
阅读全文
posted @ 2021-10-28 13:18 yvioo
阅读(597)
评论(0)
推荐(0)
2021年10月25日
SpringBoot整合MQTT (使用官方demo)
摘要: 另一种方式(推荐):https://www.cnblogs.com/pxblog/p/17058417.html 依赖 <dependency> <groupId>org.eclipse.paho</groupId> <artifactId>org.eclipse.paho.client.mqttv
阅读全文
posted @ 2021-10-25 14:45 yvioo
阅读(7409)
评论(2)
推荐(1)
2021年10月20日
java -jar 配置参数写法说明和启动优化命令
摘要: java -Dxxx=test -jar xxx.jar (放在-jar之前) 属性名不区分大小写 取值:System.getProperty("xxx") spring的@value("${xxx}") java -jar xxx.jar value1=1 value2=2 (放在启动jar包之后
阅读全文
posted @ 2021-10-20 10:54 yvioo
阅读(4506)
评论(0)
推荐(0)
上一页
1
···
17
18
19
20
21
22
23
24
25
···
70
下一页
公告