Public Gists by mwunsch

Gravatar
Fri Jul 10 22:05:14 -0700 2009
1
2
3
# 1) Point *.example.com in your DNS setup to your server.
#
# 2) Setup an Apache vhost to catch the star pointer:
gist: 111878 ActiveResource's HttpMock c...
Gravatar
Thu May 14 13:23:22 -0700 2009
1
2
3
require 'active_resource/connection'
require 'active_support/core_ext/kernel/reporting'
 
gist: 110536 Weary DSL brainstorming
Gravatar
Tue May 12 08:23:19 -0700 2009
1
2
3
# DSL method ideas (for Weary)
 
class Twitter < Weary::Base
gist: 109809 Working to build a to_hash ...
Gravatar
Sun May 10 17:37:19 -0700 2009
1
2
3
# Converting Nokogiri parsed XML to_hash
require 'nokogiri'
 
gist: 109799 ActiveSupport's Nokogiri Pa...
Gravatar
Sun May 10 17:18:30 -0700 2009
1
2
3
require 'nokogiri'
 
# = XmlMini Nokogiri implementation
gist: 108192 $LOAD_PATH
Gravatar
Thu May 07 09:25:55 -0700 2009
1
2
3
# These two lines of code kind of do the same thing.
# They both add the directory of the file the Ruby interpreter
# is currently executing to the Load Path.