Skip to content

Instantly share code, notes, and snippets.

View netikular's full-sized avatar
🏠
Working from home

Kevin Pratt netikular

🏠
Working from home
View GitHub Profile
@netikular
netikular / merge-geojsons.py
Created May 1, 2017 16:17 — forked from migurski/merge-geojsons.py
Merge multiple GeoJSON files into one
from json import load, JSONEncoder
from optparse import OptionParser
from re import compile
float_pat = compile(r'^-?\d+\.\d+(e-?\d+)?$')
charfloat_pat = compile(r'^[\[,\,]-?\d+\.\d+(e-?\d+)?$')
parser = OptionParser(usage="""%prog [options]
Group multiple GeoJSON files into one output file.
@netikular
netikular / install_ex.sh
Last active January 13, 2016 07:28 — forked from jimsynz/install_ex.sh
I use this to install Elixir on Codeship.
#!/bin/sh
# I use this to install Elixir on our codeship instances for testing. YMMV.
# curl -O https://gist.githubusercontent.com/netikular/335dea6bdbaa369feeff/raw/f891127521858204a67f2b1ea06c1811ad35433d/install_ex.sh
# . ~/install_ex.sh
# You can override your Elixir and Erlang versions from your shell when you call ./install_ex.sh.
ERLANG_VERSION=${ERLANG_VERSION:-18.2.1}
ELIXIR_VERSION=${ELIXIR_VERSION:-1.2.0}