上一页 1 ··· 18 19 20 21 22 23 24 25 26 ··· 49 下一页
摘要: 1.准备虚拟机,安装linux系统 我安装的是centos7 , 在阿里镜像下载的, 地址 http: //mirrors.aliyun.com/centos/7.9.2009/isos/x86_64/CentOS-7-x86_64-DVD-2009.iso 历史版本目录地址 http: //mir 阅读全文
posted @ 2022-05-10 12:15 岑惜 阅读(409) 评论(0) 推荐(0)
摘要: 我被坑了 1.背景 因为spring boot 和spring cloud 出现远程攻击漏洞,不得不升级到最新的,而最新的不支持以前用的微服务框架,需要重新搭建 不再支持zuul网关,只能更换功能强大的gateway 。。。。。。。巨坑来了,没有老师,没有详细的文档,只能把博客都翻了一遍,最后虽然成 阅读全文
posted @ 2022-04-02 01:21 岑惜 阅读(1485) 评论(0) 推荐(0)
摘要: 总结几点,超级重要: 不可使用关键字pro和test ,因此才会使用prod和tes下面解说的截图使用的是test关键字,随笔写的比较早,现在需要改正,截图就不改了,知道就行使用test关键字的 bug 发现场景:使用test配置文件打包,会导致,打包的文件在浏览器使用时,报错,提示 动态路由 无法 阅读全文
posted @ 2022-03-27 21:47 岑惜 阅读(1124) 评论(0) 推荐(0)
摘要: <dependency> <groupId>cn.hutool</groupId> <artifactId>hutool-all</artifactId> <version>5.7.22</version> </dependency> post 方式的简单使用 Map<String, Object> 阅读全文
posted @ 2022-03-15 21:08 岑惜 阅读(59) 评论(0) 推荐(0)
摘要: 在脚本最顶上定义该方法 String.prototype.replaceAll = function(s1,s2){ return this.replace(new RegExp(s1,"gm"),s2); } 阅读全文
posted @ 2022-03-11 12:33 岑惜 阅读(852) 评论(0) 推荐(0)
摘要: $(document).scrollTop(0); 阅读全文
posted @ 2022-03-06 09:35 岑惜 阅读(169) 评论(0) 推荐(0)
摘要: var autoTextarea = function (elem, extra, maxHeight) { extra = extra || 20; var isFirefox = !!document.getBoxObjectFor || 'mozInnerScreenX' in window, 阅读全文
posted @ 2022-03-06 09:34 岑惜 阅读(113) 评论(0) 推荐(0)
摘要: public static void main(String[] args) { // 1!+2!+...+20! long sum = 0; for (int i = 1; i <= 20; i++) { int cursum = 1; for (int j = 1; j <= i; j++) { 阅读全文
posted @ 2022-03-04 08:53 岑惜 阅读(186) 评论(0) 推荐(0)
摘要: public static void main(String[] args) { //两种声明写法 // int a[][][] = {{{1, 2}, {3, 4, 5}}, {{6, 7}, {8, 9, 10, 11}}}; int[][][] a = {{{1, 2}, {3, 4, 5}} 阅读全文
posted @ 2022-03-04 08:52 岑惜 阅读(351) 评论(0) 推荐(0)
摘要: public static void main(String[] args ){ int i = 8; String s2 = Integer.toString(i,2); System.out.println("2进制为:"+s2); // -- 1000 int sum = 0; for (in 阅读全文
posted @ 2022-03-04 08:51 岑惜 阅读(41) 评论(0) 推荐(0)
上一页 1 ··· 18 19 20 21 22 23 24 25 26 ··· 49 下一页