12 2020 档案

idea jrebel debug 问题修复
摘要:如题 debug 提示 错误如下, 并且 tomcat 会 卡住 com.sun.jdi.VMMismatchException : instance of org.apache.tomcat.util.threads.TaskThread(name='http-nio-8100-exec-10', 阅读全文

posted @ 2020-12-26 11:41 正义的伙伴! 阅读(1725) 评论(0) 推荐(0) 编辑

java 补 0
摘要:public static void main(String[] args) { int i = 7; System.out.println(String.format("%04d", i)); System.out.println(String.format("%-4s",i).replace(" 阅读全文

posted @ 2020-12-24 11:37 正义的伙伴! 阅读(67) 评论(0) 推荐(0) 编辑

tomcat 解决乱码
摘要:windows : catalina.bat 首行 set JAVA_OPTS=%JAVA_OPTS% -Dfile.encoding=UTF-8 linux catalina.sh JAVA_OPTS="$JAVA_OPTS -Dfile.encoding=UTF-8" 阅读全文

posted @ 2020-12-17 17:24 正义的伙伴! 阅读(57) 评论(0) 推荐(0) 编辑

go 信号捕获
摘要:Golang中的信号处理 chanel := make(chan os.Signal) // SIGKILL 无法捕获 ! signal.Notify(chanel, syscall.SIGINT, syscall.SIGTERM, syscall.SIGKILL) s := <-chanel lo 阅读全文

posted @ 2020-12-17 14:45 正义的伙伴! 阅读(461) 评论(0) 推荐(0) 编辑

导航

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5
//增加一段JS脚本,为目录生成使用
点击右上角即可分享
微信分享提示