Standard Search
About 82 results
https://rednafi.com/misc/dotfile-stewardship-for-the-indolent/ · 27 Sep 2023
Manage dotfiles across devices with GNU Stow. Symlink configuration files from git repo to home directory with simple, idempotent commands.
https://rednafi.com/misc/self-hosted-google-fonts-in-hugo/ · 14 Sep 2023
Host Google Fonts locally in Hugo without CDN dependency. Download woff2 files, configure CSS, and improve performance while maintaining GDPR compliance.
https://rednafi.com/go/dummy-load-balancer/ · 30 Aug 2023
Build a working round-robin load balancer in Go with goroutines and the standard library. No dependencies needed for this educational prototype.
https://rednafi.com/go/limit-goroutines-with-buffered-channels/ · 23 Aug 2023
Control goroutine concurrency with buffered channels as semaphores. Prevent resource exhaustion with backpressure patterns in Go workers.
https://rednafi.com/go/totp-client/ · 20 Aug 2023
Build a TOTP-based 2FA client in Go using the standard library. Generate time-based one-time passwords like Google Authenticator.
https://rednafi.com/go/interface-guards/ · 18 Aug 2023
Use compile-time interface guards to verify type conformity in Go without runtime overhead. Learn the var _ Interface = (*Type)(nil) pattern.
https://rednafi.com/go/structured-logging-with-slog/ · 10 Aug 2023
Master Go 1.21's log/slog package for structured logging with levels, JSON output, and attribute grouping. No third-party libraries needed.
https://rednafi.com/python/tame-conditionals-with-bitmasks/ · 29 Jul 2023
Replace complex nested conditionals with Python's enum.Flag and bitmasks for cleaner, more maintainable logic using bitwise operations.
https://rednafi.com/misc/dns-record-to-share-text/ · 17 Jul 2023
Share data via DNS TXT records using dig and base64 encoding. Learn limitations, security concerns, and practical use cases for DNS tunneling.
https://rednafi.com/python/memory-leakage-in-descriptors/ · 16 Jul 2023
Prevent memory leaks in Python descriptors by using weakref to avoid hard references that prevent garbage collection of validated objects.