- remove extension:
find /path/to/your/files -name '*.html.tmp' -exec sh -c 'mv -i "{}" "$(dirname "{}")/$(basename "{}" .tmp)"' \;
- add extension:
find /path -type f -not -name "*.*" -exec mv "{}" "{}".jpg \;
or
// this runs hellaoften | |
$(window).scroll(function() { | |
}); | |
// this runs hellaoften | |
$(window).scroll(_.throttle(function() { | |
}, 250)); |
find /path/to/your/files -name '*.html.tmp' -exec sh -c 'mv -i "{}" "$(dirname "{}")/$(basename "{}" .tmp)"' \;
find /path -type f -not -name "*.*" -exec mv "{}" "{}".jpg \;
or
Seafood:
ogr2ogr buildings_0.shp buildings.shp -sql "SELECT * FROM buildings WHERE YEAR_BUILT = 0"
Back in 2011, this is the tool stack used by Chicago Tribune.
"This is part one of a five-part series about our recent explorations making choropleth maps using PostGIS, TileMill, Mapnik and Google Maps."
[Here](https://www.mapbox.com/blog/building-mapbox-fast-map-hosting-stack/
Vocabularies of design:
Ask the questions, not give the solutions:
Let your team shine:
More to hotosm/old-export-tool#68
What's useful for a user at OTI?
We are thinking of a potential hackathon that focuses on particular needs. Andrew might have a list/can talk to people of projects that fall under the same theme, so that the hackathon can be project-based and more concrete.
Kudos: Tutorial adapted from http://bl.ocks.org/mbostock/3306362. This choropleth uses a threshold scale for quantization, mapping arbitrary slices of a continuous domain to discrete values in the range. Unemployment rates ranging from 2 to 10% are quantized into different shades of purple.
Further experiments:
Zoom to bounding box:
Click to Center
"hello, world"; // edit this to begin | |
require('http://d3js.org/d3.v3.min.js'); | |
// equal interval | |
var color1 = d3.scale.quantize() | |
.domain([0,10]) // continuous | |
.range(["#000", "#111", "#222", "#333", "#444", "#555"]); | |
// manual interval |