Shell snippet to kill every application I have open on OS X
I use this snippet to kill every application that I have open whenever I become a little overwelmed with how many applications I have open. Having a ton of ram is nice because you never really run out of it as long as you're smart with it but, sometimes its necessary to just clean house really quick to get that initial level of focus when you first start the system back.
kill -9 `ps -ax | grep Applications | grep -v -e "System" | awk '{print $1}'`