Skip to content

Instantly share code, notes, and snippets.

View 1byte2bytes's full-sized avatar
💼
Working

Anne 1byte2bytes

💼
Working
View GitHub Profile
@1byte2bytes
1byte2bytes / ipsw_scraper.py
Last active October 12, 2019 22:01
IPSW and OTA scarping tools
import urllib.request
import time
ota_source_urls = [
'https://www.theiphonewiki.com/wiki/Firmware/iPod_touch/1.x', 'https://www.theiphonewiki.com/wiki/Firmware/iPod_touch/2.x',
'https://www.theiphonewiki.com/wiki/Firmware/iPod_touch/3.x', 'https://www.theiphonewiki.com/wiki/Firmware/iPod_touch/4.x',
'https://www.theiphonewiki.com/wiki/Firmware/iPod_touch/5.x', 'https://www.theiphonewiki.com/wiki/Firmware/iPod_touch/6.x',
'https://www.theiphonewiki.com/wiki/Firmware/iPod_touch/7.x', 'https://www.theiphonewiki.com/wiki/Firmware/iPod_touch/8.x',
'https://www.theiphonewiki.com/wiki/Firmware/iPod_touch/9.x', 'https://www.theiphonewiki.com/wiki/Firmware/iPod_touch/10.x',
'https://www.theiphonewiki.com/wiki/Firmware/iPod_touch/11.x', 'https://www.theiphonewiki.com/wiki/Firmware/iPod_touch/12.x',
@1byte2bytes
1byte2bytes / war.py
Last active December 8, 2015 22:35
Python War v0.2
import random
import time
def donothing():
return
#13 cards per suite
#Define cards in deck
temp_fulldeck = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13,
1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13,