Skip to content

Instantly share code, notes, and snippets.

View scottrobertson's full-sized avatar

Scott Robertson scottrobertson

View GitHub Profile
ssh username@server.com
sudo echo "deb http://repo.ajenti.org/debian main main" >> /etc/apt/sources.list.d/ajenti.list
wget http://repo.ajenti.org/debian/key -O- | sudo apt-key add -
sudo apt-get update
sudo apt-get install ajenti
/etc/ajenti/ajenti.conf
deploy master
# Git
alias git status='nocorrect git status'
alias master='git checkout master'
alias pull='git pull'
alias push='git push'
function feature {
EXISTS=$(git branch | grep feature/$1)
@scottrobertson
scottrobertson / sublime.json
Created August 19, 2013 13:19
My Default Sublime Settings
{
"draw_white_space": "all",
"ensure_newline_at_eof_on_save": true,
"translate_tabs_to_spaces": true,
"trim_trailing_white_space_on_save": true,
"spell_check": true,
"highlight_line": true,
"fold_buttons": false,
"highlight_modified_tabs": true
}
@scottrobertson
scottrobertson / gist.sh
Created August 29, 2013 14:59
Quick gist bash function
function g {
if [ -f $1 ];
then
GIST=$(gist $1)
else
GIST=$(gist <<< $1)
fi
echo $GIST | pbcopy