Skip to content

Instantly share code, notes, and snippets.

@mboeh
Forked from steveklabnik/log.txt
Created August 21, 2012 17:18
Show Gist options
  • Save mboeh/3417482 to your computer and use it in GitHub Desktop.
Save mboeh/3417482 to your computer and use it in GitHub Desktop.
A fun shell script from #euruku
$ history 1 | awk {'print $2, $3, $4'} | sort | uniq -c | sort -k1 -rn | head -n 30
172 fg
164 git st
163 ls
72 ruby create_event_local.rb blah
62 git push
59 git pull
54 git commit -m
50 git di
47 bundle
38 git add -u
34 git pend
33 rm -r ../../db/blah.sqlite3
27 git add -up
24 sudo apt-get install
24 ssh desperance.net
24 git diff
22 vim Gemfile
22 rake spec
21 rvm ree
21 pssh ap1p
20 cdp v2
20 cd ..
18 cap v2 deploy
18 cap deploy
15 foreman start -f
15 bundle exec ruby
14 git log
12 cdp hub
11 ruby gogo.rb
11 rackup
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment