Skip to content

Instantly share code, notes, and snippets.

View gazwald's full-sized avatar
🌮
Taco of approval

Gary Brandon gazwald

🌮
Taco of approval
View GitHub Profile
@gazwald
gazwald / k3s.md
Last active October 28, 2025 23:50
Quick and dirty k3s/metallb/longhorn setup

Overview

Quick and dirty tutorial for setting up a K3S cluster on three nodes with MetalLB and Longhorn.

  • All commands are assumed to be run as root, within /root
  • I barely know what I'm doing so if it works that's great!

With my setup;

  • Three systems with a single NVMe drive.
@gazwald
gazwald / horror.md
Last active May 31, 2024 22:35
Misusing bitwise dunder methods

C++-like cin and cout in Python

Ever miss cin and cout from C++ when using Python? Me either, but here is a naive implementation for intellectual curiosity:

Code

#!/usr/bin/env python
import inspect