Skip to content

Instantly share code, notes, and snippets.


Tim Haines timhaines

View GitHub Profile
tmeasday / gist:4042603
Last active Oct 12, 2015
Meteor "Join" -- Note that this code is *not* production ready.
View gist:4042603
Meteor.publish 'paths', (since) ->
pointHandles = {}
publishPath = (pathId) =>
pointHandles[pathId] = Points.find({pathId: pathId}).observe
added: (obj) =>
@set('points', obj._id, obj)
# these two should never happen
changed: (obj) =>
gotwalt / gist:528586
Created Aug 17, 2010
Posting to twitpic in Ruby using oauth echo
View gist:528586
require "nestful"
require "roauth"
def upload(path_to_file)
twitpic_key = "my_twitpic_api_key"
oauth_url = ""
oauth = {
:access_key => "account_access_key",
:access_secret => "account_access_secret",
You can’t perform that action at this time.