Skip to content

Instantly share code, notes, and snippets.

CUP DESCRIZIONE_SINTETICA_CUP ANNO_DECISIONE STATO_PROGETTO COSTO_PROGETTO FINANZIAMENTO_PROGETTO CODICE_STATO STATO CODICE_AREA_GEOGRAFICA AREA_GEOGRAFICA CODICE_REGIONE REGIONE CODICE_PROVINCIA SIGLA_PROVINCIA PROVINCIA CODICE_COMUNE COMUNE SOGGETTO_TITOLARE PIVA_CODFISCALE_SOG_TITOLARE INDIRIZZO_SOG_TITOLARE TIPO_INDIRIZZO_SOG_TITOLARE NUM_CIVICO_SOG_TITOLARE LOCALITA_SOG_TITOLARE CAP_SOGGETTO_TITOLARE COMUNE_SOGGETTO_TITOLARE CODICE_COMUNE_SOGG_TITOLARE CODICE_SOTTOCATEG_SOGGETTO SOTTOCATEGORIA_SOGGETTO CODICE_CATEGORIA_SOGGETTO CATEGORIA_SOGGETTO CODICE_AREA_SOGGETTO AREA_SOGGETTO CODICE_NATURA_INTERVENTO NATURA_INTERVENTO COD_NATURA_DIPE NATURA_DIPE CODICE_TIPO_INTERVENTO TIPOLOGIA_INTERVENTO CODICE_AREA_INTERVENTO AREA_INTERVENTO CODICE_SETTORE_INTERVENTO SETTORE_INTERVENTO CODICE_SOTTOSETTORE_INTERVENTO SOTTOSETTORE_INTERVENTO CODICE_CATEGORIA_INTERVENTO CATEGORIA_INTERVENTO SOGGETTO_RICHIEDENTE TIPOLOGIA_CUP DESCRIZIONE_INTERVENTO DENO_IMPRESA_STABILIMENTO PIVA_CF_BENEFICIARIO DENO_IMPRESA_STABILIMEN
flowchart TD
    cp["Cacio e pepe"]-- +guanciale -->gr[Gricia]
    gr-- +pomodoro -->a[Amatriciana]
    gr-- +uovo -->c[Carbonara]
#!/bin/bash
URL="https://elezioniregionali2024.regione.sardegna.it/risultati-per-comune"
curl -A "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.3" "$URL" | \
awk '/origin_data/,/};/ {print; if (/};/) exit}' | \
sed '1s/var origin_data = //; $s/;$//' >elezioni_sardegna_dati_per_comune.json
+_debug_widget-bracketed-paste:3> _zsh_autosuggest_bound_1_bracketed-paste
+_zsh_autosuggest_bound_1_bracketed-paste:1> _zsh_autosuggest_widget_modify autosuggest-orig-1-bracketed-paste
+_zsh_autosuggest_widget_modify:1> local -i retval
+_zsh_autosuggest_widget_modify:3> _zsh_autosuggest_highlight_reset
+_zsh_autosuggest_highlight_reset:1> typeset -g _ZSH_AUTOSUGGEST_LAST_HIGHLIGHT
+_zsh_autosuggest_highlight_reset:3> [[ -n '' ]]
+_zsh_autosuggest_widget_modify:5> _zsh_autosuggest_modify autosuggest-orig-1-bracketed-paste
+_zsh_autosuggest_modify:1> local -i retval
+_zsh_autosuggest_modify:4> local -i KEYS_QUEUED_COUNT
+_zsh_autosuggest_modify:7> local orig_buffer=''
+_debug_widget:3> _zsh_autosuggest_bound_1_bracketed-paste
+_zsh_autosuggest_bound_1_bracketed-paste:1> _zsh_autosuggest_widget_modify autosuggest-orig-1-bracketed-paste
+_zsh_autosuggest_widget_modify:1> local -i retval
+_zsh_autosuggest_widget_modify:3> _zsh_autosuggest_highlight_reset
+_zsh_autosuggest_highlight_reset:1> typeset -g _ZSH_AUTOSUGGEST_LAST_HIGHLIGHT
+_zsh_autosuggest_highlight_reset:3> [[ -n '' ]]
+_zsh_autosuggest_widget_modify:5> _zsh_autosuggest_modify autosuggest-orig-1-bracketed-paste
+_zsh_autosuggest_modify:1> local -i retval
+_zsh_autosuggest_modify:4> local -i KEYS_QUEUED_COUNT
+_zsh_autosuggest_modify:7> local orig_buffer=''
_bash_complete-word -C .complete-word _bash_completions
_bash_list-choices -C .list-choices _bash_completions
_complete_debug -C .complete-word _complete_debug
_complete_help -C .complete-word _complete_help
_complete_tag -C .complete-word _complete_tag
_correct_filename -C .complete-word _correct_filename
_correct_word -C .complete-word _correct_word
_expand_alias -C .complete-word _expand_alias
_expand_word -C .complete-word _expand_word
_history-complete-newer -C .complete-word _history_complete_word
Data_Report Nazione ISO_3166-1 Valore
2023-12-31 Bangladesh BD 12169
2023-12-31 Burkina Faso BF 8414
2023-12-31 Costa d'Avorio CI 16005
2023-12-31 Egitto EG 11072
2023-12-31 Guinea GN 18211
2023-12-31 Mali ML 5938
2023-12-31 Pakistan PK 7642
2023-12-31 Siria SY 9547
2023-12-31 Sudan SD 5834
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
# esempio di chiamata
curl 'https://www.anncsu.gov.it/system/modules/it.gov.sogei.rest/elements/get.json' -X POST \
-H 'User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:121.0) Gecko/20100101 Firefox/121.0' \
-H 'Accept: application/json, text/javascript, */*; q=0.01' \
-H 'Accept-Language: en-US,en;q=0.5' \
-H 'Accept-Encoding: gzip, deflate, br' \
-H 'Content-Type: application/x-www-form-urlencoded; charset=UTF-8' \
-H 'X-Requested-With: XMLHttpRequest' \
-H 'Origin: https://www.anncsu.gov.it' \
-H 'Connection: keep-alive' \
<table border="0" cellspacing="0"><colgroup span="3" width="406"></colgroup>
<tbody>
<tr>
<td height="20"><strong>Categoria tematica</strong></td>
<td><strong>Disposizioni Regolamento</strong></td>
<td><strong>Rif. indicazioni LG</strong></td>
</tr>
<tr>
<td rowspan="3" height="310"><strong>Dati geospaziali</strong></td>
<td>Le serie di dati sono messe a disposizione per il riutilizzo: <br />&bull; alle condizioni della licenza Creative Commons BY 4.0 o di una licenza aperta equivalente o meno restrittiva; <br />&bull; in un formato aperto leggibile meccanicamente, pubblicamente <br />documentato e riconosciuto dall&rsquo;Unione o a livello internazionale; <br />&bull; tramite interfacce di programmazione delle applicazioni ("API") e download in blocco; <br />&bull; [nella versione pi&ugrave; aggiornata].</td>