Public Gists by monkeyhelper

Gravatar
Thu Nov 12 07:52:16 -0800 2009
1
2
3
development: &global_settings
  database: textual_development
  host: 127.0.0.1
Gravatar
Mon Sep 07 04:28:46 -0700 2009
1
2
3
# Adjust sessions so they work across subdomains
# This also will work if your app runs on different TLDs
 
gist: 178993 Command line oauth authorizer
Gravatar
Tue Sep 01 01:57:05 -0700 2009
1
2
3
#!/usr/bin/ruby
 
require 'rubygems'
gist: 178695 Google muddy indexer
Gravatar
Mon Aug 31 13:38:01 -0700 2009
1
2
3
#!/usr/bin/ruby
 
require 'rubygems'
Gravatar
Mon Aug 03 02:28:58 -0700 2009
1
2
3
#!/usr/bin/env ruby
# put in /etc/munin/plugins and restart munin-node
# by Dan Manges, http://www.dcmanges.com/blog/rails-application-visualization-with-munin
Gravatar
Mon Aug 03 02:28:54 -0700 2009
1
2
3
#!/usr/bin/env ruby
 
def output_config
gist: 143944 test/test_associations.rb
Gravatar
Thu Jul 09 12:39:18 -0700 2009
1
2
3
require 'test_helper'
 
module Thing
gist: 128149 Diff for oauth gem vs github
Gravatar
Thu Jun 11 11:52:00 -0700 2009
1
2
3
robl@fry:/usr/lib/ruby/gems/1.8/gems$ diff oauth-0.3.5/lib/oauth/consumer.rb /tmp/oauth/lib/oauth/consumer.rb
3d2
< require 'oauth/oauth'
Gravatar
Thu Jun 11 09:06:49 -0700 2009
1
2
3
# hash to query string
$ irb
>> hash = {1=>1,2=>2,3=>3}