Skip to content

Instantly share code, notes, and snippets.

@redrory
Created September 5, 2011 11:28
Show Gist options
  • Save redrory/1194741 to your computer and use it in GitHub Desktop.
Save redrory/1194741 to your computer and use it in GitHub Desktop.
Current project
params[:username] ||= 'redrory'
list = Net::HTTP.get URI.parse("http://github.com/api/v2/yaml/repos/show/#{params[:username]}")
@repos = YAML::load(list)["repositories"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment