Skip to content

Instantly share code, notes, and snippets.

View thielemans's full-sized avatar

Steffen Thielemans thielemans

  • Vrije Universiteit Brussel
  • Brussels, Belgium
View GitHub Profile
@thielemans
thielemans / btrfs-guide.md
Created September 1, 2025 07:55 — forked from MaxXor/btrfs-guide.md
Btrfs guide to set up an LUKS-encrypted btrfs raid volume with included maintenance & recovery guide

Encrypted Btrfs storage setup and maintenance guide

Initial setup with LUKS/dm-crypt

This exemplary initial setup uses two devices /dev/sdb and /dev/sdc but can be applied to any amount of devices by following the steps with additional devices.

Create keyfile:

dd bs=64 count=1 if=/dev/urandom of=/etc/cryptkey iflag=fullblock
chmod 600 /etc/cryptkey
@MaxXor
MaxXor / btrfs-guide.md
Last active December 3, 2025 12:27
Btrfs guide to set up an LUKS-encrypted btrfs raid volume with included maintenance & recovery guide

Encrypted Btrfs storage setup and maintenance guide

Initial setup with LUKS/dm-crypt

This exemplary initial setup uses two devices /dev/sdb and /dev/sdc but can be applied to any amount of devices by following the steps with additional devices.

Create keyfile:

dd bs=64 count=1 if=/dev/urandom of=/etc/cryptkey iflag=fullblock
chmod 600 /etc/cryptkey
@thielemans
thielemans / gist:4246df73d159985b16f0e87c72e2f332
Created May 31, 2019 09:37
Contiki setup on a new linux (virtual) machine
1. Installation
a. Install & update Linux
b. Optional: Install virtualbox guest additions
c. If using a minimal install, install common developer tools like java, git, etc…
i. sudo apt install openjdk-8-jdk git python build-essential
ii. Optional: Install Eclipse IDE for C/C++ Developers
2. Download Contiki from git
a. git clone https://github.com/contiki-os/contiki.git
b. git submodule update --init --recursive