Skip to content

Instantly share code, notes, and snippets.

View armanddp's full-sized avatar

Armand du Plessis armanddp

View GitHub Profile
@armanddp
armanddp / postgis.sh
Created April 20, 2013 16:54
Setting up PostGIS
# Get source
wget http://postgis.net/stuff/postgis-2.0.4SVN.tar.gz
tar -xvzf postgis-2.0.4SVN.tar.gz
cd postgis-2.0.4SVN

Types of index scans

Indexes

Sequential Scan:

  • Read every row in the table
  • No reading of index. Reading from indexes is also expensive.

Keybase proof

I hereby claim:

  • I am armanddp on github.
  • I am armanddp (https://keybase.io/armanddp) on keybase.
  • I have a public key whose fingerprint is 2306 72AF E47F 1B36 9329 463F CEB7 F217 5871 E459

To claim this, I am signing this object:

@armanddp
armanddp / ambit2gpx_example
Created December 25, 2014 08:33
ambit2gpx
› python ambit2gpx-1.7.py ~/Library/Application\ Support/Suunto/Moveslink2/AE0BC05009001600-2014-12-24T07_04_36-0.sml
Parsing file /Users/armanddp/Library/Application Support/Suunto/Moveslink2/AE0BC05009001600-2014-12-24T07_04_36-0.sml
Done.
Creating file /Users/armanddp/Library/Application Support/Suunto/Moveslink2/AE0BC05009001600-2014-12-24T07_04_36-0.gpx
................................................................................
.................................
Done.
Do you seek to engage in espionage, sabotage, export control violations, or any other illegal activity while in the United States?
Yes No
Do you seek to engage in terrorist activities while in the United States or have you ever engaged in terrorist activities?
Yes No
Have you ever or do you intend to provide financial assistance or other support to terrorists or terrorist organizations?
Yes No
Are you a member or representative of a terrorist organization?
POEM IN O̶C̶T̶O̶B̶E̶R̶ JULY…
It was my thirty-first year to heaven
Woke to my hearing from harbour and neighbour wood
And the mussel pooled and the heron
Priested shore
The morning beckon
With water praying and call of seagull and rook
And the knock of sailing boats on the webbed wall
Myself to set foot
<?xml version="1.0"?>
<gpx version="1.1" creator="gpxgenerator.com">
<wpt lat="30.262362134327038" lon="-97.74042029076713">
<ele>139.35</ele>
<time>2019-03-08T16:35:46Z</time>
</wpt>
<wpt lat="30.262816205651045" lon="-97.73978728943962">
<ele>141.71</ele>
<time>2019-03-08T16:36:42Z</time>
</wpt>
EvUEAM5TBCx99555XTLtNb-2oVxgD