Skip to content

Instantly share code, notes, and snippets.

View jeroenvervaeke's full-sized avatar
🦀

Jeroen Vervaeke jeroenvervaeke

🦀
View GitHub Profile
@jeroenvervaeke
jeroenvervaeke / migrate-local-dev.sh
Created September 20, 2024 16:50
Migrate local dev docker container.
#!/bin/bash
# Check if required arguments are provided
if [ "$#" -ne 2 ]; then
echo "Usage: $0 <container_name> <new_image_name>"
exit 1
fi
CONTAINER_NAME="$1"
NEW_IMAGE="$2"
@jeroenvervaeke
jeroenvervaeke / load_dotenv.sh
Created February 17, 2022 08:47 — forked from mihow/load_dotenv.sh
Load environment variables from dotenv / .env file in Bash
if [ ! -f .env ]
then
export $(cat .env | xargs)
fi
@jeroenvervaeke
jeroenvervaeke / arch-linux-install
Last active December 27, 2018 15:32 — 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
# Install ARCH Linux with encrypted file-system and UEFI
# The official installation guide (https://wiki.archlinux.org/index.php/Installation_Guide) contains a more verbose description.
# Download the archiso image from https://www.archlinux.org/
# Copy to a usb-drive
dd if=archlinux.img of=/dev/sdX 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.
# Set Belgian keymap