Instantly share code, notes, and snippets.

Jan jaltek

  • Heidelberg, Germany
View GitHub Profile
jaltek /
Created Jan 4, 2019 — forked from kontez/
A guide to back up and recover 2FA tokens from FreeOTP (Android)

Backing up and recovering 2FA tokens from FreeOTP

Backing up FreeOTP

Using adb, create a backup of the app using the following command:

adb backup -f freeotp-backup.ab -apk org.fedorahosted.freeotp

Keybase proof

I hereby claim:

  • I am jaltek on github.
  • I am jaltek ( on keybase.
  • I have a public key ASBHdldX-SAUl1t2j9QZyk0kgSRmzCCAUKncsI2CnIs59Qo

To claim this, I am signing this object:

jaltek /
Last active Aug 23, 2018
uberspace, maildrop & MySQL

uberspace, maildrop & MySQL

A simple maildrop sender filter with MySQL backend

This is a simple maildrop filter which filters incoming messages by the sender address and move it to the corresponding folder. E-Mail address and destination folder are both defined in a MySQL table.

This example is used in an uberspace environment.

Step 1: Create MySQL table

For convenience we use the already existing database corresponding to your uberspace account (e.g. your uberspace username is melanie there will be already a database called melanie.