Panasonic Youth rob sanheim writes about software, business, ruby, music, stuff and things



Posts Tagged Command Line

history meme onwards…

rsanheim@ares:~$ history 1000 | awk ‘{a[$2]++}END{for(i in a){print a[i] ” ” i}}’ | sort -rn | head
71 gst
67 l
38 ****
38 c
28 git
22 ss
21 gca
13 gsd
13 :
12 rake

I like keeping it short. The 3rd one thats bleeped out is a shortcut to my main client project right now. The aliases can be found in […]


Gmail freaks out - Lynx for the win

Gmail decided to freak out on me tonight. After logging it, it would just continuously refresh the page immediately after loading. I don’t know if this means gmail is having issues, or my machine is just pissed off at me tonight, or what. It was consistent across browsers (mac ff, safari, webkit).
So […]


Deploying Locally to Mac OS X with Capistrano

Lately I’ve wanted to deploy locally to my mac using Capistrano. Not for actual deployment locally, but to test some custom tasks I was working on. Its a lot quicker and safer to run custom tasks against a local sandbox then some real server somewhere. Writing real tests for custom tasks is […]


My Command line toolkit for Ruby and Linux

Some common aliases and functions that I use, spread across various bash_login and .sh scripts. This excludes a bunch of things that are specific to SeekingAlpha, of course. A lot of this was cobbled together from similar lists and previous coworkers.

# general shortcuts
alias mv='mv -i'
alias cp='cp -i'
alias rm='rm -i'
alias :='cd ..'
alias ::='cd ../..'
alias [...]


Hacking green bar color output into Autotest

update: You don't need to do this hack anymore - the RedGreen plugin is builtin into autotest with the latest versions.
A much welcome upgrade of the indispensable autotest recently came out which speeds things up greatly, but the output was still plain test_unit output. There are now hooks to add plugins to add widgets [...]