This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
... | |
lock() { | |
if (this._lockTimeout) { | |
clearTimeout(this._lockTimeout); | |
} | |
this.locked = true; | |
this._lockTimeout = setTimeout(() => { this.locked = false; }, LOCK_TIMEOUT); | |
} | |
componentDidUpdate() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"@context": { | |
"dul": "http://www.loa-cnr.it/ontologies/DUL.owl#", | |
"geo": "http://www.w3.org/2003/01/geo/wgs84_pos#", | |
"geosparql": "http://www.opengis.net/ont/geosparql#", | |
"hmtr": "http://purl.org/NET/ssnext/heatmeters#", | |
"limap": "http://data.uni-muenster.de/php/vocab/limap", | |
"limapext": "http://purl.org/NET/limapext#", | |
"rdf": "http://www.w3.org/1999/02/22-rdf-syntax-ns#", | |
"rdfs": "http://www.w3.org/2000/01/rdf-schema#", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var asyncReduce = function(array, iterator, callback) { | |
var index = 0; | |
if (!(array instanceof Array)) { | |
throw new Error('first argument is required to be an array'); | |
} | |
if (!iterator || typeof iterator !== "function") { | |
throw new Error('second argument required to be a function'); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports = function (grunt) { | |
"use strict"; | |
// requirements | |
var fs = require('fs'); | |
var glob = require("glob"); | |
var argv = require('yargs').argv; | |
var mkdirp = require('mkdirp'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
########################################################################### | |
# # | |
# 0 - turn the rule off # | |
# 1 - turn the rule on as a warning (doesn't affect exit code) # | |
# 2 - turn the rule on as an error (exit code is 1 when triggered) # | |
# # | |
# see http://eslint.org/docs/rules/ # | |
# # | |
########################################################################### |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@prefix hmtr: <http://purl.org/NET/ssnext/heatmeters#> . | |
@prefix meter: <http://purl.org/NET/ssnext/meters/core#> . | |
@prefix ssn: <http://purl.oclc.org/NET/ssnx/ssn#> . | |
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
@prefix om: <http://purl.org/ifgi/om#> . | |
@prefix : <coap://10.1.1.1:6500/meter/heat#> . | |
:1431869485138 a hmtr:HeatObservation ; | |
ssn:observationResultTime "2015-05-17T13:31:25.138Z"^^xsd:dateTime ; | |
ssn:observedBy <coap://10.1.1.1:6500/meter> ; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | |
@prefix ssn: <http://purl.oclc.org/NET/ssnx/ssn#> . | |
@prefix hmtr: <http://purl.org/NET/ssnext/heatmeters#> . | |
@prefix ssncom: <http://purl.org/NET/ssnext/communication#> . | |
@prefix geo: <http://www.w3.org/2003/01/geo/wgs84_pos#> . | |
@prefix geosparql: <http://www.opengis.net/ont/geosparql#> . | |
@prefix dul: <http://www.loa-cnr.it/ontologies/DUL.owl#> . | |
@prefix limapext: <http://purl.org/NET/limapext#> . | |
@prefix limap: <http://data.uni-muenster.de/php/vocab/limap> . |