Skip to content

Instantly share code, notes, and snippets.

@tuxlife
tuxlife / fotograf.user.js
Last active November 15, 2017 11:02
Fotograf.de Photo Order Sorter
// ==UserScript==
// @name Fotograf.de Photo Order Sorter
// @namespace http://tuxlife.net/
// @version 0.3.3
// @description Sort the pictures in the fotograf.de order
// @author Matthias Kerk <matthias@tuxlife.net>
// @homepage https://gist.github.com/tuxlife/bfd94e28e0f03d354006606f48ee9d89
// @downloadURL https://gist.github.com/tuxlife/bfd94e28e0f03d354006606f48ee9d89/raw/fotograf.user.js
// @match https://app.fotograf.de/config_orders/view_order/*
// @require https://cdnjs.cloudflare.com/ajax/libs/tinysort/2.3.6/tinysort.js
@tuxlife
tuxlife / setup.sh
Created April 1, 2016 10:26
GPG Setup
# Usage:
# $ . setup.sh /mnt/foobar
# additional informations/ideas
# https://blog.josefsson.org/2014/06/23/offline-gnupg-master-key-and-subkeys-on-yubikey-neo-smartcard/
# https://www.esev.com/blog/post/2015-01-pgp-ssh-key-on-yubikey-neo/
if ping -c 1 8.8.8.8; then
echo nameserver 8.8.8.8 >> /etc/resolv.conf
apt-get update
apt-get install -y gnupg2 haveged paperkey opensc pcscd scdaemon libccid pinentry-curses

Keybase proof

I hereby claim:

  • I am tuxlife on github.
  • I am tuxlife (https://keybase.io/tuxlife) on keybase.
  • I have a public key ASCbD_jQwTvs7tWSs4DbMzKTRN7EqJYpTVaqUxqAQ8pbuwo

To claim this, I am signing this object:

@tuxlife
tuxlife / 08FBDDF1.asc
Created March 8, 2016 20:12
PGP Public Key
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v1
mQINBFbcoZUBEAC/gzm1iIpEP3mho01nMOO+2Nj4AyDagHQsQuKgBPF3DlTw11au
wWor7cyjWCKUAepjkQwKU/HHG2273iajxhqe53k+AdmmJjM5qF+TUiAfA/tGpp+X
zDDX2h3DW8RrMj1XhpoBHqrPzXNC5nlp7L/JF48eskL01ZN4T/+eVzbdTmDSmtP9
bMl0tUxyf7MSiaIFnF7EhkzZVhzDtqJiLClHADl56nlJtV0fmKJQScUvv5FCtXB3
chSXBRckf0/JMBeI72U08DOmR5G3+l1GTW6sCb41N6VvxCS9WufQJe0SLsglikyg
4pNg6/TDmsbsdfco8lbm4DNoF+faKquUxQiglvUjFwRMQT89Z5d32iolIwVHiDd4
FH9tIqHKdgkKfop+Ms2eHv7QH+/HMV9XYpIJs+czCvJ1kiTK5Y8+E3WPkDh6oCBe
@tuxlife
tuxlife / boto.exception.NoAuthHandlerFound.md
Last active October 14, 2015 13:16
boto.exception.NoAuthHandlerFound: No handler was ready to authenticate. 1 handlers were checked. ['HmacAuthV3Handler'] Check your credentials

Folgende Exception wird ignoriert, bzw. falsch behandelt: TypeError("get() got an unexpected keyword argument 'raw'",)

boto/pyami/config.py

    def get(self, section, name, default=None):
        try:
            val = ConfigParser.get(self, section, name)
        except:
            val = default