Skip to content

Instantly share code, notes, and snippets.

<ul>
{% for member in site.data.puntidiinteressebiblioteche %}
<li>
<a href="http://www.openstreetmap.org/?mlat={{ member.Y }}&mlon={{ member.X }}&zoom=12">{{ member.nome }}</a>
</li>
{% endfor %}
</ul>
@iltempe
iltempe / biblioteche_jekyll.txt
Last active August 5, 2017 21:41
Lista Biblioteche in Jekyll
<ul>
{% for member in site.data.puntidiinteressebiblioteche %}
<li>
{{ member.nome }} : {{ member.indirizzo }}
</li>
{% endfor %}
</ul>
---
layout: nil
---
[
{% for post in site.posts %}
{
"title" : "{{ post.title }}",
"url" : "{{ post.url }}",
"date" : "{{ post.date | date: "%B %d, %Y" }}",
@iltempe
iltempe / mappa.html
Last active August 15, 2017 16:23
Generate Maps with Jekyll
<link rel="stylesheet" href="https://unpkg.com/leaflet@1.0.0/dist/leaflet.css" />
<script src="https://unpkg.com/leaflet@1.0.0/dist/leaflet.js"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/Leaflet.awesome-markers/2.0.2/leaflet.awesome-markers.css" />
<script src="https://cdnjs.cloudflare.com/ajax/libs/Leaflet.awesome-markers/2.0.2/leaflet.awesome-markers.min.js"></script>
<style>
#map{ height: 500px }
</style>
<div class="row"> <div class="col-md-2">Mappa:</div><div class="col-md-4"> <div id="map"></div> </div> </div>
@iltempe
iltempe / travis.yml
Created August 28, 2017 17:52
travis example file
language: ruby
rvm:
- 2.3.3
script:
- set -e
- bundle exec jekyll build
after_success:
- git clone https://$GH_REF
- cd $(basename ${GH_REF%.git})
https://overpass-api.de/api/interpreter?data=%5Bout%3Ajson%5D%5Btimeout%3A25%5D%3B%28node%5B%22amenity%22%3D%22drinking%5Fwater%22%5D%2841%2E883013564065%2C12%2E482099533081%2C41%2E896990545731%2C12%2E501904964447%29%3B%29%3Bout%3B%3E%3Bout%20skel%20qt%3B%0A
-o
fontane_roma.json
https://overpass-api.de/api/interpreter?data=%5Bout%3Ajson%5D%5Btimeout%3A25%5D%3B%28node%5B%22natural%22%3D%22tree%22%5D%2841%2E883013564065%2C12%2E482099533081%2C41%2E896990545731%2C12%2E501904964447%29%3B%29%3Bout%3B%3E%3Bout%20skel%20qt%3B%0A
-o
alberi_roma.json
https://overpass-api.de/api/interpreter?data=%5Bout%3Ajson%5D%5Btimeout%3A25%5D%3B%28node%5B%22tourism%22%3D%22museum%22%5D%2841%2E883013564065%2C12%2E482099533081%2C41%2E896990545731%2C12%2E501904964447%29%3Bway%5B%22tourism%22%3D%22museum%22%5D%2841%2E883013564065%2C12%2E482099533081%2C41%2E896990545731%2C12%2E501904964447%29%3Brelation%5B%22tourism%22%3D%22museum%22%5D%2841%2E883013564065%2C12%2E482099533081%2C41%2E896990545731%2C12%2E501904964447%29%3B%29%3Bout%3B%3E%3
###############################################################################
# CONFIGURATION
# configure the EMS tags that you want as ZIP vector data
emergency_tags=["EMSR238"]
###############################################################################
#Fonte http://sumo.dlr.de/wiki/Simulation_of_Urban_MObility_-_Wiki
# dati .osm mappa da www.openstreetmap.org © OpenStreetMap contributors
cd ${0%/*}
#1: Scaricare i dati in un file OSM da OpenStreetMap.org (nel mio caso galciana.osm)
#2: Generare il file .net per la simulazione (Netconvert importa le informazioni relative alle strade e le converte in un unico formato usabile da altri tool)
netconvert --osm-files galciana.osm -o galciana.net.xml --output.street-names true --output.original-names true
@iltempe
iltempe / conf
Created December 16, 2017 21:45
configuration file for EMS Toolbox
EMSR260
observed_event_a;built_up_a;facilities_a;hydrography_a;natural_land_use_a;sensor_metadata_a;transportation_l;transportation_p
pdf;300
MacBook-Pro-di-Matteo:template TeoPro$ exiftool 1.jpg
ExifTool Version Number : 10.70
File Name : 1.jpg
Directory : .
File Size : 3.7 MB
File Modification Date/Time : 2017:12:30 14:44:25+01:00
File Access Date/Time : 2017:12:30 23:43:00+01:00
File Inode Change Date/Time : 2017:12:30 22:39:22+01:00
File Permissions : rw-r--r--
File Type : JPEG