Skip to content

Instantly share code, notes, and snippets.

View lschuermann's full-sized avatar

Leon Schuermann lschuermann

View GitHub Profile
@JohnAZoidberg
JohnAZoidberg / split.sh
Created April 17, 2020 21:45
Split a scanned PDF at a separator page with a QR code
#! /usr/bin/env nix-shell
#! nix-shell -i bash -p zbar poppler_utils
# Separate PDF
pdfseparate scanned.pdf 'page-%02d.pdf'
# Combine
pdfs=""
combined=0
@dearing
dearing / docker-nftables.conf
Created February 25, 2016 14:26
nftables with docker
# /etc/systemd/system/docker.service.d/docker-nftables.conf
# disable iptables in docker, allowing nftables to do work
[Service]
ExecStart=
ExecStart=/usr/bin/docker daemon -H fd:// --iptables=false
@dabrahams
dabrahams / gist:3030332
Created July 2, 2012 01:10
My new, simpler offlineimap configuration
# -*- mode: conf; -*-
#
# NOTE: Settings generally support python interpolation. This means
# values can contain python format strings which refer to other values
# in the same section, or values in a special DEFAULT section. This
# allows you for example to use common settings for multiple accounts:
#
# [Repository Gmail1]
# trashfolder: %(gmailtrashfolder)s
#