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
[user] | |
name = Jens Kohl | |
email = jens.kohl@… | |
signingkey = 8EFDF903 | |
[color] | |
status = auto | |
diff = auto | |
branch = auto | |
interactive = auto | |
pager = false |
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
""" | |
required packages: | |
numpy | |
matplotlib | |
basemap: http://matplotlib.org/basemap/users/installing.html | |
shapely: https://pypi.python.org/pypi/Shapely | |
descartes: https://pypi.python.org/pypi/descartes | |
random | |
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
#!/bin/sh | |
export LANG=C | |
echo "wait 60 seconds" | |
{ | |
gammu getussd "*100#" |\ | |
grep reply |\ | |
awk '{print substr($4, 2, length($4)-2)}' |\ | |
sed 's/\([0-9A-F]\{2\}\)/\\\\\\x\1/gI' |\ | |
xargs printf; | |
} & |
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
server { | |
listen 80; | |
server_name www.domain.tld domain.tld; | |
access_log /var/log/nginx/domain.tld.access_log andre; | |
error_log /var/log/nginx/domain.tld.error_log warn; | |
# iTunes podcast does not accept SSL in 2016 :-( | |
root /var/www/domain.tld/htdocs/; |
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
#defaultView:Map | |
PREFIX lgdo: <http://linkedgeodata.org/ontology/> | |
PREFIX geom: <http://geovocab.org/geometry#> | |
PREFIX ogc: <http://www.opengis.net/ont/geosparql#> | |
PREFIX bif: <bif:> | |
SELECT ?subway ?geometry (SAMPLE(?label) AS ?label) ?layer WHERE { | |
SERVICE <http://linkedgeodata.org/sparql> { | |
?railwayThing a lgdo:RailwayThing; |
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
#!/bin/bash | |
# Created 2019-04, Author: René Weselowski <[email protected]> | |
# | |
# This script is entended as an macos automator 'application' run at startup | |
# to kill the MSTeams process and restart it wiith '--disable-gpu' | |
# | |
# Usage: | |
# Create a new automator task "Run Shell Script" | |
# Shell: /bin/bash | |
# Put it into your login/startup items |
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
-- Common metadata ------------------------------------------------------------- | |
-- Units | |
CREATE TABLE units ( | |
id SERIAL PRIMARY KEY, | |
-- Metadata | |
name VARCHAR NOT NULL UNIQUE, | |
note TEXT NOT NULL DEFAULT '', | |
-- |