会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
yvioo
“你从没有相信过谁吧,这就是你孤身一人的原因”
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
17
18
19
20
21
22
23
24
25
···
70
下一页
2021年11月24日
JAVA根据A星算法规划起点到终点二维坐标的最短路径
摘要: 工具类 AStarUtil.java import java.util.*; import java.util.stream.Collectors; /** * A星算法工具类 */ public class AStarUtil { private int[][] NODES; public ASt
阅读全文
posted @ 2021-11-24 15:58 yvioo
阅读(618)
评论(0)
推荐(0)
2021年11月23日
谷歌protobuf(protocol-buffers)各种开发语言数据类型转换说明
摘要: 官方文档:https://developers.google.cn/protocol-buffers/docs/proto proto2 proto3
阅读全文
posted @ 2021-11-23 21:12 yvioo
阅读(293)
评论(0)
推荐(0)
JAVA使用netty建立websocket连接
摘要: 依赖 <!-- https://mvnrepository.com/artifact/commons-io/commons-io --> <dependency> <groupId>commons-io</groupId> <artifactId>commons-io</artifactId> <v
阅读全文
posted @ 2021-11-23 20:53 yvioo
阅读(1247)
评论(0)
推荐(0)
2021年11月22日
windows生成ssh上传git代码
摘要: 打开 执行 ssh-keygen -t rsa -C "email@email.com" #换成你的git登录账号 中间肯会有提示确认的 ,直接回车就行 出现这个就表示成功了 然后在 C:\Users(用户)\你电脑用户名\.ssh 会有两个文件 然后把id_rsa.pub 文件用文本打开复制 登录
阅读全文
posted @ 2021-11-22 18:45 yvioo
阅读(141)
评论(0)
推荐(0)
2021年11月21日
SpringBoot(SpringMVC)使用addViewControllers设置统一请求URL重定向(映射、转发)配置
摘要: 只需要在配置中重写 addViewControllers方法 import org.springframework.context.annotation.Configuration; import org.springframework.web.servlet.config.annotation.V
阅读全文
posted @ 2021-11-21 16:59 yvioo
阅读(1155)
评论(0)
推荐(0)
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
阅读(1798)
评论(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
阅读(56)
评论(0)
推荐(0)
2021年11月17日
CSS设置文字超出部分自动换行
摘要: word-break: break-all;
阅读全文
posted @ 2021-11-17 20:05 yvioo
阅读(2036)
评论(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
阅读(2198)
评论(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
阅读(2154)
评论(0)
推荐(0)
上一页
1
···
17
18
19
20
21
22
23
24
25
···
70
下一页
公告