Skip to content

Instantly share code, notes, and snippets.

View blech's full-sized avatar

Paul Mison blech

View GitHub Profile
@blech
blech / debug
Created February 10, 2010 23:07 — forked from tominsam/debug
AppEngine timing debugger
import time
from google.appengine.ext import webapp
from google.appengine.api import datastore
import logging
ACCUMULATE = False
def monkey_patch(namespace, name, wrapper):
nname = '_orig_' + name
if not getattr(namespace, nname, None):
@blech
blech / defaults.sh
Last active December 14, 2015 01:39 — forked from anonymous/gist:5007651
New machine defaults.write commands.
defaults write FixedWidthFontSmoothingThreshold 9
defaults write com.barebones.bbedit FixedWidthFontSmoothingThreshold -int 9
defaults write -g NSDisableAutomaticTermination -bool yes
defaults write -g NSScrollAnimationEnabled -bool NO
defaults write com.apple.dock no-glass -boolean YES
defaults write com.apple.dock showhidden -bool true
defaults write com.apple.dashboard mcx-disabled -boolean YES
defaults write -g NSDisableAutomaticTermination -bool yes
killall Dock
@blech
blech / README.md
Last active December 18, 2015 19:38 — forked from mbostock/.block
Highlighted railways, San Francisco
@blech
blech / README.md
Last active December 18, 2015 22:29 — forked from NelsonMinar/README.md
Fun with vector maps (forked from NelsonMinar)

Fun with vector maps

Quick TopoJSON vector tile demo map, derived from an earlier GeoJSON demo. Original README follows.

A goofy slippy map of various vector tile data sources. With some fun colours, greetz to Aaron and Mike and Mike and the whole Prettymaps crew.

Sacramento, CA

@blech
blech / README.md
Last active December 19, 2015 01:49 — forked from mbostock/.block
Dopplr Tour
@blech
blech / README.md
Last active December 19, 2015 12:19 — forked from mbostock/.block
SF: buildings & railways
@blech
blech / README.md
Last active December 19, 2015 13:09 — forked from mbostock/.block
Transverse mercator, per Landsat
@blech
blech / README.md
Last active December 19, 2015 22:18 — forked from mbostock/.block
BBC One

Just your BBC spinny globe, circa 1985. (TODO: add reversed antipodes as bg layer.)

@blech
blech / README.md
Last active December 21, 2015 00:58 — forked from mbostock/.block

Forking mbostock's vector tiles gist/block, but for London and with motorways in blue.

I'm not quite sure what else I'm going to do with this yet. Hack in onHashChange? Realise that polymaps is better for this stuff?

@blech
blech / .run
Last active December 25, 2015 17:59 — forked from mbostock/.block
python -m SimpleHTTPServer 5120