Skip to content

Instantly share code, notes, and snippets.

View rnix's full-sized avatar
💭
I may be slow to respond.

Robert Nix rnix

💭
I may be slow to respond.
View GitHub Profile
@rnix
rnix / .gitignore
Last active June 25, 2020 04:09 — forked from dbehnke/gorilla-go-json-rpc-test.go
Gorilla RPC/v2 example
gorilla-go-json-rpc-test
gorilla-go-json-rpc-test.out
@rnix
rnix / .gitignore
Last active December 19, 2015 08:59
Vagrant mapnik : ubuntu precise64 virtualbox
*
@rnix
rnix / README.md
Last active December 15, 2015 13:09
curl -ks https://gist.github.com/rnix/5265588/raw/neo4j-ubuntu.sh | sudo bash -

debian.neo4j.org

@rnix
rnix / README.md
Last active December 13, 2015 18:49
GDAL Java ./configure and swig/java/java.opt patches for building gdal.jar on Mac OS X.
curl -ks https://gist.github.com/rnix/4958168/raw/build.sh | bash

Then remember to add the following to the JVM's environment that'll be importing gdal:

export LD_LIBRARY_PATH=${PWD}/.libs:${LD_LIBRARY_PATH}
export DYLD_LIBRARY_PATH=${DYLD_LIBRARY_PATH}:${LD_LIBRARY_PATH}

where ${PWD} is the gdal/swig/java directory (unless you install the libraries).

DISCLAIMER

<?xml version="1.0" encoding="UTF-8"?>
<kml xmlns="http://www.opengis.net/kml/2.2">
<Document><name></name>
<Placemark><name></name>
<MultiGeometry><Polygon><outerBoundaryIs><LinearRing><coordinates>-80.249482932455777,25.690130068291193 -80.249521040721191,25.690141935145039 -80.249690016446991,25.690115025926836 -80.249716925625634,25.690124051799195 -80.252242044138271,25.690280994230044 -80.254209925428341,25.690192075912861 -80.254376060261365,25.690021929681443 -80.254552056898319,25.689854959460607 -80.254848057727244,25.68960793015783 -80.2552789391831,25.689268974803806 -80.255336936476709,25.68926295669106 -80.255383066471609,25.689276997649479 -80.255433040220197,25.689310925761554 -80.25550206842108,25.6893839650464 -80.255513934238706,25.689407030600687 -80.255512931547202,25.689442964008695 -80.25478103621397,25.690014074389698 -80.25473707855781,25.690077922036608 -80.254737079184537,25.690156977270945 -80.254845049093205,25.690201936995312 -80.255000989433412,25.690210962788644
@rnix
rnix / README.md
Last active December 10, 2015 07:18
Build Grass from source on Mac OS X 10.8 w/ Homebrew
curl -ks https://gist.github.com/raw/4399853/grass64-setup.sh | bash -il
package test
class X[+T: Numeric](val x: T)
abstract class M[T: Numeric] {
def apply(x: Int): X[T]
final def row = (1 to 10).map(this(_))
}
class Y(x: Double, val y: Double) extends X[Double](x)
class Z extends M[Double] {
@rnix
rnix / README.md
Created December 14, 2012 20:39
SO13885423

SO13885423

Produces: type mismatch; found : (Int, Int) required: (Int, Int) SO13885423.scala ... line 19

@rnix
rnix / Procfile
Created November 30, 2012 14:44
Heroku Django
web: python manage.py runserver 0.0.0.0:$PORT --noreload