Skip to content

Instantly share code, notes, and snippets.

View fbartels's full-sized avatar

Felix Bartels fbartels

View GitHub Profile

Keybase proof

I hereby claim:

  • I am fbartels on github.
  • I am fbartels ( on keybase.
  • I have a public key ASDVGgpkWVDmZpJDH08J0oQSlyAXBcwAPRY4Wsj19_FbBAo

To claim this, I am signing this object:

fbartels /
Created December 14, 2018 07:31 — forked from josephok/
Generate a random name based on
#!/usr/bin/env bash
which jq &> /dev/null
if [[ $? -ne 0 ]]
echo "Please install jq first, see"
exit 1
name=$(curl -s
fbartels /
Last active March 12, 2018 10:44 — forked from bkram/
perl /etc/kopano/server.cfg
#!/usr/bin/perl -w
use strict;
use DBI;
my $L1 = 10;
my $L2 = 20;
sub do_error($) {
fbartels / 00-button
Last active March 25, 2016 11:22 — forked from abstrask/00-button
Scripts for OpenWrt on TP-Link TL-MR3020 to change network configs using 3-position sliding switch
View 00-button
# based on
. /lib/
export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin
do_button () {
local button
fbartels /
Last active March 3, 2016 06:36 — forked from UniIsland/
Simple Python Http Server with Upload
#!/usr/bin/env python
"""Simple HTTP Server With Upload.
This module builds on BaseHTTPServer by implementing the standard GET
and HEAD requests in a fairly straightforward manner.
fbartels / zarafa-client
Created July 29, 2014 18:49
Apache vHost of all you local zarafa msi files (directory is used for Zarafa auto-update mechanism)
View zarafa-client
Alias /zarafa-client /var/lib/zarafa/client/
<Directory /var/lib/zarafa/client/>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
import datetime, os, json
# Write upcoming Tvheadend recording start dates to Synology power scheduler
# i.e. turn on your Synology so Tvheadend can record.
# Usage: ./ > /etc/power_sched.conf (or use cron)
# location of Tvheadend PVR-schedule files:
# Day-code constants for power scheduler Monday-Sunday: