平时工作使用到的idea快捷键或者工作技巧 会不断更新,只要用到了都会记录下来
//alt+enter 导入包
//alt+insert快速生成setter和getter
//ctrl+alt+l格式化代码
//快速生成文档注释:/**然后回车即可
//alt+enter 实现接口时导入全部的方法
//向上插入空行:ctrl+alt+enter
//向下插入空行:shift+enter
在windows中查找端口号为n的进程
netstat -ano | findstr 8080
//杀死端口号为n的进程,-f强制杀死
taskkill /pid 6148 -f
使用dos命令启动mysql服务
net start mysql //启动mysql服务
net stop mysql// 停止mysql服务
net start 服务名
使用ssh远程登录linux服务器
ssh username@ip即可。
linux下快速切换到历史命令:ctrl+R 然后输入一些模糊的命令 然后按tab键快速定位。
history查看历史命令,也就是查看之前操作了那些命名。
转载于:https://www.cnblogs.com/jasonboren/p/11395533.html
相关资源:JAVA上百实例源码以及开源项目