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
#! /usr/bin/env ruby | |
# Some of the words are misspelled to help the say program pronounce them right | |
# | |
# copy the following line and paste for fun! | |
# curl -O https://gist.githubusercontent.com/mrinterweb/0ed2ac30a97e25e03fad/raw/5da7c2a012a08cfcc9649e0f410d53f8986e4990/speak.rb && mv speak.rb speak && chmod a+x speak && ./speak | |
def envlist(name, &default) | |
results = (ENV["SPEAK_#{name.to_s.upcase}"] || "").split(":") | |
results.empty? ? default.call : results | |
end |
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
$ 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 |