snippet fix
This commit is contained in:
@@ -0,0 +1 @@
|
||||
/config.json
|
||||
@@ -0,0 +1,26 @@
|
||||
[
|
||||
{
|
||||
"subText" : "cmd|ps -aux grep server |查看服务名 ",
|
||||
"text" : "ps -aux|grep server"
|
||||
},
|
||||
{
|
||||
"subText" : "cmd|lsof -i:8080 |查看端口占用 ",
|
||||
"text" : "lsof -i:8080"
|
||||
},
|
||||
{
|
||||
"subText" : "cmd|tar -zcvf dist.tar.gz dist |压缩 ",
|
||||
"text" : "tar -zcvf dist.tar.gz dist"
|
||||
},
|
||||
{
|
||||
"subText" : "cmd|tar -zxvf dist.tar.gz |解压 ",
|
||||
"text" : "tar -zxvf dist.tar.gz"
|
||||
},
|
||||
{
|
||||
"subText" : "docker|docker speedtest | docker测速,9001端口 ",
|
||||
"text" : "docker run --restart=always -d -p 9001:80 -it badapple9\/speedtest-x"
|
||||
},
|
||||
{
|
||||
"subText" : "go|go build | golang 交叉编译为linux ",
|
||||
"text" : "CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o server main.go"
|
||||
},
|
||||
]
|
||||
Reference in New Issue
Block a user