Skip to content

Instantly share code, notes, and snippets.

### Keybase proof
I hereby claim:
* I am fheinle on github.
* I am heinlef (https://keybase.io/heinlef) on keybase.
* I have a public key ASBGISMaMV3JV5lAZxiKOogirUxH_mAU9dOG0FTg1gtgnAo
To claim this, I am signing this object:
@fheinle
fheinle / puppetboard.pp
Created December 18, 2017 17:18
Puppet-Manifest mit Kerberos-Auth
```puppet
# install and configure puppetboard
class profiles::puppetboard {
$krb_auth_realm = lookup('profiles::puppetboard::krb_auth_realm', String)
$krb_5keytab = lookup('profiles::puppetboard::krb_5keytab', String)
$servername = lookup('profiles::puppetboard::servername', String, 'first')
class { '::puppetboard':
default partial alphanumeric_keys modifier_keys
xkb_symbols "basic" {
name[Group1]= "English (US)";
key <TLDE> { [ grave, asciitilde ] };
key <AE01> { [ 1, exclam ] };
key <AE02> { [ 2, at ] };
key <AE03> { [ 3, numbersign ] };
key <AE04> { [ 4, dollar ] };
--- us.distrib 2016-01-22 09:38:25.000000000 +0100
+++ us 2017-05-06 16:53:11.964087368 +0200
@@ -19,19 +19,19 @@
key <AD01> { [ q, Q ] };
key <AD02> { [ w, W ] };
- key <AD03> { [ e, E ] };
+ key <AD03> { [ e, E, EuroSign, EuroSign ] };
key <AD04> { [ r, R ] };
key <AD05> { [ t, T ] };

Keybase proof

I hereby claim:

  • I am fheinle on github.
  • I am heinlef (https://keybase.io/heinlef) on keybase.
  • I have a public key ASDVtEHSOzZavggmPOk8NmQwOvkt0TbGsDuri6JhvAJb6Ao

To claim this, I am signing this object:

@fheinle
fheinle / davput.py
Last active March 25, 2023 08:51
Recursive upload with cadaver
#!/usr/bin/env python
# -*- coding: utf-8 -*-
""" perform recursive uploads using cadaver
cadaver does not support recursive directory upload.
This script will upload a given path to a given URL
"""
[addressbooks]
[[kontakte]]
path = ~/.pim/kontakte/kontakte/
[general]
editor = /usr/bin/vim
default_country = Germany
default_action = list
show_nicknames = no
[calendars]
[[default]]
path = ~/.pim/kalender/defaultcalendar/
color = light red
[[geburtstage]]
path = ~/.pim/kalender/contact_birthdays/
color = yellow
readonly = true
[general]
status_path = ~/.local/share/vdirsyncer/
[pair Kontakte]
a = kontakte_lokal
b = kontakte_remote
collections = ["from b"]
[storage kontakte_lokal]
type = filesystem
@fheinle
fheinle / keepass.desktop
Created August 20, 2014 18:50
KeePass startup script
[Desktop Entry]
Name=KeePass
GenericName=Passwortspeicher
Comment=Autostart KeePass with password from keyring
Exec=/home/florian/.bin/keepass.sh
Terminal=false
Type=Application
Icon=keepassx
Categories=Network;FileTransfer;
StartupNotify=false