Skip to content

Instantly share code, notes, and snippets.

Franz Josef Kaiser franz-josef-kaiser

View GitHub Profile
franz-josef-kaiser /
Created May 9, 2020
Run Volumio hifi audiophile in a docker container on MacOS
#!/usr/bin/env bash
mkdir music data
set MUSIC_DIR=./music
docker run \
--rm \
-d \
--name volumio \
-e HOST= \ # Your local network IP
franz-josef-kaiser / .bash_profile
Last active May 12, 2020
QNAP Entware opkg command not found
View .bash_profile
# .bash_profile
# /share/CACHEDEV1_DATA/.qpkg/container-station/bin location of `docker`/ `docker-compose` binaries
# /opt/bin location where `opkg` binary is installed to.
export PATH=\
franz-josef-kaiser /
Last active Sep 12, 2018
One line tutorial on how to avoid registering a Netgear account.

How to avoid registering a Netgear account just to log in to the admin management UI.

Open start_repeater.html:

Works for AP / repeater Netgear Genie EX3700 for e.g.

In case you are doing a factory reset (button on the hardware), make sure to clear all site data from storage: Chrome Developer Tools > Application Tab > Clear Storage > Press button on the bottom "Clear site data". Else you will have endless redirects as the JavaScript is slightly fucked up.

franz-josef-kaiser / FlowMeterDIY.ino
Created May 29, 2017
Copy of a FlowMeter logging code. A FlowMeter is used in for example Espresso Machines and is a liquid flow rate sensor.
View FlowMeterDIY.ino
Liquid flow rate sensor Arvind Sanjeev
Measure the liquid/water flow rate using this code.
Connect Vcc and Gnd of sensor to arduino, and the
signal line to arduino digital pin 2.
Source: @link
franz-josef-kaiser / composer.json
Created Feb 11, 2017
Composer bootstrapped Drupal scaffold.
View composer.json
"name" : "vendor/project",
"description" : "Much awesome. So wow.",
"type" : "project",
"license" : "MIT",
"authors" : [
"name" : "Firstname Lastname",
"email" : "",
"role" : "Developer"
franz-josef-kaiser /
Last active Dec 1, 2019
Example of SSHFS remote filesystem mounting. Useful in case one needs to access files created on a remote server on a regular basis
#!/usr/bin/env bash
sshfs \ /local/folder/to/project \
-o ServerAliveInterval=15 \
-o ServerAliveCountMax=20 \
-o reconnect \
-o defer_permissions \
-o negative_vncache \
-o volname=vendorname \

Keybase proof

I hereby claim:

  • I am franz-josef-kaiser on github.
  • I am wecodemore ( on keybase.
  • I have a public key whose fingerprint is 28BE F577 7D40 8B11 E67A 0998 0254 B1D9 3645 9541

To claim this, I am signing this object:

franz-josef-kaiser /
Last active Sep 17, 2016
Useful terminal commands



Adding and Removing a Printer

This is done via the lpadmin command. To add a printer, use this format:

lpadmin -p Printer_Name -L "Printer Location" -E -v lpd://x.x.x.x 
 -P /Library/Printers/PPDs/Contents/Resources/en.lproj/Printer_Driver.gz
franz-josef-kaiser /
Created Sep 2, 2016 — forked from miki725/
Custom bash prompt which displays: (virtualenv) user:/path (git-branch)
# Set the bash prompt according to:
# * the active virtualenv
# * the branch of the current git/mercurial repository
# * the return value of the previous command
# * the fact you just came from Windows and are used to having newlines in
# your prompts.
franz-josef-kaiser /
Created Aug 24, 2016 — forked from omegahm/
Create Gtihub labels from Bash
#!/usr/bin/env bash
# Colours picked from
# Label definitions
declare -A LABELS
# Platform
You can’t perform that action at this time.