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
| def what_is_gist | |
| "A bad ass version-able pastebin" | |
| 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
| # = 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') |
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
| user, project = ARGV # 'tobi', 'liquid' | |
| `git clone [email protected]:#{user}/#{project}/wiki.git` |

