Skip to content

Instantly share code, notes, and snippets.

@gjyoung1974
Created September 1, 2019 18:32
Show Gist options
  • Save gjyoung1974/de4738d418aedda6cf758507579a6383 to your computer and use it in GitHub Desktop.
Save gjyoung1974/de4738d418aedda6cf758507579a6383 to your computer and use it in GitHub Desktop.
GITHUB_TOKEN="token"
export PS1="\[\e[34m\]\u\[\e[m\]\[\e[35m\]@\[\e[m\]\[\e[32m\]\h\[\e[m\]:\[\e[36m\]\w\[\e[m\]\[\e[33m\]\[\e[m\]:\\$\[\e[m\] "
alias dockerrm='docker rmi -f $(docker images -a -q)'
vpn()
{
sudo charon-cmd \
--host vpn.server.net \
--esp-proposal aes256gcm16 \
--ike-proposal aes256gcm16-prfsha256-ecp384 \
--identity username \
--cert /etc/pki/ca-trust/source/anchors/someca.pem.txt
}
weather()
{
curl wttr.in?0
}
ad()
{
ssh bastion-ad -L 127.0.0.1:13389:172.16.100.12:3389 -L 127.0.0.1:11389:172.16.100.4:389 -L 127.0.0.1:11636:some.ip.addy.n:636
}
export DRONE_SERVER=https://URL
export DRONE_TOKEN=""
alias kc='/usr/local/bin/kubectl'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment