Keybase proof
I hereby claim:
- I am fbartels on github.
- I am fbartels (https://keybase.io/fbartels) on keybase.
- I have a public key ASDVGgpkWVDmZpJDH08J0oQSlyAXBcwAPRY4Wsj19_FbBAo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
#!/usr/bin/env bash | |
which jq &> /dev/null | |
if [[ $? -ne 0 ]] | |
then | |
echo "Please install jq first, see https://stedolan.github.io/jq/" | |
exit 1 | |
fi | |
name=$(curl -s https://randomuser.me/api/?inc=name) |
#!/usr/bin/perl -w | |
use strict; | |
use DBI; | |
my $L1 = 10; | |
my $L2 = 20; | |
sub do_error($) { | |
exit(1); |
#!/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. | |
""" | |
Alias /zarafa-client /var/lib/zarafa/client/ | |
<Directory /var/lib/zarafa/client/> | |
Options Indexes FollowSymLinks MultiViews | |
AllowOverride None | |
Order allow,deny | |
allow from all | |
</Directory> |
#!/volume1/@appstore/python/bin/python | |
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: ./pvr_poweron.py > /etc/power_sched.conf (or use cron) | |
# location of Tvheadend PVR-schedule files: | |
PVR_DIR="/usr/local/tvheadend/var/dvr/log" | |
# Day-code constants for power scheduler Monday-Sunday: |