Skip to content

Instantly share code, notes, and snippets.

View w4's full-sized avatar
☄️
😩

jordan w4

☄️
😩
View GitHub Profile
@w4
w4 / github_scanner.py
Last active December 1, 2015 16:24
Scan through combinations of github names and check the availability of said names
from itertools import product
from sys import argv
from random import shuffle
from urllib.request import urlopen
from urllib.error import HTTPError
def main(args):
letters = ['a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u',
'v', 'w', 'x', 'y', 'z', '0', '1', '2', '3', '4', '5', '6', '7', '8', '9']