-
Change your shell prefix
PS1="\e[1;32m[\\u \\w]\\$\e[m "
[ghuang ~/git/ganhuang/shell-learning]$
- Peer's certificate issuer has been marked as not trusted by the user.
git config --system http.sslverify false
-
Groovy-based DSL jenkins
- tmux
tmux -S /tmux/tmux-ghuang new -s shared
tmux -S /tmux/tmux-ghuang attach -t shared
tmux -S /var/tmux/jiajliu attach -t shared
export TMUX_GROUP=tmux
groupadd $TMUX_GROUP
mkdir /var/tmux
chgrp $TMUX_GROUP /var/tmux
chmod g+ws /var/tmux
usermod -aG $TMUX_GROUP user1
usermod -aG $TMUX_GROUP user2
-
Google Load Balancer
Need deamon: https://github.com/GoogleCloudPlatform/compute-image-packages/blob/master/google_compute_engine/ip_forwarding/ip_forwarding_daemon.py
https://stackoverflow.com/questions/10259266/what-does-proto-kernel-means-in-unix-routing-table
(cd /tmp && git clone --depth 1 --config core.autocrlf=false https://github.com/twolfson/sexy-bash-prompt && cd sexy-bash-prompt && make install) && source ~/.bashrc
:%s/\s\+$//e