-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathops
executable file
·26 lines (15 loc) · 936 Bytes
/
ops
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
git commit --amend --author="pshi <[email protected]>" --no-edit
git config user.name "pshi"
git config user.email "[email protected]"
:BundleInstall
:Go
:Ycm
the logic used to debug: vim -> vim-plugins (Ycm writen in python, client of gocode server )-> gocode/godef (gocode server, listen on request for syntax completions) -> go compiler
golang version 1.11 is not good for gocode completer; better use version 1.10
be careful with python version, because vim-plugins(ycm) is written in python
using wireshark in Mac-OS to capture distant traffic ...
ssh root@remote-host ‘/usr/sbin/dumpcap -w - -f "not port 22” ‘ | wireshark -k -i -
build from docker Mac-OS
path set in docker preference file sharing.
chmod -R 755 project
docker run --rm --privileged=true -u root:root -v /usr/local/go:/go 5b1054129196 sh -c "cd /go/src/github.com/bretagne-peiqi/lvs-nginx-controller/cmd/lvs-controller && go build main.go"