Skip to content

Instantly share code, notes, and snippets.

View lethalbit's full-sized avatar
😼
ニャー

Aki lethalbit

😼
ニャー
View GitHub Profile
@lethalbit
lethalbit / garchive.py
Created January 27, 2016 03:41
A quick and dirty repo cloner
#!/usr/bin/python3
import sys, os, json, urllib.request, subprocess
api_url = "https://api.github.com"
def garchive(username, org):
adir = "./garchive-"+username
if not os.path.exists(adir):
os.makedirs(adir)
os.chdir(adir)