Skip to content

Instantly share code, notes, and snippets.

View maddox's full-sized avatar

Jon Maddox maddox

View GitHub Profile
@maddox
maddox / README.md
Created March 16, 2011 19:10 — forked from tmm1/README.md
user, project = ARGV # 'tobi', 'liquid'
`git clone git@github.com:#{user}/#{project}/wiki.git`
@maddox
maddox / httparty_icebox.rb
Created October 13, 2009 22:02 — forked from karmi/httparty_icebox.rb
icebox httparty caching
# = Icebox : Caching for HTTParty
#
# Cache responses in HTTParty models [http://github.com/jnunemaker/httparty]
#
# === Usage
#
# class Foo
# include HTTParty
# include HTTParty::Icebox
# cache :store => 'file', :timeout => 600, :location => MY_APP_ROOT.join('tmp', 'cache')
def what_is_gist
"A bad ass version-able pastebin"
end