Skip to content

Instantly share code, notes, and snippets.

@jm3
Last active August 29, 2015 14:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jm3/f827ab76dce1384763db to your computer and use it in GitHub Desktop.
Save jm3/f827ab76dce1384763db to your computer and use it in GitHub Desktop.
#!/usr/bin/env ruby
require 'rubygems'
require 'octokit'
client = Octokit::Client.new(:login => ENV['OCTOKIT_USER'], :password => ENV['OCTOKIT_PASS'])
repo_urls = client.organization_repositories('140proof', :per_page => 100).map(&:git_url)
urls = {:active => [], :retired => []}
repo_urls.each do |repo_url|
urls[:active].push repo_url if repo_url !~ /RETIRED/
urls[:retired].push repo_url if repo_url =~ /RETIRED/
end
puts "# #{urls[:active].size} active repos"
urls[:active].each do |u| puts u; end
puts "# #{urls[:retired].size} retired repos"
urls[:retired].each do |u| puts u; end
# 66 active repos
git://github.com/140proof/140proof.github.com.git
git://github.com/140proof/280.140proof.com.git
git://github.com/140proof/aklust.git
git://github.com/140proof/api.140proof.com.git
git://github.com/140proof/audience-api.git
git://github.com/140proof/badass-chrome-image-ad-generator.git
git://github.com/140proof/BAP.git
git://github.com/140proof/batch-profiling.git
git://github.com/140proof/boxen.git
git://github.com/140proof/Bright-Roll-Tools.git
git://github.com/140proof/caploy.git
git://github.com/140proof/chef-140proof-vpc.git
git://github.com/140proof/chef-repo.git
git://github.com/140proof/cloudformation-recipes.git
git://github.com/140proof/couchbase.git
git://github.com/140proof/d3-drift.git
git://github.com/140proof/data-viz-contest.git
git://github.com/140proof/deploy-demo.git
git://github.com/140proof/dlx-report-tool.git
git://github.com/140proof/eng-log.git
git://github.com/140proof/eng-wiki.git
git://github.com/140proof/geo-api.git
git://github.com/140proof/geokit-rails.git
git://github.com/140proof/git-friendly.git
git://github.com/140proof/globalTiger.git
git://github.com/140proof/greater.js.git
git://github.com/140proof/groupify-remote.git
git://github.com/140proof/groupify.git
git://github.com/140proof/hackdeployscale.140proof.com.git
git://github.com/140proof/hdwplayer-commercial.git
git://github.com/140proof/hose.git
git://github.com/140proof/iklust.git
git://github.com/140proof/inc.git
git://github.com/140proof/interest-graph-api.git
git://github.com/140proof/interest-graph-scripts.git
git://github.com/140proof/interest-graph.git
git://github.com/140proof/labs.git
git://github.com/140proof/lua-nginx-auth.git
git://github.com/140proof/maintmode.git
git://github.com/140proof/monetization-libraries.git
git://github.com/140proof/next-holiday.git
git://github.com/140proof/node-api-template.git
git://github.com/140proof/node-credential-api.git
git://github.com/140proof/node-credential-wrapper.git
git://github.com/140proof/node-mysql.git
git://github.com/140proof/ntwitter.git
git://github.com/140proof/ofpdash.git
git://github.com/140proof/ops-api.git
git://github.com/140proof/OSS-health.git
git://github.com/140proof/personas-loader.git
git://github.com/140proof/proofbot.git
git://github.com/140proof/rails_autolink.git
git://github.com/140proof/rspec-api-test.git
git://github.com/140proof/sidekiq_status.git
git://github.com/140proof/sidetiq.git
git://github.com/140proof/spark.git
git://github.com/140proof/tigerVis.git
git://github.com/140proof/twitter-proxy.git
git://github.com/140proof/twitter_api_node.git
git://github.com/140proof/twitter_api_wrapper.git
git://github.com/140proof/uuid_research.git
git://github.com/140proof/vac-frontend-design.git
git://github.com/140proof/vac-frontend.git
git://github.com/140proof/wip-blog-ads.git
git://github.com/140proof/wrapupbackfill.git
git://github.com/140proof/www.140proof.com.git
# 31 retired repos
git://github.com/140proof/RETIRED-admin.140proof.com.git
git://github.com/140proof/RETIRED-betyourfollowers.com.git
git://github.com/140proof/RETIRED-common.git
git://github.com/140proof/RETIRED-echo-follow.git
git://github.com/140proof/RETIRED-export-ofp-to-neo4j.git
git://github.com/140proof/RETIRED-facebook.git
git://github.com/140proof/RETIRED-gophergala-ideas.git
git://github.com/140proof/RETIRED-impression-job-maker.git
git://github.com/140proof/RETIRED-impression-job-processor.git
git://github.com/140proof/RETIRED-inflatable-giant.git
git://github.com/140proof/RETIRED-interest-optimizer.git
git://github.com/140proof/RETIRED-kue.git
git://github.com/140proof/RETIRED-LandingPageLoadtimeTest.git
git://github.com/140proof/RETIRED-mr-dashboard.git
git://github.com/140proof/RETIRED-node-firehose.git
git://github.com/140proof/RETIRED-node-foursquare-miner.git
git://github.com/140proof/RETIRED-node-geo-api.git
git://github.com/140proof/RETIRED-node-kue-tools.git
git://github.com/140proof/RETIRED-node-ops-api.git
git://github.com/140proof/RETIRED-node-proof-scraper.git
git://github.com/140proof/RETIRED-node-throttle.git
git://github.com/140proof/RETIRED-node-toolbox.git
git://github.com/140proof/RETIRED-node-twittermine-export.git
git://github.com/140proof/RETIRED-node-twittermine.git
git://github.com/140proof/RETIRED-pinterest-metafy-proxy.git
git://github.com/140proof/RETIRED-pinterestparty.git
git://github.com/140proof/RETIRED-riverpig.git
git://github.com/140proof/RETIRED-targeting-demo.git
git://github.com/140proof/RETIRED-torpedo.git
git://github.com/140proof/RETIRED-twitter_node_tools.git
git://github.com/140proof/RETIRED-vagabond.git
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment