摘要: ⌘ -> command⇧ -> shift⌥ -> option⌃ -> Control ⇧+⌘ +F Find in path command+O 查找类 command+shift+O 查找文件 ⌥ +⌘ +O 查找方法 阅读全文
posted @ 2020-01-17 10:02 猪是得念来过倒 阅读(123) 评论(0) 推荐(0)
摘要: Ctrl + Insert:复制 Shift + Insert:粘贴 Alt + Insert:粘贴选中内容 阅读全文
posted @ 2019-12-19 15:39 猪是得念来过倒 阅读(182) 评论(0) 推荐(0)
摘要: 撤销当前所有的commit git reset --soft HEAD~1 阅读全文
posted @ 2019-11-28 16:33 猪是得念来过倒 阅读(205) 评论(0) 推荐(0)
摘要: log4j2.xml 如下图,13-17行内配置kafka信息,以及id名字,在35行输出日志,在43行选择日志格式 需要添加依赖 阅读全文
posted @ 2019-08-30 16:38 猪是得念来过倒 阅读(2052) 评论(0) 推荐(0)
摘要: jps -l 查看java进程,一般jdk都会自带jps 查到PID后,通过 pwdx ${PID} 查看路径,如 阅读全文
posted @ 2019-08-30 16:35 猪是得念来过倒 阅读(1925) 评论(0) 推荐(0)
摘要: JAVA_HOME=/opt/jdk1.8.0_71 git pull if (( $? )) then echo "git pull failed" exit 1 else echo "git pull success" fi mvn clean install -DskipTests --settings /opt/app/repository/settings.xml if (( $? )) 阅读全文
posted @ 2019-08-30 16:33 猪是得念来过倒 阅读(1275) 评论(0) 推荐(0)
摘要: GET _search { "query":{ "match_all" : {} } } 查询某一个indexName的indexType下共有多少文档 GET /${indexName}/${indexType}/_search 其中的hits.total代表了总共有多少个命中,下面的total会枚举前十个文档 查询某一个indexName的indexType下且ip为192.168.194.2 阅读全文
posted @ 2019-08-30 16:23 猪是得念来过倒 阅读(401) 评论(0) 推荐(0)
摘要: 1、pretty json json美化工具 使用方法:Ctrl+Alt+j 格式化json Ctrl+Alt+m 返格式化 2、Alignment 等号对齐 Ctrl+Alt+A 但是和微信快捷键冲突,所以自己改成了Ctrl+Alt+Shift+A 3、Python PEP8 Autoformat 阅读全文
posted @ 2019-04-25 16:12 猪是得念来过倒 阅读(111) 评论(0) 推荐(0)
摘要: BeanUtils.copyProperties(user1,user2); 将user1中的参数,传给user2。只传两个类中都有的参数 阅读全文
posted @ 2019-04-19 16:44 猪是得念来过倒 阅读(1581) 评论(0) 推荐(0)
摘要: 全项目查找类:Ctrl+N 全项目查找文件:Ctrl+Alt+N 返回上次浏览页面:Ctrl+Alt+Left/Right 全项目查找方法:Ctrl+Alt+Shift+N 查看函数的参数 Ctrl+P 格式化代码 Ctrl+Alt+L (自动添加空格,tab等) 格式化选中代码 Ctrl+Alt+ 阅读全文
posted @ 2019-04-17 14:30 猪是得念来过倒 阅读(187) 评论(0) 推荐(0)