Skip to content

Instantly share code, notes, and snippets.

View napo's full-sized avatar
💭
guru meditation

Maurizio Napolitano napo

💭
guru meditation
View GitHub Profile
@napo
napo / attributi_spazzamento.csv
Last active April 13, 2018 09:30
attributi di spazzamento.shp - solo desvia, codice e percorso
strada desvia percorso
5290 VIA 4 NOVEMBRE 32
430 VIA BRESCIA 29
3150 VIA DEI SOLTERI 28
2495 VIA A. PRANZELORES 28
3510 VIA VITTORIO VENETO 17
3832 VIA V. DE RICCABONA 27
1630 VIA B. MALFATTI 16
1730 VIA A. MANZONI 15
1130 PIAZZA DI FIERA 7
destdir="$HOME/superset"
sudo apt-get install build-essential libssl-dev libffi-dev python-dev python-pip libsasl2-dev libldap2-dev
virtualenv $destdir
cd $destdir
. bin/activate
pip install superset
fabmanager create-admin --app superset
superset db upgrade
superset load_examples
superset init
@napo
napo / overpass.geojson
Created July 5, 2017 07:13 — forked from anonymous/overpass.geojson
data exported by overpass turbo
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@napo
napo / README.md
Created June 13, 2014 14:31
sicilia

README is empty

@napo
napo / gist:2935688
Created June 15, 2012 09:54
ckanext-spatial and ckan 1.8(?)
paster --plugin=ckanext-spatial spatial initdb 4326 --config /etc/ckan/std/std.ini
Traceback (most recent call last):
File "/usr/local/ckan/bin/paster", line 9, in <module>
load_entry_point('PasteScript==1.7.3', 'console_scripts', 'paster')()
File "/usr/local/ckan/local/lib/python2.7/site-packages/paste/script/command.py", line 84, in run
invoke(command, command_name, options, args[1:])
File "/usr/local/ckan/local/lib/python2.7/site-packages/paste/script/command.py", line 123, in invoke
exit_code = runner.run(args)
File "/usr/local/ckan/local/lib/python2.7/site-packages/paste/script/command.py", line 218, in run
@napo
napo / gist:2935639
Created June 15, 2012 09:43
ckanext-harvest import
paster --plugin=ckanext-harvest harvester initdb --config=/etc/ckan/std/std.ini
Traceback (most recent call last):
File "/usr/local/ckan/bin/paster", line 9, in <module>
load_entry_point('PasteScript==1.7.3', 'console_scripts', 'paster')()
File "/usr/local/ckan/local/lib/python2.7/site-packages/paste/script/command.py", line 84, in run
invoke(command, command_name, options, args[1:])
File "/usr/local/ckan/local/lib/python2.7/site-packages/paste/script/command.py", line 123, in invoke
exit_code = runner.run(args)
File "/usr/local/ckan/local/lib/python2.7/site-packages/paste/script/command.py", line 218, in run