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 / 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');
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 / 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;
}
@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 / evac_zones-simplified.geojson
Created Aug 11, 2014
NYC Flood Evacuation Zones Map
View evac_zones-simplified.geojson
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View index.html
<html>
<head>
<title>Leaflet template</title>
<link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet-0.7.3/leaflet.css"/>
<script src="http://cdn.leafletjs.com/leaflet-0.7.3/leaflet.js"></script>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>
<script src="https://raw.githubusercontent.com/calvinmetcalf/leaflet-ajax/master/dist/leaflet.ajax.min.js"></script>
<style>
html, body, #map {
height: 100%;
View asylum-data.csv
name Est. GDP in USD 2015 Applicants since 2011 Est. Pop 2015 Applicants by pop Applicants by GDP
Austria 380.555 104489 8.556 12.21236559 274.5700359
Belgium 463.799 79209 11.239 7.047691076 170.7830332
Bulgaria 51.551 27124 7.166 3.785096288 526.1585614
Denmark 297.359 35302 5.629 6.271451412 118.7184514
Finland 235.276 14361 5.506 2.60824555 61.03895
France 2469.530 255800 64.213 3.983617025 103.5824631
Germany 3413.483 547034 81.360 6.723623402 160.2568403
Greece 207.148 42800 10.993 3.893386701 206.6155599
Hungary 126.691 129203 9.857 13.10774069 1019.82777
@crstn
crstn / SNIPPET-FROM-single.php
Created Sep 28, 2012
Blognavigation zwischen Einträgen
View SNIPPET-FROM-single.php
<div class="post" id="post-<?php the_ID(); ?>">
<div id="prev-post"><?php previous_post_link('%link', '&laquo;') ?></div>
<div id="next-post"><?php next_post_link('%link', '&raquo;') ?></div>
...
</div>
@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 / 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 (
You can’t perform that action at this time.