Skip to content

Instantly share code, notes, and snippets.

Carsten Keßler crstn

Block or report user

Report or block crstn

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
@crstn
crstn / ACM SIGSPATIAL GIS 13
Created May 19, 2014
GIScience conference proceedings titles
View ACM SIGSPATIAL GIS 13
Sweeping a Terrain by Collaborative Aerial Vehicles
Computing Highly Occluded Paths on a Terrain
On IO-efficient Viewshed Algorithms and Their Accuracy
Virtual Traffic for Real-World Challenges
An Opportunistic Client User Interface to Support Centralized Ride Share Planning
Evaluating Eco-Driving Advice Using GPS/CANBus Data
Energy-Optimal Routes for Electric Vehicles
Analysis and Evaluation of the Slugging Form of Ridesharing
Mapping Spatial Data to RDF: a SPARQL Endpoint for Brussels
Spatiotemporal Braitenberg Vehicles
@crstn
crstn / index.html
Last active Aug 29, 2015
UNHCR refugee flows 2012
View index.html
<!DOCTYPE html>
<meta charset="utf-8">
<head>
<title>UNHCR Refugee Flows 2012</title>
<style>
body{
font-family: "Helvetica", sans-serif;
text-align: center;
}
View iati.csv
country usd
MNE 212071344
EST -3643199
HUN -6611887
JOR 1289290880
ERI 42736336
SVN -1732240
MKD 116353200
MYS 10559068
SRB 143880736
@crstn
crstn / functions.php
Created Feb 7, 2014
Piwik RSS feed tracking via blind pixels
View functions.php
// Add this to the functions.php of your wordpress Theme. Get the URL for the tracking pixel from your Piwik instance.
function feedFilter($query) {
if ($query->is_feed) {
add_filter('the_content','feedContentFilter');
}
return $query;
}
add_filter('pre_get_posts','feedFilter');
@crstn
crstn / gist:6552662
Last active Dec 23, 2015
Transforms JSON files exported from the moves API [1] into GeoJSON, which can then be used in a number of applications, such as CartoDB or Leaflet. [1] http://dev.moves-app.com
View gist:6552662
<?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" => [ ],
];
@crstn
crstn / Query 1: Get all counts, sorted by date (new to old).sparql
Last active Dec 20, 2015
Demo for point in time data in HXL. See comments below for a how-to.
View Query 1: Get all counts, sorted by date (new to old).sparql
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)
@crstn
crstn / RDF in Turtle to PDF Graph
Last active Sep 15, 2018
Create a graph visualization from an RDF file using http://librdf.org/raptor/ and http://www.graphviz.org.
View RDF in Turtle to PDF Graph
rapper -i turtle -o dot model.ttl | dot -Tpdf -omodel.pdf
@crstn
crstn / gist:3990276
Created Oct 31, 2012
My Fuseki configuration
View gist:3990276
@prefix : <#> .
@prefix fuseki: <http://jena.apache.org/fuseki#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix tdb: <http://jena.hpl.hp.com/2008/tdb#> .
@prefix ja: <http://jena.hpl.hp.com/2005/11/Assembler#> .
[] rdf:type fuseki:Server ;
fuseki:services (
@crstn
crstn / gist:3830081
Created Oct 3, 2012
MUSIL publications list
View gist:3830081
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:foaf="http://xmlns.com/foaf/0.1/"
xmlns:bibo="http://purl.org/ontology/bibo/">
<head>
<meta http-equiv="Content-Type" content="text/html" />
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
</head>
<body>
@crstn
crstn / README.txt
Created Oct 2, 2012 — forked from flaviaza/README.txt
Twitter bootstrap fixed table header using jQuery
View README.txt
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>
You can’t perform that action at this time.