Created
September 21, 2012 21:14
-
-
Save bruzed/3763940 to your computer and use it in GitHub Desktop.
Clone all github repos for C4iOS examples and code
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ruby 1.8.7 | |
$ sudo gem install json | |
$ curl -s https://api.github.com/users/C4Tutorials/repos | ruby -rubygems -e 'require "json"; JSON.load(STDIN.read).each {|repo| %x[git clone #{repo["ssh_url"]} ]}' | |
$ curl -s https://api.github.com/users/C4Code/repos | ruby -rubygems -e 'require "json"; JSON.load(STDIN.read).each {|repo| %x[git clone #{repo["ssh_url"]} ]}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment