Skip to content

Instantly share code, notes, and snippets.

View stefanszymanski's full-sized avatar

Stefan Szymanski stefanszymanski

View GitHub Profile
@stefanszymanski
stefanszymanski / VOID-INSTALL.md
Created January 5, 2021 06:13 — forked from tobi-wan-kenobi/VOID-INSTALL.md
Void Linux installation (NVMe, btrfs, LVM, full disk encryption using LUKS, 2FA-ish, SSD TRIM)

Void Linux installation (NVMe, btrfs, LVM, full disk encryption using LUKS, 2FA-ish, SSD TRIM)

Here's a record of my experiences when setting up Void Linux for the first time, maybe it contains useful information for somebody :-)

Basics

  • Laptop: Lenovo IdeaPad S340
  • Void Linux installer version: 20191109 (x86_64 musl)

Features

@stefanszymanski
stefanszymanski / Makefile
Created May 7, 2020 09:06
Microsoft Teams update Makefile
URL = https://go.microsoft.com/fwlink/p/?linkid=2112886&clcid=0x407&culture=de-de&country=de
BUILD_DIR = build
VERSION = $(shell ls ${BUILD_DIR}/*.deb | awk -F"_" '{ print $$2 }')
clean:
rm -Rf build
init:
mkdir -p build
@stefanszymanski
stefanszymanski / mbsync_account_migration.md
Last active April 30, 2020 14:45
move IMAP mails to another account

Context

I had to move my mails from one account to another when my employer switched from self hosted mailing to an external service provider. In this process no mail adresses have changed. The only difference was the mailing server.

Prerequisites

  • mbsync/isync

Steps

@stefanszymanski
stefanszymanski / pinentry-wrapper.md
Last active April 15, 2023 14:21
Pinentry wrapper

I started using this script as pinentry-program in my gpg-agent.conf when I wanted pass (https://www.passwordstore.org/) to work in qutebrowser.

I saved it as /usr/bin/pinentry-auto and always start qutebrowser with PINENTRY_USER_DATA=gtk qutebrowser.

#!/bin/bash

case $PINENTRY_USER_DATA in
 gtk) exec /usr/bin/pinentry-dmenu "$@" ;;