Skip to content

Instantly share code, notes, and snippets.

@databyte
databyte / README.md
Created July 5, 2012 13:27
github scoring app

Task:

Build a webapp where I can search for a GitHub user and see a score based on their activity.

Example URLs:

https://github.com/tenderlove.json
https://github.com/wycats.json
@databyte
databyte / parse_json.rb
Created March 11, 2013 21:19
Parse JSON from a Secure URL using Ruby
require "json"
require "net/https"
require "uri"
uri = URI.parse("https://github.com/databyte.json")
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = true
http.verify_mode = OpenSSL::SSL::VERIFY_NONE
request = Net::HTTP::Get.new(uri.request_uri)

Keybase proof

I hereby claim:

  • I am databyte on github.
  • I am databyte (https://keybase.io/databyte) on keybase.
  • I have a public key ASBhhhPiq_gLAF_i3fBiqwXzsJjjR-7H1TIG_MxmyRnwVQo

To claim this, I am signing this object: