Skip to content

Instantly share code, notes, and snippets.

@tonybyrne
tonybyrne / 0_reuse_code.js
Created January 20, 2014 15:54
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
def results
@venues = Hashie::Mash.new(client.search_venues(:ll => coords, :query => @venue))
# Checking the imagery
threads = []
@venues.groups.first.items.each do |check|
threads << image_check(check.id)
end
threads.each{|thread| thread.join}
@responses = threads.map(&:value)
end