jq is useful to slice, filter, map and transform structured json data.
brew install jq
This is a collection of information on PostgreSQL and PostGIS for what I tend to use most often.
// License: MIT - https://opensource.org/licenses/MIT | |
// Author: Michele Locati <michele@locati.it> | |
// Source: https://gist.github.com/mlocati/7210513 | |
function perc2color(perc) { | |
var r, g, b = 0; | |
if(perc < 50) { | |
r = 255; | |
g = Math.round(5.1 * perc); | |
} | |
else { |
Author: Josef Jezek
# Install Inkscape on Ubuntu
sudo apt-get install inkscape