This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Twisted implementation of fire-hydrant Google Earth visualizer | |
# (http://github.com/mojodna/fire-hydrant) | |
# | |
# requires modern twisted, appscript, and Google Earth | |
# easy_install twisted | |
# easy_install appscript | |
from twisted.words.protocols.jabber import client, jid | |
from twisted.words.xish import domish, xpath | |
from twisted.internet import reactor |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
Parses and converts the Flickr Shapefiles Public Dataset, Version 1.0 | |
http://code.flickr.com/blog/2009/05/21/flickr-shapefiles-public-dataset-10/ | |
""" | |
import sys | |
from datetime import date | |
import osgeo.ogr, osgeo.osr | |
from osgeo import ogr, osr | |
import xml.sax |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Index: color-relief.cpp | |
=================================================================== | |
--- color-relief.cpp (revision 199) | |
+++ color-relief.cpp (working copy) | |
@@ -32,10 +32,11 @@ | |
#include <fstream> | |
#include <list> | |
#include "gdal_priv.h" | |
-#include "stringtok.h" | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"query":{ | |
"latitude":37.778381, | |
"longitude":-122.389388 | |
}, | |
"timestamp":1291766899.794, | |
"weather": { | |
"temperature": "65F", | |
"conditions": "light haze" | |
}, { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.simplejavaapp; | |
import java.io.IOException; | |
import java.util.ArrayList; | |
import com.simplegeo.client.SimpleGeoPlacesClient; | |
import com.simplegeo.client.callbacks.FeatureCollectionCallback; | |
import com.simplegeo.types.Feature; | |
import com.simplegeo.types.FeatureCollection; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"geometry":{ | |
"type":"Point", | |
"coordinates":[ | |
-122.421583, | |
37.795027 | |
] | |
}, | |
"type":"Feature", | |
"id":"SG_5JkVsYK82eLj26eomFrI7S_37.795027_-122.421583@1291796505", |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"layer": "mojodna.net", | |
"id": "simplegeo-boulder", | |
"type": "Feature", | |
"geometry": { | |
"type": "Point", | |
"coordinates": [ | |
-105.27728, | |
40.01690 | |
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env perl | |
use warnings; | |
use strict; | |
use Data::Dumper; | |
use XML::XPath; | |
use XML::XPath::XMLParser; | |
my @exp = ( |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
web: node app.js | |
worker: node consumer.js |