Skip to content

Instantly share code, notes, and snippets.

🏠
Working from home

Maximiliano Osorio sirspock

🏠
Working from home
Block or report user

Report or block sirspock

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View openapi.yaml
This file has been truncated, but you can view the full file.
openapi: 3.0.1
info:
description: This is the API of the DBpedia Ontology
title: DBpedia
version: v1.3.0
externalDocs:
description: DBpedia
url: https://w3id.org/okn/o/sdm
servers:
View gist:cec147b24bd241295584dfcc21c21b93
This file has been truncated, but you can view the full file.
<?xml version="1.0"?>
<rdf:RDF xmlns:foaf="http://xmlns.com/foaf/0.1/" xmlns:cc="http://creativecommons.org/ns#" xmlns:vann="http://purl.org/vocab/vann/" xmlns:dcterms="http://purl.org/dc/terms/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:wgs84pos="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:cidoccrm="http://purl.org/NET/cidoc-crm/core#" xmlns:wikidata="http://www.wikidata.org/entity/" xmlns:dul="http://www.ontologydesignpatterns.org/ont/dul/DUL.owl#" xmlns:d0="http://www.ontologydesignpatterns.org/ont/d0.owl#" xmlns:owl="http://www.w3.org/2002/07/owl#" xmlns:xsd="http://www.w3.org/2001/XMLSchema#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" xmlns:prov="http://www.w3.org/ns/prov#" xmlns="http://dbpedia.org/ontology/" xml:base="http://dbpedia.org/ontology/">
<owl:Ontology rdf:about="http://dbpedia.org/ontology/">
<rdf:type rdf:resource="http://purl.org/vocommons/voaf#Vocabulary"/>
View context
{"@context": {"id": "@id", "type": "@type", "Unit": {"@id": "http://qudt.org/schema/qudt/Unit"}, "Theory-GuidedModel": {"@id": "https://w3id.org/okn/o/sdm#Theory-GuidedModel"}, "Software": {"@id": "https://w3id.org/okn/o/sd#Software"}, "SoftwareVersion": {"@id": "https://w3id.org/okn/o/sd#SoftwareVersion"}, "HybridModel": {"@id": "https://w3id.org/okn/o/sdm#HybridModel"}, "Equation": {"@id": "https://w3id.org/okn/o/sdm#Equation"}, "Organization": {"@id": "http://schema.org/Organization"}, "ModelConfiguration": {"@id": "https://w3id.org/okn/o/sdm#ModelConfiguration"}, "SourceCode": {"@id": "https://w3id.org/okn/o/sd#SourceCode"}, "SpatiallyDistributedGrid": {"@id": "https://w3id.org/okn/o/sdm#SpatiallyDistributedGrid"}, "GeoCoordinates": {"@id": "http://schema.org/GeoCoordinates"}, "SpatialResolution": {"@id": "https://w3id.org/okn/o/sdm#SpatialResolution"}, "DatasetSpecification": {"@id": "https://w3id.org/okn/o/sd#DatasetSpecification"}, "EmpiricalModel": {"@id": "https://w3id.org/okn/o/sdm#EmpiricalModel"},
View mintproject-weather-generator.nt
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix vocab: <http://dockerpedia.inf.utfsm.cl/vocab#> .
@prefix http: <http://www.w3.org/2011/http#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix dockerpedia: <http://dockerpedia.inf.utfsm.cl/resource/> .
<http://dockerpedia.inf.utfsm.cl/resource/PackageVersion/gpm-1.20.7-5>
rdfs:label "1.20.7-5" ;
vocab:isVersionOf <http://dockerpedia.inf.utfsm.cl/resource/SoftwarePackage/gpm> .
View mosoriotestFile
,p,eta,c1,c2
cassava,0.26064,0.38,383,2.5
groundnuts,0.80474,0.38,383,2.5
maize,0.30263,0.49,175,1
sesame,0.74735,0.38,383,2.5
sorghum,0.3742,0.24,350,2.7
View mint-ui.org_2019-02-06_11-23-50.lighthouse.report.json
{"userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36","environment":{"networkUserAgent":"Mozilla/5.0 (Linux; Android 6.0.1; Nexus 5 Build/MRA58N) AppleWebKit/537.36(KHTML, like Gecko) Chrome/71.0.3559.0 Mobile Safari/537.36","hostUserAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36","benchmarkIndex":1078},"lighthouseVersion":"3.2.0","fetchTime":"2019-02-06T14:23:50.085Z","requestedUrl":"http://mint-ui.org/","finalUrl":"http://mint-ui.org/","runWarnings":[],"runtimeError":{"code":"NO_ERROR","message":""},"audits":{"is-on-https":{"id":"is-on-https","title":"Does not use HTTPS","description":"All sites should be protected with HTTPS, even ones that don't handle sensitive data. HTTPS prevents intruders from tampering with or passively listening in on the communications between your app and your users, and is a prerequisite for HTTP/2 and many new web pla
View mint-audit
{"userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36","environment":{"networkUserAgent":"Mozilla/5.0 (Linux; Android 6.0.1; Nexus 5 Build/MRA58N) AppleWebKit/537.36(KHTML, like Gecko) Chrome/71.0.3559.0 Mobile Safari/537.36","hostUserAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36","benchmarkIndex":752},"lighthouseVersion":"3.2.0","fetchTime":"2019-02-06T14:08:47.924Z","requestedUrl":"http://mint-ui.org/","finalUrl":"http://mint-ui.org/","runWarnings":[],"runtimeError":{"code":"NO_ERROR","message":""},"audits":{"is-on-https":{"id":"is-on-https","title":"Does not use HTTPS","description":"All sites should be protected with HTTPS, even ones that don't handle sensitive data. HTTPS prevents intruders from tampering with or passively listening in on the communications between your app and your users, and is a prerequisite for HTTP/2 and many new web plat
View rdf test
+ for i in text/turtle application/ld+json application/rdf+xml application/n-triples
+ curl -I -H 'Accept: text/turtle' http://mint.mosorio.me/mint/instance/modflow_nwt_cfg
HTTP/1.1 303 See Other
Server: nginx/1.13.11
Date: Mon, 28 Jan 2019 14:29:02 GMT
Content-Length: 0
Connection: keep-alive
X-Powered-By: Express
Location: /data/mint/instance/modflow_nwt_cfg
Vary: Accept
@sirspock
sirspock / demo-wings.py
Created Jan 17, 2019
upload data to wings using the API.
View demo-wings.py
import cgi
import requests
import os
import logging
WINGS_API_URL = "http://localhost:8080/wings-portal"
logger = logging.getLogger('demo')
def getFilename(filepath):
View demo-wings.py
import cgi
import requests
import json
import os
WINGS_API_URL = "http://localhost:8080/wings-portal"
def getFilename(filepath):
return os.path.basename(filepath).split('.')[0]
You can’t perform that action at this time.