上一页 1 ··· 8 9 10 11 12 13 下一页
摘要: https://www.cnblogs.com/SjhCode/p/docker.html 阿里云镜像获取地址:https://cr.console.aliyun.com/cn-hangzhou/instances/mirrors docker启动命令 1 启动docker systemctl st 阅读全文
posted @ 2023-04-21 20:11 binbinx 阅读(11) 评论(0) 推荐(0) 编辑
摘要: https://www.cnblogs.com/SjhCode/p/thread.html Synchronized 原文:http://blog.csdn.net/luoweifu/article/details/46613015作者:luoweifu 同步线程 1.一个线程访问一个对象中的syn 阅读全文
posted @ 2023-04-21 20:10 binbinx 阅读(2) 评论(0) 推荐(0) 编辑
摘要: 负数转正整数 Long user = ~(Long.parseLong(userId)-1); Math.abs(userId) Enum枚举 几种常用的枚举 一、直接写成员 public enum EnumResultType { ex,notMatch,success,busy } 成员取出是用 阅读全文
posted @ 2023-04-21 20:09 binbinx 阅读(69) 评论(0) 推荐(0) 编辑
摘要: https://www.cnblogs.com/SjhCode/p/excelAndPic.html 批量导入图片--Excel与zip压缩包 导入excel和图片其实很简单,就是导入包与调用几个简单的方法,主要对接业务操作比较繁琐。 在excel中填入图片的名称(不用带后缀) 对应的zip包 导入 阅读全文
posted @ 2023-04-21 20:07 binbinx 阅读(159) 评论(0) 推荐(0) 编辑
摘要: https://www.cnblogs.com/SjhCode/p/WebSocketClient.html 注意事项: 1.@Scheduled(fixedDelay = 5000) 2.心跳检测 3.导入依赖与导包 <dependency> <groupId>org.java-websocket 阅读全文
posted @ 2023-04-21 20:04 binbinx 阅读(157) 评论(0) 推荐(0) 编辑
摘要: https://www.cnblogs.com/SjhCode/p/Iterator.html java 迭代器使用 原文链接:https://blog.csdn.net/ACE_kk/article/details/126182500 一、前言在迭代器(Iterator)没有出现之前,如果要遍历数 阅读全文
posted @ 2023-04-21 19:56 binbinx 阅读(35) 评论(0) 推荐(0) 编辑
摘要: https://www.cnblogs.com/SjhCode/p/instanceof.html 引用原文链接:https://blog.csdn.net/YXXXYX/article/details/120205124 概念:instanceof 概念在多态中引出,因为在多态发生时,子类只能调用 阅读全文
posted @ 2023-04-21 19:55 binbinx 阅读(28) 评论(0) 推荐(0) 编辑
摘要: 命令 启动nginx start nginx 查看是否存在进程 tasklist /fi "imagename eq nginx.exe"查看进程号ps aux|grep nginx 重新加载配置文件 nginx -s reload 快速关闭 nginx -s stop 有序关闭 nginx -s 阅读全文
posted @ 2023-04-21 19:54 binbinx 阅读(21) 评论(0) 推荐(0) 编辑
摘要: https://www.cnblogs.com/SjhCode/p/TODO.html 在注释中加入TODO,来标注为待开发。我们用来快速标注BUG,测试类,未完成内容,错误代码 //TODO 在这里输入标注 /** * TODO 在这里输入标注 * */ 在IDEA左下角这里的TODO可以看到项目 阅读全文
posted @ 2023-04-21 19:52 binbinx 阅读(83) 评论(0) 推荐(0) 编辑
摘要: ruoyi-OSS阿里云 ruoyi-OSS阿里云 1.先去阿里云开通OSS https://blog.csdn.net/m0_55155505/article/details/123688022 2.导入依赖,ruoyi默认配置 <!--阿里云sms短信服务--> <dependency> <gr 阅读全文
posted @ 2023-04-21 19:51 binbinx 阅读(638) 评论(0) 推荐(0) 编辑
上一页 1 ··· 8 9 10 11 12 13 下一页