Clone all github repos
function git.github.clone.organization() {
if [ $# -ne 0 ]
then
mkdir $1
cd $1
curl -s https://api.github.com/orgs/$1/repos?per_page=200 | ruby -rubygems -e 'require "json"; JSON.load(STDIN.read).each { |repo| %x[git clone #{repo["ssh_url"]} ]}'
else
echo "git.github.clone.organization <organization>"
fi
}