Skip to content

Instantly share code, notes, and snippets.

Tim Haines timhaines

Block or report user

Report or block timhaines

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@tmeasday
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)
@flush()
# these two should never happen
changed: (obj) =>
@gotwalt
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 = "https://api.twitter.com/1/account/verify_credentials.json"
oauth = {
:access_key => "account_access_key",
:access_secret => "account_access_secret",
You can’t perform that action at this time.