Skip to content

Instantly share code, notes, and snippets.

View blech's full-sized avatar

Paul Mison blech

View GitHub Profile
KAILUA, HAWAII
Location: W157°44'24.0", N21°24'00.0", 0m
(Longitude referred to Greenwich meridian)
Time Zone: 10h 00m west of Greenwich
Jupiter
Date Rise Az. Transit Alt. Set Az.
(Zone)

timeslice.py - a script for generating timeslices from videos

@blech
blech / timeslice.py
Last active September 14, 2015 04:14
#!/usr/bin/env python
import argparse
import os
import sys
from PIL import Image
parser = argparse.ArgumentParser()
parser.add_argument('--reverse',
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@blech
blech / README.md
Last active August 29, 2015 13:57
LEO vs geostationary

Geostationary (black), semi-synchronous (grey) and low earth (red) orbits compared.

@blech
blech / caltrain.geojson
Last active August 29, 2015 13:56 — forked from anonymous/overpass.geojson
Caltrain, from OSM via Overpass
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@blech
blech / caltrain.geojson
Last active December 3, 2015 08:00
Caltrain Ridership
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@blech
blech / london-railway-subway.geojson
Last active August 29, 2015 13:56 — forked from anonymous/overpass.geojson
OSM's railway=subway for London, from Overpass
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@blech
blech / backup-path-moments.py
Created December 27, 2013 06:38
A start on archiving data from Path
# requirements
# biplist==0.6
# requests==2.1.0
import json
import requests
from biplist import readPlist
from requests.auth import HTTPBasicAuth
@blech
blech / netflix-genre-crawl.py
Last active November 11, 2022 22:23
Fetch genre names from Netflix
#!/usr/bin/python
# TODO make range command line arguments
import sys, codecs
sys.stdout = codecs.getwriter('utf-8')(sys.stdout) # if your terminal can't do utf-8, well...
import time
import urllib2
import BeautifulSoup