Skip to content

Instantly share code, notes, and snippets.

View michimau's full-sized avatar

Mauro Michielon michimau

  • European Food Safety Authority
  • Parma
View GitHub Profile
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX dcterms: <http://purl.org/dc/terms/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX cr: <http://cr.eionet.europa.eu/ontologies/contreg.rdf#>
PREFIX aq: <http://rdfdata.eionet.europa.eu/airquality/ontology/>
PREFIX aqr: <http://reference.eionet.europa.eu/aq/ontology/>
PREFIX rod: <http://rod.eionet.europa.eu/schema.rdf#>
PREFIX obligations: <http://rod.eionet.europa.eu/obligations/>
PREFIX aqdd: <http://dd.eionet.europa.eu/property/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX dcterms: <http://purl.org/dc/terms/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX cr: <http://cr.eionet.europa.eu/ontologies/contreg.rdf#>
PREFIX aq: <http://rdfdata.eionet.europa.eu/airquality/ontology/>
PREFIX aqr: <http://reference.eionet.europa.eu/aq/ontology/>
PREFIX rod: <http://rod.eionet.europa.eu/schema.rdf#>
PREFIX obligations: <http://rod.eionet.europa.eu/obligations/>
PREFIX aqdd: <http://dd.eionet.europa.eu/property/>
@michimau
michimau / google-fonts.css
Created March 3, 2020 11:36
google-fonts.css
/* latin-ext */
@font-face {
font-family: 'Lato';
font-style: italic;
font-weight: 300;
src: local('Lato Light Italic'), local('Lato-LightItalic'), url(https://fonts.gstatic.com/s/lato/v16/S6u_w4BMUTPHjxsI9w2_FQft1dw.woff2) format('woff2');
unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX dcterms: <http://purl.org/dc/terms/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX cr: <http://cr.eionet.europa.eu/ontologies/contreg.rdf#>
PREFIX aq: <http://rdfdata.eionet.europa.eu/airquality/ontology/>
PREFIX rod: <http://rod.eionet.europa.eu/schema.rdf#>
PREFIX obligations: <http://rod.eionet.europa.eu/obligations/>
SELECT DISTINCT
@michimau
michimau / cloudsend.sh
Created March 23, 2020 08:35 — forked from tavinus/cloudsend.sh
Send files to Nextcloud/Owncloud shared folder using curl
#!/usr/bin/env bash
############################################################
#
# cloudsend.sh
#
# Uses curl to send files to a shared
# Nextcloud/Owncloud folder
#
# Usage: ./cloudsend.sh <file> <folderLink>
@michimau
michimau / build_last_image.sh
Created April 1, 2020 07:55
for eea geonetwork
!/bin/bash
#exec > /dev/null 2>&1
id=$(curl -s https://files.titellus.net/geonetwork/eea/?C=M | grep eea-catalogues | tail -1 | cut -c 135-174 )
#id=4060a422fada8c66b41105b6789f8bf6285641e4
echo building for $id
docker build --no-cache -t eeacms/eea-geonetwork:$id --build-arg id=$id ./geonetwork/
echo build ready for $id
4/3/2020 1:24:39 PM03-Apr-2020 11:24:39.503 SEVERE [localhost-startStop-1] org.apache.catalina.core.StandardContext.listenerStart Exception sending context initialized event to listener instance of class [jeeves.config.springutil.JeevesContextLoaderListener]
4/3/2020 1:24:39 PM java.lang.RuntimeException: Exception raised
4/3/2020 1:24:39 PM at jeeves.server.JeevesEngine.handleStartupError(JeevesEngine.java:124)
4/3/2020 1:24:39 PM at jeeves.config.springutil.JeevesContextLoaderListener.contextInitialized(JeevesContextLoaderListener.java:95)
4/3/2020 1:24:39 PM at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4770)
4/3/2020 1:24:39 PM at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5236)
4/3/2020 1:24:39 PM at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
4/3/2020 1:24:39 PM at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:754)
4/3/2020 1:24:39 PM at org.apache.catalina.core.ContainerBase.ad
@michimau
michimau / aide-d wip
Created April 16, 2020 10:01
aide-d wip
PREFIX aq: <http://rdfdata.eionet.europa.eu/airquality/ontology/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX geo: <http://www.w3.org/2003/01/geo/wgs84_pos#>
PREFIX dcterms: <http://purl.org/dc/terms/>
PREFIX cr: <http://cr.eionet.europa.eu/ontologies/contreg.rdf#>
PREFIX rod: <http://rod.eionet.europa.eu/schema.rdf#>
PREFIX ddaq: <http://dd.eionet.europa.eu/vocabulary/aq/#>
SELECT
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX dcterms: <http://purl.org/dc/terms/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX cr: <http://cr.eionet.europa.eu/ontologies/contreg.rdf#>
PREFIX aq: <http://rdfdata.eionet.europa.eu/airquality/ontology/>
PREFIX rod: <http://rod.eionet.europa.eu/schema.rdf#>
PREFIX obligations: <http://rod.eionet.europa.eu/obligations/>
PREFIX aqdd: <http://dd.eionet.europa.eu/property/>
SELECT DISTINCT
@michimau
michimau / Article21Questionnaire
Created April 28, 2020 08:32
Article21Questionnaire x F.S.
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rod: <http://rod.eionet.europa.eu/schema.rdf#>
PREFIX obligations: <http://rod.eionet.europa.eu/obligations/>
PREFIX contreg: <http://cr.eionet.europa.eu/ontologies/contreg.rdf#>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX xmlSchema: <http://dd.eionet.europa.eu/schemas/eu-ets-article21-1.1/Article21Questionnaire.xsd>
PREFIX obligationsNumber: <http://rod.eionet.europa.eu/obligations/556>
SELECT DISTINCT