- 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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | |
<title>SoundCloud OAuth 2 User Agent Authentication Flow Demo</title> | |
<script type="text/javascript" charset="utf-8" src="javascript/jquery-1.4.2.js"></script> | |
<script type="text/javascript" charset="utf-8"> | |
$(function () { | |
var extractToken = function(hash) { |
// 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