上一页 1 ··· 17 18 19 20 21 22 23 24 25 ··· 70 下一页
摘要: 工具类 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)
摘要: 官方文档:https://developers.google.cn/protocol-buffers/docs/proto proto2 proto3 阅读全文
posted @ 2021-11-23 21:12 yvioo 阅读(293) 评论(0) 推荐(0)
摘要: 依赖 <!-- 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)
摘要: 打开 执行 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)
摘要: 只需要在配置中重写 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)
摘要: 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)
摘要: fatal: refusing to merge unrelated histories(拒绝合并不相关的历史) 使用 git pull origin master --allow-unrelated-histories 阅读全文
posted @ 2021-11-19 09:13 yvioo 阅读(56) 评论(0) 推荐(0)
摘要: word-break: break-all; 阅读全文
posted @ 2021-11-17 20:05 yvioo 阅读(2036) 评论(0) 推荐(0)
摘要: 执行 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)
摘要: 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 下一页