Skip to content

Instantly share code, notes, and snippets.

View sebastian-meier's full-sized avatar
🤖
Wrestling Robots

Sebastian Meier sebastian-meier

🤖
Wrestling Robots
View GitHub Profile
@sebastian-meier
sebastian-meier / README.md
Last active December 3, 2020 21:22
Interactive Parallel Coordinates with Ordinal Axis

An interactive parallel coordinate visualization with brushing and resorting of axis.

This gist is based on those three gists: The original paralle coordinate example was written by Mike Bostock, link Jason Davies added interactions, here And Kai added an example for ordinal axis, here

I simply combined the interactions and the ordinal axis.

@sebastian-meier
sebastian-meier / config.json
Created December 1, 2015 10:00
MapboxGL.JS example
{
"version": 8,
"sources": {
"bezirke": {
"type": "vector",
"tiles": [
"http://YOURSERVER:10060/v2/tiles/{z}/{x}/{y}.pbf"
],
"minzoom": 0,
"maxzoom": 14
@sebastian-meier
sebastian-meier / Readme.md
Last active June 8, 2016 08:16
Scatterplots with Blur

Scatterplots with Blur

The slider is taken from http://bl.ocks.org/shancarter/5979700

Inspired by "Enhancing Scatterplots with Multi-Dimensional Focal Blur", Joachim Staib, Sebastian Grottel, Stefan Gumhold - EuroVis 2016

Keybase proof

I hereby claim:

  • I am sebastian-meier on github.
  • I am seb_meier (https://keybase.io/seb_meier) on keybase.
  • I have a public key ASClVDVe2T3A8YUGfjNcDmim39dtJ4cNnsRQ9Mhzi5_Idwo

To claim this, I am signing this object:

Keybase proof

I hereby claim:

  • I am sebastian-meier on github.
  • I am seb_meier (https://keybase.io/seb_meier) on keybase.
  • I have a public key ASClVDVe2T3A8YUGfjNcDmim39dtJ4cNnsRQ9Mhzi5_Idwo

To claim this, I am signing this object:

@sebastian-meier
sebastian-meier / twitter-fonts.css
Created May 10, 2019 08:39
Change Twitter Fonts
/* OLD TWITTER UI */
.tweet-text {
font-family:"BLOKK Neue" !important;
}
.tweet-text a,
.tweet-text a *{
font-family:"Helvetica Neue",Helvetica,Arial,sans-serif !important;
}
sudo apt-get update
sudo apt-get install -y git
git clone https://github.com/adafruit/pi_video_looper.git
cd pi_video_looper
sudo ./install.sh
sudo reboot
@sebastian-meier
sebastian-meier / index.js
Created August 21, 2020 09:28
batch ogr2ogr downloader for Berlin's fisbroker
let fs = require('fs')
const { exec } = require('child_process')
let minx = 369095.687897,
miny = 5799302.08121,
maxx = 416868.309276,
maxy = 5838240.33418
//ogr2ogr flurstuecke.sqlite -f SQLite flurstuecke.vrt
@sebastian-meier
sebastian-meier / branches.txt
Last active March 22, 2024 02:36
QGIS Geometry Generators - CartoHack #9
collect_geometries(
array_foreach(
generate_series(1, to_int("count"), 1),
translate(
geom_from_wkt(
concat(
'LINESTRING(0 50,',
to_string(rand(-25, 25, concat("fid", '_x', @element))),
' ',
to_string(rand(-5, 5, concat("fid", '_y', @element))),
@sebastian-meier
sebastian-meier / README.md
Created April 11, 2022 19:00
NextCloud batch share link create and collect script

I use our university's NextCloud instance to host my remote teaching videos. But manually generating all those share links that I need is no fun.

Open the folder with all the videos you want to generate share links for. And execute the script. The script will go through the list and click the share button, then click the generate share link button, the resulting share link is than stored in an array and returned in the end.

The script has a filter to check for specifc extensions only.

NextCloud can be a bit slow at times (at least out instance, so you might need to modify the timeout variable.

You need to scroll once to the end of the page, to load all the data.