Skip to content

Instantly share code, notes, and snippets.

View cezarlamann's full-sized avatar
🎯
Focusing

Cezar Augustus Lamann cezarlamann

🎯
Focusing
View GitHub Profile
#!/usr/bin/env bash
set -euo pipefail
### ====== EDIT ME (DISKS & BASICS) ==========================================
# Root (NVMe) disk -> ESP + LUKS1 for root btrfs
ROOT_DISK="/dev/sda"
# Data (SATA/SSD) disk -> LUKS1 for data btrfs
DATA_DISK="/dev/sdb"
# Partition sizes
#!/usr/bin/env bash
set -euo pipefail
# Per-user trust for .NET dev certs on Void/Linux (OpenSSL)
TRUST_DIR="$HOME/.aspnet/dev-certs/trust"
DEV_PEM="$TRUST_DIR/dev-cert.pem"
SYSTEM_CERT_DIR="/etc/ssl/certs"
BASH_PROFILE="$HOME/.bash_profile"
echo "==> Checking prerequisites..."
@cezarlamann
cezarlamann / void_install_script.sh
Last active October 12, 2025 19:04
Void installation script for two drives + LUKS + BTRFS + Snapshots without LVM
#!/usr/bin/env bash
set -euo pipefail
### ====== EDIT ME (DISKS & BASICS) ==========================================
# Root (NVMe) disk -> ESP + LUKS1 for root btrfs
ROOT_DISK="/dev/nvme0n1"
# Data (SATA/SSD) disk -> LUKS1 for data btrfs
DATA_DISK="/dev/sda"
# Partition sizes
@cezarlamann
cezarlamann / .gitignore
Created April 8, 2025 09:36
Default .gitignore file for new csharp/angular projects
## Ignore Visual Studio temporary files, build results, and
## files generated by popular Visual Studio add-ons.
##
## Get latest from `dotnet new gitignore`
# dotenv files
.env
# User-specific files
*.rsuser
@cezarlamann
cezarlamann / .editorconfig
Last active April 8, 2025 10:49
Default EditorConfig for new csharp/web projects
# Top-most EditorConfig file
root = true
# Default settings for all files
[*]
charset = utf-8
end_of_line = lf
insert_final_newline = false
indent_size = 4
tab_width = 4