Skip to content

Instantly share code, notes, and snippets.

View sgillies's full-sized avatar

Sean Gillies sgillies

View GitHub Profile
{"connectsWith": ["502042016", "188535571", "74935822", "356966898", "737328394", "423080", "174900201", "447759107", "18271457", "856514595", "622606468", "93042695", "422891", "423562", "128044615", "825912337", "423042", "502866838", "285857974", "334776903", "334776904", "874299107", "423053", "423052", "866548110", "838349787", "400889194", "717263631", "422995", "697163696", "715215852", "423058", "422934", "425068", "740034026", "919243561", "423046", "361831195", "422936", "68481414", "535299163", "423132", "423029", "211668069", "195092807", "422978", "76960231", "22073979", "103123065", "423051", "423048", "55607045", "494660670", "423056", "390205932", "422860", "756231346", "423065", "707467453", "226302607", "422973", "771725842", "825969667", "335461216", "434423626", "540898685", "423133", "423014", "322942899", "721060792", "503777175", "459049147", "281368358", "29110684", "225979840", "999196280", "921692078", "490093260", "883684762", "422983", "423008", "375710890", "423038", "458808506",
{
"features": [
{
"id": "buffer",
"properties": {
"title": "1/4 mile buffer"
},
"geometry": {
"coordinates": [
[
{
"features": [
{
"id": "66512",
"properties": {
"SHPLINKID": 6420,
"PARCELNO": "9702300012",
"ADDRID": 15835,
"AREA": 725316.2812
},
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@sgillies
sgillies / requirements.txt
Created November 1, 2013 16:08
python rasterio requirements
cython
numpy
@sgillies
sgillies / foo.geojson
Last active December 30, 2015 07:39
Example of RFC 6902 GeoJSON diff
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Independent H. Butler
Internet-Draft Hobu Inc.
Intended status: Informational M. Daly
Expires: July 12, 2014 Cadcorp
A. Doyle
MIT
MapBox-FC:multi sean$ time parallel --progress go run test.go ::: {1..20}
Computers / CPU cores / Max jobs to run
1:local / 4 / 4
Computer:jobs running/jobs completed/%of started jobs/Average seconds to complete
local:0/20/100%/0.1s
real 0m0.733s
user 0m1.559s
MapBox-FC:multi sean$ time parallel wc ::: /Users/sean/Library/Logs/HipChat/*.txt
5103 38662 420689 /Users/sean/Library/Logs/HipChat/log-2014-01-02-1.txt
2109 15175 170369 /Users/sean/Library/Logs/HipChat/log-2014-01-08-1.txt
4917 36306 400980 /Users/sean/Library/Logs/HipChat/log-2014-01-07-1.txt
294 2364 26589 /Users/sean/Library/Logs/HipChat/log-2013-12-20-1.txt
5482 41656 448271 /Users/sean/Library/Logs/HipChat/log-2014-01-10-1.txt
4160 31137 336279 /Users/sean/Library/Logs/HipChat/log-2014-01-13-1.txt
real 0m0.185s
user 0m0.135s
@sgillies
sgillies / GNU parallel vs concurrent.futures console
Last active March 30, 2017 20:41
Python concurrency benchmarks
vas-y:parallelz seang$ time parallel wc ::: `find ~/writing/blog/2013 -name *.rst`
18 128 791 /Users/seang/writing/blog/2013/10/07/downgrading-my-blog.rst
106 567 4011 /Users/seang/writing/blog/2013/10/08/linking-geojson.rst
34 249 1586 /Users/seang/writing/blog/2013/10/24/joining-mapbox.rst
70 373 2910 /Users/seang/writing/blog/2013/11/24/introducing-rasterio.rst
14 45 395 /Users/seang/writing/blog/2013/12/02/geojson-website-refreshed.rst
25 158 1256 /Users/seang/writing/blog/2013/12/03/atom-extension-for-tinkerer.rst
16 74 627 /Users/seang/writing/blog/2013/11/27/new-home-on-github-for-geojson.rst
143 685 6211 /Users/seang/writing/blog/2013/12/04/json-diff-and-patch-for-geojson.rst
26 202 1237 /Users/seang/writing/blog/2013/12/05/first-blog-post-at-mapbox.rst