Skip to content

Instantly share code, notes, and snippets.

@jasonknebel
Last active April 28, 2022 01:33
Show Gist options
  • Save jasonknebel/190d63a8bd4ef96629a578950f7fb16a to your computer and use it in GitHub Desktop.
Save jasonknebel/190d63a8bd4ef96629a578950f7fb16a to your computer and use it in GitHub Desktop.
alias open="xdg-open"
alias ll='ls -alF'
alias la='ls -A'
alias l='ls -CF'
alias reload="source ~/.bashrc"
alias profile="vim ~/.bashrc && source ~/.bashrc"
alias ..="cd .."
alias show-ports="sudo netstat -tulpn"
alias co="git checkout"
alias d="git diff"
alias dc="git diff --cached"
alias s="echo ''; git status -sb; echo ''"
alias c="git commit"
alias ca="git commit -a"
alias aa="git commit -a --amend"
alias glog="git log --graph --pretty=format:'%Cred%h%Creset %an: %s - %Creset %C(yellow)%d%Creset %Cgreen(%cr)%Creset' --abbrev-commit --date=relative --max-count=20"
alias branch="git branch"
alias merge="git merge --no-ff"
alias wip="git add . ; git commit -m 'WIP'"
alias uwip="git reset HEAD~1"
alias rails="bundle exec rails"
alias rake="bundle exec rake"
alias guard="bundle exec guard"
alias rspec="bundle exec rspec"
alias sidekiq="bundle exec sidekiq"
alias foreman="bundle exec foreman start"
alias kc="kubectl"
alias docker="sudo docker"
alias docker-compose="sudo docker-compose"
# Cheddar
alias console="kubectl exec -it -n cheddar $(kubectl get pod -l app=api-console -o jsonpath='{.items[0].metadata.name}') -- /bin/sh"
# Wine Programs
alias chitubox="wine 'C:\Program Files\ChiTuBox64 1.6.1\CHITUBOX.exe'"
alias photon="wine 'C:\Program Files (x86)\Photon_WorkShop_V2.1.19\Photon_Workshop_V2.1.19.exe'"
alias watch-wifi="watch -n 1 cat /proc/net/wireless"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment