View arpaVBollettini.sh
#!/bin/bash
### requisiti ###
# jq https://stedolan.github.io/jq/
# pup https://github.com/ericchiang/pup
### requisiti ###
## Step ##
# faccio la chiamata curl
# chiedo i dati della provincia di Belluno per giono 7 luglio 2016
View 0download.sh
#!/bin/bash
### requirements
# jq https://stedolan.github.io/jq/
# csvkit https://csvkit.readthedocs.io/en/1.0.2/index.html
### requirements
# download the json
curl "https://search.worldbank.org/api/v2/projects?format=json&countryshortname_exact=India&source=IBRD&kw=N&rows=1" | \
# extract the locations
View feedTemplateAlbo.xml
<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:creativeCommons="http://backend.userland.com/creativeCommonsRssModule" version="2.0">
<channel>
<language>it</language>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
<creativeCommons:license>http://creativecommons.org/licenses/by/3.0/</creativeCommons:license>
</channel>
</rss>
View index.html
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>FeedValidator: atmfeedgtfs.zip</title>
<style>
body {font-family: Georgia, serif; background-color: white}
.path {color: gray}
div.problem {max-width: 500px}
table.dump td,th {background-color: khaki; padding: 2px; font-family:monospace}
table.dump td.problem,th.problem {background-color: dc143c; color: white; padding: 2px; font-family:monospace}
View feedTemplate.xml
<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:creativeCommons="http://backend.userland.com/creativeCommonsRssModule" version="2.0">
<channel>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
<creativeCommons:license>http://creativecommons.org/licenses/by/3.0/</creativeCommons:license>
</channel>
</rss>
View enri.sh
#!/bin/bash
# scarico la pagina
curl -sL "http://www.enricobergamini.it/scrape_feed_tutorial.html" | \
# estraggo i div che contengono gli elementi che voglio trasformare in feed RSS e li converto in JSON
pup 'div[itemprop="articleBody"] json{}' | \
# ristrutturo il JSON e converto le date in formato rfc822, ad esempio 'Fri, 24 Mar 2017 02:00:00 +0200'
jq '[.[] | {title:.children[0].text,href:.children[1].href,pubDate:.children[2].text|strptime("%m/%d/%Y") | strftime("%a, %d %b %Y 02:00:00 +0200")}]' | \
# converto il JSON in CSV
View boundingbox.geojson
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View GioiaDelColleOpenGovernment.md

Comune di Gioia del Colle: Mozione "Open Government"

Presentata da Giuseppe Zilieni e Alessandro De Rosa il 21 Novembre 2017, e approvata all'unanimità dal Consiglio

Oggetto: Mozione[^1] “Open Government”

L'espressione "open government" (letteralmente "governo aperto") si intende una modalità di esercizio del potere, a livello sia centrale che locale, basato su modelli, strumenti e tecnologie che consentono alle amministrazioni di essere “aperte” e “trasparenti” nei confronti dei cittadini. In particolare l'Open government prevede che tutte le

View AgenzieEntrateCatasto.qgs
<!DOCTYPE qgis PUBLIC 'http://mrcc.com/qgis.dtd' 'SYSTEM'>
<qgis projectname="" version="2.14.13-Essen">
<title></title>
<layer-tree-group expanded="1" checked="Qt::Checked" name="">
<customproperties/>
<layer-tree-group expanded="1" checked="Qt::Checked" name="AgenziaEntrate">
<customproperties/>
<layer-tree-layer expanded="0" checked="Qt::Checked" id="Vestizioni20171125154203903" name="Vestizioni">
<customproperties/>
</layer-tree-layer>
View test.sh
curl 'http://109.239.247.242:8090/EXEC' -H 'Cookie: IW_CookieCheck_=Enabled; IntraWeb_alboweb=1bra84n07lg8tm1fxz62k007l5k5_' -H 'Origin: http://109.239.247.242:8090' -H 'Accept-Encoding: gzip, deflate' -H 'Accept-Language: it,en-US;q=0.9,en;q=0.8' -H 'Upgrade-Insecure-Requests: 1' -H 'User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.59 Safari/537.36' -H 'Content-Type: application/x-www-form-urlencoded' -H 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8' -H 'Cache-Control: max-age=0' -H 'Referer: http://109.239.247.242:8090/EXEC' -H 'Connection: keep-alive' --data 'IWBTCERCATIWFRAME_CERCATTI1=&IWCBNATURAPUBBLICAZIONETIWFRAME_CERCATTI1=-1&IWCBPROPONENTETIWFRAME_CERCATTI1=-1&IWCBSTATOPUBBLICAZIONETIWFRAME_CERCATTI1=&IWEDNUMDOCTIWFRAME_CERCATTI1=&IWEDNUMPUBBLICAZIONETIWFRAME_CERCATTI1=&IWEDOGGETTOTIWFRAME_CERCATTI1=&IWCBTIPOORDINAMENTO=0&IWDBGRDATTI=0000000000%7CR0%7C0%5E0%7Cx%7C%3Ctr+class%3D%26%23034%3Btr