Welcome to the Arsenal wiki!
- 查询占用某端口的进程
lsof -i:3110
- 接下来继续在命令行输入 (以3110为例)
kill 1592
- GitLens
- F12 进入
- alt + command + <-
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "launch",
"name": "Launch yan omc_test_web",
"runtimeExecutable": "npm",
"runtimeArgs": [
"run",
"debug:server"
],
"port": 9229
}
]
}
- Windows系统安装Redis(详细) https://blog.csdn.net/weixin_33446857/article/details/77893896
- mac redis 安装
- 启动: redis-server /usr/local/etc/redis.conf
- nodejs各个版本 https://nodejs.org/download/release/
- nodejs和npm各版本关系 https://nodejs.org/zh-cn/download/releases/
*【grunt整合版】30分钟学会使用grunt打包前端代码
-
git撤销提交,回退记录
- git reset as345 --hard
- git push origin master:master --force
- Mac MySQL与Workbench的链接问题
- solr6.2.1配置(含mysql数据导入)
- BLOB转UTF8
SELECT CONVERT(jsontemp USING utf8) as content FROM cloud_uitemplate.uitemplate_temp where pk_temp='f38fcf40-386a-4bc7-8c83-5b5bc00b47a9';
使用命令行修改,用mysqladmin
格式:mysqladmin -u用户名 -p旧密码 password 新密码
例子:mysqladmin -uroot -p123456 password 123
INSERT INTO iuapkb
.kbIndexInfo
(title
, descript
) VALUES ('55', '66');
ALTER TABLE tablename CHANGE columname columname TEXT CHARACTER SET utf8
show full columns from iuapkb.kbIndexInfo
ALTER TABLE iuapkb.kbIndexInfo CHANGE descript descript TEXT CHARACTER SET utf8;
ALTER TABLE iuapkb.kbIndexInfo CHANGE author author TEXT CHARACTER SET utf8;
use iuapkb;
alter table kbIndexInfo
convert to character set utf8;
或者
alter table iuapkb
.kbIndexInfo
convert to character set utf8;
在bin下执行tail -f catalina.out
command+shift+T
查找类
command+T
查找接口实现
Ctrl+Alt+I
--看Java文件中变量的相关信息Ctrl+Alt+↓
复制当前行到下一行(复制增加)
Ctrl+Alt+↑
复制当前行到上一行(复制增加)
Alt+↓
当前行和下面一行交互位置(特别实用,可以省去先剪切,再粘贴了)
Alt+↑
当前行和上面一行交互位置(同上)
Alt+←
前一个编辑的页面
Alt+→
下一个编辑的页面(当然是针对上面那条来说了)
command+shift+T
查找类
command+T
查找接口实现
command+alt+←
回到光标上一处
command+alt+→
回到光标下一处
command+shift+I
查看代码片段运行结果