Skip to content

Instantly share code, notes, and snippets.

View jdrowell's full-sized avatar

John D. Rowell jdrowell

View GitHub Profile
@QaidVoid
QaidVoid / alpine-install.md
Last active February 3, 2026 08:47
Install Alpine Linux on Encrypted Btrfs partition

Alpine Linux Installation on Encrypted Btrfs partition

Setup keymap, hostname, interfaces and network

setup-alpine

When prompted to select the disk for installation, press Ctrl+C to cancel the guided installation process.

Add required packages for installation

apk add cryptsetup e2fsprogs btrfs-progs dosfstools parted mkinitfs
@skystar-p
skystar-p / rpi4_zfs.md
Last active July 26, 2024 00:05
Install Arch Linux aarch64 + dm-crypt+ ZFS root on Raspbery Pi 4

Installing Arch Linux ARM(aarch64) with ZFS root on RPi4

Prerequisite

Boot up your aarch64 Arch Linux. Plug in SD card adapter and ensure that disk shows up on your system.

lsblk
// blowfish.cpp C++ class implementation of the BLOWFISH encryption algorithm
// _THE BLOWFISH ENCRYPTION ALGORITHM_
// by Bruce Schneier
// Revised code--3/20/94
// Converted to C++ class 5/96, Jim Conger
#include "blowfish.h"
#include "blowfish.h2" // holds the random digit tables
#define S(x,i) (SBoxes[i][x.w.byte##i])