Created
February 3, 2011 19:16
-
-
Save oleander/809988 to your computer and use it in GitHub Desktop.
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
alias gp='git push origin master' | |
alias gph='git push heroku master' | |
alias gs='git status' | |
alias cr='cd /Users/linus/Documents/Projekt/' | |
alias r='cr && cd Rubyfy' | |
alias gph='git push heroku master' | |
alias l='heroku logs | tail -n 100 | mate' | |
alias start='sudo rails s --debugger -p 80' | |
alias deploy='rake deploy:heroku' | |
alias b='bundle install' | |
alias m='cr && cd Movify' | |
alias k='kill -9' | |
alias gc='git checkout' | |
alias gcp='git cherry-pick' | |
alias gd='git diff --stat' | |
alias gpo='git push origin' | |
alias gb='git branch' | |
alias ee='mvim' | |
alias cs='nohup coffee -wco public/javascripts/ app/coffeescripts/*.coffee | noty > /dev/null & echo $! > tmp/pids/coffee.pid' | |
alias kcs='kill -9 `cat tmp/pids/coffee.pid` && echo "CoffeeScript pid `cat tmp/pids/coffee.pid` dödad"' | |
alias flush='dscacheutil -flushcache' | |
alias pull='git pull origin master' | |
alias chalmers="ssh -Y [email protected]" | |
alias m='pp Movify' | |
alias ua='pp UndertexterApp' | |
alias v='ruby -v' | |
# alias ruby='ruby-1.9.2-p0' | |
# Laddar om alla inställningar | |
alias s='source ~/.bash_profile' | |
alias e='mate ~/.bash_profile' | |
# MacPorts Installer addition on 2010-07-15_at_01:07:55: adding an appropriate PATH variable for use with MacPorts. | |
export PATH=/opt/local/bin:/opt/local/sbin:/usr/local/CrossPack-AVR/bin:~/.rvm/bin/:$PATH | |
export MANPATH=/usr/local/CrossPack-AVR/man:$MANPATH | |
export C_INCLUDE_PATH=/usr/local/CrossPack-AVR/include:$C_INCLUDE_PATH | |
export RUBYOPT=rubygems | |
PS1='\n\w $(vcprompt) \n→ ' | |
function pp() { | |
cr && cd $* | |
} | |
function gg() { | |
git add . && git commit -v -a -m "$*" | |
} | |
function burn(){ | |
avrdude -p m88 -c stk500 -P /dev/cu.PL2303-00004006 -e -U flash:w:main.rom | |
} | |
function compile(){ | |
avr-gcc -O1 main.c -mmcu=atmega88 -o main.rom -I /usr/local/CrossPack-AVR/include/simulavr/ | |
} | |
function cb(){ | |
compile && burn | |
} | |
function not(){ | |
growlnotify -m "$*" | |
} | |
# Togglar mellan de olika ruby-versionerna | |
function t(){ | |
if [[ `ruby -v` == *1.9.2* ]] | |
then | |
rvm use 1.8.7 >> /dev/null | |
echo "==> 1.8.7" | |
else | |
rvm use 1.9.2 >> /dev/null; | |
echo "==> 1.9.2"; | |
fi | |
} | |
if [[ -s /Users/linus/.rvm/scripts/rvm ]] ; then source /Users/linus/.rvm/scripts/rvm ; fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment