Skip to content

Instantly share code, notes, and snippets.

@a-a
a-a / alpine-incus.md
Last active February 6, 2024 22:06 — forked from seia-soto/howto.md
How to compile lxc/incus on AlpineLinux

How to build lxc/incus on AlpineLinux (musl)

The document was written to build Incus v0.5.1. You may need a different how-to if you want to build higher versions of Incus.

  • Incus v0.5.1 (via Git)
  • AlpineLinux 3.18 x86_64
  • Canonical LXD-UI (Via Git)

This how-to document will help you to build Incus for AlpineLinux. Original references are:

@a-a
a-a / token.py
Created May 12, 2024 14:20
freeotp+ freeotp plus json token reader with QR output
#! /usr/bin/env python3
# usage: ensure freeotp-backup.json exists in working dir, run this
# if all goes well, it will spit out qr codes. you can enrol these to another authentictor app.
# good luck and try not to break your phone again ;)
#
# known limitations: HOTP is UNTESTED. the counter handling might be wrong. i didn't have any working HOTP to test against
import sys, json, qrcode, base64, platform
def qr_term_str(str):
@a-a
a-a / pods.csv
Created December 5, 2024 23:53
rancid_juulpod.py
batchnumber series strength flavour region copyright podrev code podmodel
KK11SAS1D Juul 2 1.8 Polar Menthol GB 2021 A 455-01929 PSP001
KL18SAS1D Juul 2 1.8 Polar Menthol GB 2021 A 455-01929 PSP001
LJ09SAS2D Juul 2 1.8 Polar Menthol GB 2022 B 455-01929 PSP001
MG14SAS2D Juul 2 1.8 Polar Menthol GB 2023 C 455-01929 PSP001
MH08SAS2D Juul 2 1.8 Polar Menthol GB 2023 C 455-01929 PSP001
MJ11SAS2D Juul 2 1.8 Polar Menthol GB 2023 C 455-01929 PSP001
ML27SAS2D Juul 2 1.8 Polar Menthol GB 2023 C 455-01929 PSP001
MM29SBS2D Juul 2 1.8 Polar Menthol GB 2023 C 455-01929 PSP001
NB23SAS2D Juul 2 1.8 Polar Menthol GB 2023 C 455-01929 PSP001