Skip to content

Instantly share code, notes, and snippets.

View johnclittle's full-sized avatar

John Little johnclittle

View GitHub Profile
@johnclittle
johnclittle / osgeo_compile.sh
Created August 24, 2016 18:06 — forked from robinkraft/osgeo_compile.sh
compile and install GEOS, PROJ4 and GDAL from source on Ubuntu 12.0.4
# Compile/install GEOS. Taken from:
# http://grasswiki.osgeo.org/wiki/Compile_and_Install_Ubuntu#GEOS_2
cd /tmp
wget http://download.osgeo.org/geos/geos-3.4.2.tar.bz2
bunzip2 geos-3.4.2.tar.bz2
tar xvf geos-3.4.2.tar
cd geos-3.4.2
@johnclittle
johnclittle / Gemfile
Created September 23, 2015 17:47 — forked from adamsanderson/Gemfile
Demonstration of hierarchical queries in Postgres using a materialized path. It will create a new database that you can later play around with.
source 'https://rubygems.org'
gem 'activerecord', '4.0.0.rc1'