This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # ssh shortcuts | |
| alias acerShell='ssh randy@192.168.1.9 -p 3141' | |
| alias awsIofogShell='ssh ubuntu@13.59.38.225' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # pycache cleaner | |
| export PYTHONDONTWRITEBYTECODE=1 | |
| pyclean () { | |
| find . -regex '.*\(__pycache__\|\.py[co]\)' | xargs rm -rf | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Golang setup | |
| export GOVERSION=$(brew list go | head -n 1 | cut -d '/' -f 6) | |
| export GOROOT=$(brew --prefix)/Cellar/go/${GOVERSION}/libexec | |
| export GOPATH="$HOME/go" | |
| export PATH=$PATH:$GOPATH/bin | |
| export GOPATH="$GOPATH:$(echo ~)/projects/tempus-edge/lib/go" | |
| export GOPATH="$GOPATH:$(echo ~)/projects/tempus-edge/applications/mqtt-client-go" | |
| export GOPATH="$GOPATH:$(echo ~)/projects/tempus-edge/protobuf-definitions/go-protobuf-output" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # git shortcuts | |
| alias branch='git branch' | |
| alias gs='git status' | |
| alias gcam='git commit -am' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # k8s shortcuts | |
| alias kbaws='kubectl --kubeconfig ~/.kube/aws.secure.kubeconfig' | |
| alias kbmin='kubectl --kubeconfig ~/.kube/minikube.kubeconfig' | |
| # docker shortcuts | |
| alias drun='docker run -it --rm' | |
| alias drm='docker rm -f' | |
| alias drmi='docker rmi' | |
| alias dps="docker ps --format 'table {{.Names}}\t{{.Image}}\t{{.Ports}}' -a" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # colorize / verticalize ls | |
| alias ls='ls -G1' | |
| # cd shortcuts | |
| alias te='cd ~/projects/tempus-edge' | |
| alias tde='cd ~/projects/TempusDevEnvironment' | |
| alias hloom='cd ~/projects/Heirloom' | |
| alias ..='cd ..' |
NewerOlder