Skip to content

Instantly share code, notes, and snippets.

Stefan Siegert sieste

  • Exeter, United Kingdom
Block or report user

Report or block sieste

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
sieste / ParseDate.vim
Created Apr 9, 2018
vimscript function to format a string that describes a date ('now', 'in 2 days 2pm', 'next week'), using pythons `dateparser` module
View ParseDate.vim
" vimscript function takes input string `inp`, hands it to python function `parse` (module `dateparser`),
" and outputs the parsed date in format `fmt`; return `inp` if string could not be parsed to valid date
" Example:
" :echo ParseDate('tomorrow', '%Y %m %d')
function! ParseDate(inp, fmt)
python << endpython
import vim, dateparser as dp
inp = vim.eval('a:inp')
fmt = vim.eval('a:fmt')
inp_parsed = dp.parse(inp, languages=['en','de'],
sieste /
Last active Sep 21, 2019
Minimal instructions to install Printer/Scanner combo "Brother DCP-J4120DW" under Arch Linux


  • Power up the printer, install cartridges
  • Settings -> Wi-Fi -> Setup-Wizard to connect printer to your network
  • Settings -> Wi-Fi -> TCP/IP, note IP address (mine is
  • check if printer is reachable on the network: ping
  • create new user "lp" in group "lp": sudo useradd -s /bin/false -g lp lp

Install printer

  • install driver from AUR: yaourt brother-dcpj4120dw
sieste / arch-linux-encrypted-kernel-downgrade
Created Nov 14, 2016
Minimal instructions for kernel downgrade on arch linux with full system encryption using dm-crypt and luks
View arch-linux-encrypted-kernel-downgrade
# Kernel downgrade on ARCH Linux with encrypted file-system
# assumes you followed to set up your system
# Credits:
# Boot into archiso live USB
sieste / arch-linux-install
Last active Sep 29, 2016 — forked from mattiaslundberg/arch-linux-install
Minimal instructions for installing arch linux on an UEFI system with full system encryption using dm-crypt and luks
View arch-linux-install
# Install ARCH Linux with encrypted file-system and UEFI
# The official installation guide ( contains a more verbose description.
# Download the archiso image from
# Copy to a usb-drive
dd if=archlinux.img of=/dev/sda bs=16M && sync # on linux
# Boot from the usb. If the usb fails to boot, make sure that secure boot is disabled in the BIOS configuration.
# This assumes a wifi only system...
You can’t perform that action at this time.