Skip to content

Instantly share code, notes, and snippets.


Klemens Gordon k9ordon

Block or report user

Report or block k9ordon

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
k9ordon / gpxImport.php
Created Jul 16, 2012
exports nike+ runs to gpx
View gpxImport.php
strt importing gpx files ...
require_once 'lib/init.php'; // init $n stuff (login)
$dir = "import";
$runs = $n->activities();
foreach($runs->activities as $a) {
View gist:582281
// ----------------------------------------------------------
// A short snippet for detecting versions of IE in JavaScript
// without resorting to user-agent sniffing
// ----------------------------------------------------------
// if (ie) { alert('IE ' + ie); } // else ie version is not a number;
// if(!ie) { alert ('IE is Kryptonite.'); }
var ie = (function(){
var div = document.createElement('div');
You can’t perform that action at this time.