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
// Lefalet shortcuts for common tile providers - is it worth adding such 1.5kb to Leaflet core? | |
L.TileLayer.Common = L.TileLayer.extend({ | |
initialize: function (options) { | |
L.TileLayer.prototype.initialize.call(this, this.url, options); | |
} | |
}); | |
(function () { | |
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
[WARNING] | |
java.lang.ClassNotFoundException: com.bericotech.clavin.index.IndexDirectoryBuilder | |
at java.net.URLClassLoader$1.run(URLClassLoader.java:217) | |
at java.security.AccessController.doPrivileged(Native Method) | |
at java.net.URLClassLoader.findClass(URLClassLoader.java:205) | |
at java.lang.ClassLoader.loadClass(ClassLoader.java:321) | |
at java.lang.ClassLoader.loadClass(ClassLoader.java:266) | |
at org.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:285) | |
at java.lang.Thread.run(Thread.java:679) | |
[INFO] ------------------------------------------------------------------------ |
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
#add the ubuntugis repo | |
sudo add-apt-repository ppa:ubuntugis/ubuntugis-unstable | |
#update stuff | |
sudo apt-get update | |
#start with gdal | |
sudo apt-get install libgdal-dev gdal-bin | |
#install postgis and libgdal1 to fix a conflict |
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
//maps page | |
http://resultmaps.neis-one.org/osm-typhoon-haiyan-2013/#6/12.072/123.486 | |
//haiyan contributors thank you page | |
http://resultmaps.neis-one.org/osm-typhoon-haiyan-2013-contributors | |
//haiyan contributors locations | |
http://resultmaps.neis-one.org/osm-typhoon-haiyan-2013-contributors-countries | |
//haiyan hot blog |
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
{ | |
"type": "FeatureCollection", | |
"features": [ | |
{ | |
"type": "Feature", | |
"properties": { | |
"City": "Ormoc" | |
}, | |
"geometry": { | |
"type": "Point", |
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
http://media.giphy.com/media/4nlK5QgKU8wZW/giphy.gif | |
West Wing | |
http://persephonemagazine.com/wp-content/uploads/2013/09/wrongnessandbewrong.gif | |
http://24.media.tumblr.com/tumblr_m5064d1Ysa1r9i0fuo1_500.gif | |
The Wire | |
http://media.giphy.com/media/Mr8Bw7qlrukr6/giphy.gif | |
http://media.giphy.com/media/5aUbkfOovwW0E/giphy.gif |
Loading
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
# Some good references are: | |
# http://russbrooks.com/2010/11/25/install-postgresql-9-on-os-x | |
# http://www.paolocorti.net/2008/01/30/installing-postgis-on-ubuntu/ | |
# http://postgis.refractions.net/documentation/manual-1.5/ch02.html#id2630392 | |
#1. Install PostgreSQL postgis and postgres | |
#brew will install postgres and postgis using one formula | |
brew install postgis | |
initdb /usr/local/var/postgres |
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
#!/bin/sh | |
url=$(awk -F = '{print $2}' url.txt) | |
for i in $(cat file.txt); | |
do | |
wget "${url}${i}" | |
done |
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
#!/bin/bash | |
####################################################### | |
## | |
## Created by Dale Kunce: (dale.kunce@redcross.org) | |
## Download a @hotosm task manager task and output to shapefile. | |
## | |
## chmod +x hottask_to_shapefile.sh | |
## ./hottask_to_shapefil.sh <task#> | |
## | |
####################################################### |
OlderNewer