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
<?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
@rnix
rnix / PostGIS.makefile
Created October 3, 2012 01:38
Build PostGIS on Amazon Linux AMI release 2012.03
POSTGIS=2.0.1
PROJ=4.8.0
GEOS=3.3.5
JSON=0.10
GDAL=1.9.1
install: postgis
#
proj: proj-$(PROJ)
@rnix
rnix / ldd.out
Created October 3, 2012 01:30
Test libjson-c
$ ldd test
linux-vdso.so.1 => (0x00007fffaf5ff000)
libjson-c.so.2 => /usr/local/lib/libjson-c.so.2 (0x00007ff4d7c29000)
libm.so.6 => /lib64/libm.so.6 (0x00007ff4d799c000)
libc.so.6 => /lib64/libc.so.6 (0x00007ff4d7609000)
/lib64/ld-linux-x86-64.so.2 (0x00007ff4d7e33000)
@rnix
rnix / configure.out
Created October 3, 2012 01:27
PostGIS problem running "make check" on Amazon Linux AMI release 2012.03
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking how to print strings... printf
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes