Skip to content

Instantly share code, notes, and snippets.

View kylewelsby's full-sized avatar
🏠
Working from home

Kyle Welsby kylewelsby

🏠
Working from home
View GitHub Profile
@kylewelsby
kylewelsby / .bash_alias
Created October 1, 2010 12:00
My terminal environment setup
# ---------------
# .bash_alias
# ---------------
alias lock='/System/Library/CoreServices/"Menu extras"/User.menu/Contents/Resources/CGSession -suspend' # Lock Computer screen
alias rpass='touch tmp/restart.txt; echo "Passenger Server Restarted"' # Restart ModRails Passenger
alias coffee="say COFFEE TIME"
alias cf='cd ~/Code' # Code folder
alias cwd='pwd | pbcopy' # Copy folder directory to ClipBoard
alias memory='top -o vsize' # System Memory Stats
<%- flash.each do |name, msg| -%>
<%= content_tag :div, msg , :id => "flash", :class => "flash_#{name}" %>
<%- end -%>