I hereby claim:
- I am robcowie on github.
- I am robcowie (https://keybase.io/robcowie) on keybase.
- I have a public key whose fingerprint is 5A09 8AFB 0AF3 4347 454B 663C 058C 3D2D 3E9A E50C
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
.-. .-. | |
| \/ | | |
/, ,_ `'-. | |
.-|\ /`\ '. | |
.' 0/ | 0\ \_ `". | |
.-' _,/ '--'.'|#''---' | |
`--' | / \# | |
| / \# | |
\ ;|\ .\# | |
|' ' // \ ::\# |
<!DOCTYPE html> | |
<html> | |
<head> | |
<title></title> | |
<link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet-0.7.3/leaflet.css" /> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/leaflet/0.7.3/leaflet.js"></script> | |
<!-- <script src="http://maps.stamen.com/js/tile.stamen.js?v1.3.0"></script> --> | |
<style> | |
#map { height: 450px; } | |
</style> |
# Send | |
openssl aes-256-cbc -salt -a -e -in /path/to/file | nc -l 3333 | |
# Receive | |
nc {ip} 3333 | openssl aes-256-cbc -salt -a -d -out /path/to/file |
Geographical Boundary Data
alias ppjson='python -c "import simplejson, sys; print simplejson.dumps(simplejson.loads(sys.stdin.read()), indent=4)" | pygmentize -f console -l js' |
// Usage | |
// $.dataSpy() | |
// $(document).bind('data.change', function(){console.log('data changed')} ) | |
// $(document).bind('data.unchange', function(){console.log('data unchanged')} ) | |
(function($) { | |
function hash(data, n) { | |
var norm = Math.pow(2, -32); |
# -*- coding: utf-8 -*- | |
import timeit | |
class Wildcard(object): | |
"""""" | |
@classmethod | |
def any(cls, *args, **kargs): | |
cmp_func = lambda other: True | |
return Wildcard(cmp_func, *args, **kargs) |