Skip to content

Instantly share code, notes, and snippets.

View GhalyahFA's full-sized avatar
🎯
Focusing

Ghalyah Al-Ansari GhalyahFA

🎯
Focusing
View GitHub Profile
Presidency President Wikipedia Entry Took office Left office Party Portrait Thumbnail Home State
1 George Washington http://en.wikipedia.org/wiki/George_Washington 30/04/1789 4/03/1797 Independent GeorgeWashington.jpg thmb_GeorgeWashington.jpg Virginia
2 John Adams http://en.wikipedia.org/wiki/John_Adams 4/03/1797 4/03/1801 Federalist JohnAdams.jpg thmb_JohnAdams.jpg Massachusetts
3 Thomas Jefferson http://en.wikipedia.org/wiki/Thomas_Jefferson 4/03/1801 4/03/1809 Democratic-Republican Thomasjefferson.gif thmb_Thomasjefferson.gif Virginia
4 James Madison http://en.wikipedia.org/wiki/James_Madison 4/03/1809 4/03/1817 Democratic-Republican JamesMadison.gif thmb_JamesMadison.gif Virginia
5 James Monroe http://en.wikipedia.org/wiki/James_Monroe 4/03/1817 4/03/1825 Democratic-Republican JamesMonroe.gif thmb_JamesMonroe.gif Virginia
6 John Quincy Adams http://en.wikipedia.org/wiki/John_Quincy_Adams 4/03/1825 4/03/1829 Democratic-Republican/National Republican JohnQuincyAdams.gif thmb_JohnQuincyAdams.gif
@GhalyahFA
GhalyahFA / mass_delete.py
Created June 18, 2019 07:21
python script to mass delete repos using github api
import requests
repo_names= []
headers={"Authorization":"token YOURTOKEN"}
[repo_names.append("REPO_PREFIX"+ str(i)) for i in range(X,Y)]
for r in repo_names:
url= "https://api.github.com/repos/GhalyahF/"+r
r=requests.delete(url,headers=headers)