Skip to content

Instantly share code, notes, and snippets.

@JeckLabs
JeckLabs / airports.json
Created September 4, 2016 20:41
Airports data
{
"SIS": {
"name": "Sishen Airport",
"country": "South Africa",
"iata": "SIS",
"lon": 22.999269,
"icao": "FASS",
"lat": -27.6486,
"timezone": "Africa/Johannesburg",
"alt": 3848
@JeckLabs
JeckLabs / watch.py
Last active September 22, 2021 11:14
Bot for checking earliest available slots at met.overseasregistrations.uk
# pip3 install requests
import requests
from datetime import datetime, timedelta
import re
import sys
import webbrowser
import time
import urllib3.exceptions
import requests.exceptions
char roman_numbers[] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
73, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
73, 73, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
73, 73, 73, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
73, 86, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
86, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
86, 73, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
86, 73, 73, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
86, 73, 73, 73, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
73, 88, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,