Skip to content

Instantly share code, notes, and snippets.

View tylerhunt's full-sized avatar

Tyler Hunt tylerhunt

View GitHub Profile
@sco
sco / gist:832414
Created February 17, 2011 19:13
Simple chronologic example
# Get an instance of the Chronologic client
chronologic = Chronologic::Client.new
# Cache metadata for users, spots, etc.
chronologic.object(:user_1, {:name => 'Scott Raymond'})
chronologic.object(:user_2, {:name => 'Josh Williams'})
chronologic.object(:spot_1, {:name => 'Gowalla HQ'})
# Create subscriptions when one user follows another, etc.
chronologic.subscribe(:user_2_friends, :user_1)
@protocool
protocool / caveatPatchor.js
Created February 14, 2011 02:29
Sample caveatPatchor.js file for use in Propane 1.1.2 and above
/*
As of version 1.1.2, Propane will load and execute the contents of
~Library/Application Support/Propane/unsupported/caveatPatchor.js
immediately following the execution of its own enhancer.js file.
You can use this mechanism to add your own customizations to Campfire
in Propane.
Below you'll find two customization examples.