start new:
tmux
start new with session name:
tmux new -s myname
| # data from http://ec.europa.eu/eurostat/web/gisco/geodata/reference-data/population-distribution-demography/geostat | |
| # Originally seen at http://spatial.ly/2014/08/population-lines/ | |
| # So, this blew up on both Reddit and Twitter. Two bugs fixed (southern Spain was a mess, | |
| # and some countries where missing -- measure twice, submit once, damnit), and two silly superflous lines removed after | |
| # @hadleywickham pointed that out. Also, switched from geom_segment to geom_line. | |
| # The result of the code below can be seen at http://imgur.com/ob8c8ph | |
| library(tidyverse) |
| #!/bin/bash | |
| # forma de uso ./exportar <host> <porta> <nome_do_banco_de_dados> <usuario> <senha> <caminho> <formato> | |
| # este script depende de: lib32z1 lib32ncurses5 lib32bz2-1.0 e filegdbapi | |
| export SHAPE_ENCODING="ISO-8859-1" | |
| SERVIDOR=$1 | |
| PORTA=$2 | |
| BANCO_DADOS=$3 | |
| USUARIO=$4 | |
| SENHA=$5 |