Skip to content

Instantly share code, notes, and snippets.

@blakewrege
Last active October 1, 2015 01:23
Show Gist options
  • Save blakewrege/477a70ad9332ce84e511 to your computer and use it in GitHub Desktop.
Save blakewrege/477a70ad9332ce84e511 to your computer and use it in GitHub Desktop.
bash aliases
alias ,edit-alias='nano .bashrc'
alias ,processes='ps -u gigglesbw4'
alias ,webcam2="scp cclub@141.218.117.219:~/misc/image.jpg /home/members/gigglesbw4/www"
alias ,webcam="scp cclub@141.218.117.219:/tmp/cclub/webcam.jpg /home/members/gigglesbw4/www"
alias shrek='ssh shrek.dhcp.io -l cclub'
alias millenniumfalcon='ssh shrek.dhcp.io -p 9000 -l cclub'
alias uglyduck='ssh shrek.dhcp.io -p 9010 -l administrator'
alias ralph='ssh shrek.dhcp.io -p 9030 -l cclub'
alias cloudcanary='ssh t4ls.duckdns.org -l cclub'
alias blakepi='ssh pi@t4ls.duckdns.org -p 9100'
alias cflock='ssh shrek.dhcp.io -p 5022 -l cclub'
alias vulnerablevulture='ssh shrek.dhcp.io -p 6022 -l cclub'
function lazygit() {
git add .
git commit -a -m "$1"
git push
}
function forcepull() {
git fetch --all
git reset --hard origin/master
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment