随笔分类 - 做_代码库沉淀
摘要:https://zenn.dev/hiroakey/articles/9f68ad249af20c https://qiita.com/vukujin/items/49c7164061ffca61f1da こちらは、検索文字列を含むか含まないかの0/1で判断します。また、修飾子を用いてより細かく条件
阅读全文
摘要:https://stackoverflow.com/questions/29079866/how-to-use-cxf-client-in-thread-safe-way#:~:text=Yes%20CXF%20is%20thread%20safe,as%20transport%2C%20datab
阅读全文
摘要:一直用着swagger 2.9.2,最近扫出了漏洞,swagger config得重写。 纠结在defaultValue等等。 最后写成这样就好了。 new RequestParameterBuilder() .name("name") .query(simpleParameterSpecifica
阅读全文
摘要:How do I use password protected proxy server using various command line options? You can simply use wget command as follows: $ wget --proxy-user=USERN
阅读全文
摘要:笔记 https://howtodoinjava.com/spring-boot2/h2-database-example/ https://www.cnblogs.com/v1haoge/p/9959855.html http://www.h2database.com/html/features.
阅读全文
摘要:https://stackoverflow.com/questions/18215389/how-do-i-measure-request-and-response-times-at-once-using-curl Create a new file, curl-format.txt, and pa
阅读全文
摘要:@ResponseBody @RequestMapping(value = "/images/{path}", method = RequestMethod.GET, produces = MediaType.IMAGE_JPEG_VALUE) @Cacheable("images") public
阅读全文
摘要:chrome://version http://www.nirsoft.net/utils/chrome_cache_view.html
阅读全文
摘要:https://www.iteye.com/blog/836811384-1977332 http{ proxy_cache_path /opt/cache levels=1:2 keys_zone=STATIC:10m inactive=96h max_size=40g; server { lis
阅读全文
摘要:最近被压力测试搞得不安宁,最后成绩单还算不错。 几个非常改善性能的点: 1-- 启用压缩 浏览器默认带压缩,如果压测的时候不加这个header,那相当于下棋让对方一个车马炮。 2-- ForkJoinPoll大小 System.setProperty("java.util.concurrent.Fo
阅读全文
摘要:https://www.jianshu.com/p/be2c09cd27d8 #缓存的名称集合,多个采用逗号分割 spring.cache.cache-names= #缓存的类型,官方提供了很多,这里我们填写redis spring.cache.type= #是否缓存null数据,默认是false
阅读全文
摘要:RedisTemplate:通过RedisTemplate获取字节数组(byte[]) 原文:https://www.codeleading.com/article/27755177535/ public byte[] get(byte[] key) { // 使用了lambda表达式 return
阅读全文
摘要:好用,win/linux都用,速度非常快,命令行 cloc targetDir --exclude-dir=node-modules https://github.com/AlDanial/cloc 这个简单用用吧 https://www.codeproject.com/Articles/1681/
阅读全文
摘要:https://www.cnblogs.com/keerya/p/7612715.html 实践成功! 在本地机器执行: ssh -L 本地机器端口AAA:目标机器:目标机器ssh端口 root@跳板机host-ip等 然后在本地机器执行: ssh 目标机器用户@localhost:本地机器端口AA
阅读全文
摘要:https://flaviocopes.com/axios-send-authorization-header/
阅读全文
摘要:本地使用自签名证书实现https https://imagineer.in/blog/https-on-localhost-with-nginx/ https://www.digitalocean.com/community/tutorials/how-to-create-a-self-signed
阅读全文
摘要:ch.qos.logback.classic.Logger logger = (ch.qos.logback.classic.Logger) LoggerFactory.getLogger(Logger.ROOT_LOGGER_NAME); logger.setLevel(Level.INFO);
阅读全文
摘要:最近调试springboot的启动过程.看各种事件. ServletWebServerApplicationContext.onRefresh -->createWebServer() -->this.webServer = factory.getWebServer(getSelfInitializ
阅读全文
摘要:Springboot2.0.3 release.jar spring.factories //////////////////////////////////////////////////////////////////////////////////////////// # PropertySo
阅读全文
摘要:http://www.brendangregg.com/linuxperf.html 这个图好棒
阅读全文