导航

2021年12月2日

摘要: 不废话,上排序前后对比: 类似与windows的目录文件排序,分几种版本C++/C#/JAVA给大家: 1、Java版 package com.eam.util;/* * The Alphanum Algorithm is an improved sorting algorithm for stri 阅读全文

posted @ 2021-12-02 13:48 WinChance 阅读(401) 评论(0) 推荐(0)

2021年11月12日

摘要: 1、查询关键字前后30行 cat 日志文件名.log | grep -30 ‘关键字’ 例: cat mcs-all.log | grep -30 ‘2019-04-08 13:30:04,271’ 2、查询两个关键字同时出现 cat 日志文件名.log | grep ‘关键字1’ | grep ‘ 阅读全文

posted @ 2021-11-12 10:56 WinChance 阅读(250) 评论(0) 推荐(0)

2021年9月30日

摘要: 1、SSH连接目标主机,找到对应容器ID docker ps | grep eam 2、进入容器,并启用bash docker exec -it 01c6ab243ff4 /bin/bash 3、按Arthas文档,分析服务 monitor -c 60 *Controller* * '#cost > 阅读全文

posted @ 2021-09-30 09:56 WinChance 阅读(70) 评论(0) 推荐(0)

2021年9月23日

摘要: TODO:需要学习的命令 jps jstat -gcutil pid xxxx jmap histo:live pid 阅读全文

posted @ 2021-09-23 11:48 WinChance 阅读(26) 评论(0) 推荐(0)

2021年9月8日

摘要: #RabbitMQ基本概念 消息队列之 RabbitMQ 阅读全文

posted @ 2021-09-08 09:42 WinChance 阅读(29) 评论(0) 推荐(0)

2021年7月29日

摘要: 结论: Spring validation验证框架对入参实体进行嵌套验证必须在相应属性(字段)加上@Valid而不是@Validated Spring Validation验证框架对参数的验证机制提供了@Validated(Spring's JSR-303规范,是标准JSR-303的一个变种),ja 阅读全文

posted @ 2021-07-29 14:46 WinChance 阅读(172) 评论(0) 推荐(0)

2021年6月27日

摘要: 阅读全文

posted @ 2021-06-27 17:06 WinChance 阅读(38) 评论(0) 推荐(0)

2021年6月8日

摘要: IntelliJ IDEA 统一设置编码为utf-8编码 问题一: File->Settings->Editor->File Encodings 网上的方法大部分都是错的,上图的单选框应该取消!! 参考文章: https://blog.csdn.net/m0_38132361/article/det 阅读全文

posted @ 2021-06-08 10:18 WinChance 阅读(380) 评论(0) 推荐(0)

2021年3月26日

摘要: 1) 先在“服务器配置”里,把配置停用。 2) 在自定义菜单里配置菜单。 3) 然后“服务器配置”里,把配置启用。这时候配置的菜单就失效了,不过不要紧。 4) 点“添加功能插件”,添加“自定义菜单”,点击启用。 参考:http://init.org.cn/show.php?id=140 阅读全文

posted @ 2021-03-26 10:38 WinChance 阅读(575) 评论(0) 推荐(0)

2021年1月28日

摘要: 1、postgres中with用法的官方文档地址 http://www.postgres.cn/docs/10/queries-with.html 2、有一张表biz_ticket,建表语句如下 CREATE TABLE "public"."biz_ticket" ( "id" int4 DEFAU 阅读全文

posted @ 2021-01-28 11:35 WinChance 阅读(2304) 评论(1) 推荐(2)