This file has been truncated, but you can view the full file.
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
{ | |
"features": [ | |
{ | |
"type": "Feature", | |
"properties": { | |
"phenomenons": { | |
"Engine Load": { | |
"value": 25.490196228027344 | |
}, | |
"GPS PDOP": { |
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
<?xml version='1.0' encoding='utf-8'?> | |
<tomcat-users xmlns="http://tomcat.apache.org/xml" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://tomcat.apache.org/xml tomcat-users.xsd" | |
version="1.0"> | |
<user username="endpoint" password="endpoint" roles="manager"/> | |
</tomcat-users> |
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 hxl: <http://hxl.humanitarianresponse.info/ns/#> | |
SELECT ?population ?count ?date | |
WHERE { | |
GRAPH ?g { | |
?population hxl:personCount ?count . | |
?g hxl:validOn ?date . | |
} | |
} ORDER BY ?population DESC(?date) |
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
<?php | |
// this is the directory where you have your json files from the moves API stored | |
$dir = "/my/input/dir"; | |
// this is where your geojson files will be stored | |
$outdir = "/my/output/dir"; | |
$geojsonplaces = [ | |
"type" => "FeatureCollection", | |
"features" => [ ], | |
]; |
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
DROP FUNCTION IF EXISTS carsten_upsert_pois(int[], text[]); | |
-- Returns a set of op,cartodb_id values where op means: | |
-- | |
-- deleted: -1 | |
-- updated: 0 | |
-- inserted: 1 | |
-- | |
CREATE OR REPLACE FUNCTION carsten_upsert_pois( | |
cartodb_ids integer[], |
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
Here is a simple jQuery plugin to make a table header fixed on top of a div when this is scrolled. | |
Using the code from twitter bootstrap documentation page, this code is customized for table header. | |
Create the table with following layout - | |
<div class="row fixed-table"> | |
<div class="table-content"> | |
<table class="table table-striped table-fixed-header" id="mytable"> | |
<thead class="header"> | |
<tr> | |
<th>Email Address</th> |
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
voronoipolygons = function(layer) { | |
require(deldir) | |
crds = layer@coords | |
z = deldir(crds[,1], crds[,2]) | |
w = tile.list(z) | |
polys = vector(mode='list', length=length(w)) | |
require(sp) | |
for (i in seq(along=polys)) { | |
pcrds = cbind(w[[i]]$x, w[[i]]$y) | |
pcrds = rbind(pcrds, pcrds[1,]) |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
rapper -i turtle -o dot model.ttl | dot -Tpdf -omodel.pdf |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.