Standard Search
About 38 results
https://rednafi.com/misc/chezmoi/ · 11 Jun 2026
Why I swapped GNU stow's symlink farm for chezmoi: one command to bootstrap a Mac with Homebrew packages and macOS settings, a small daily sync loop, and agent skills shared between Claude Code and Codex.
https://rednafi.com/shards/2026/03/background-jobs-inherited-fd/ · 28 Mar 2026
Why & backgrounds execution but doesn't stop output from flooding your terminal.
https://griff.pckt.blog/waving-goodbye-to-windows-part-1-zbutdj6 · 12 Mar 2026
Okay, so the title might be a little misleading. I waved goodbye to Windows in favor of Linux (obligatory "I use Arch, btw") some time ago. Given that my personal laptop's hardware was of the 2016 era, I just couldn't run Windows very well any longer. Not ...
https://rednafi.com/misc/dynamic-shell-variables/ · 11 Jan 2025
Learn variable indirection in Bash with ${!var} syntax. Build context-aware configs, function dispatch, and dynamic variable name resolution.
https://rednafi.com/misc/run-single-instance/ · 31 Dec 2024
Prevent multiple script instances with file locking. Use flock in Bash, fcntl in Python, and syscall.Flock in Go for single-instance processes.
https://rednafi.com/misc/ssh-saga/ · 17 Dec 2024
Complete SSH setup guide: key pairs, authorized_keys, sshd_config, ssh_config, known_hosts, agent forwarding, and hardening for secure remote access.
https://rednafi.com/misc/direnv/ · 2 Oct 2024
Automate environment variables per directory with direnv. Load .envrc files on entry, unload on exit. Integrate with Python venv and uv workflow.
https://rednafi.com/misc/bash-namerefs/ · 20 Sep 2024
Master Bash namerefs with declare -n to create dynamic variable references. Build generic functions for arrays and associative arrays without eval.
https://rednafi.com/misc/shell-redirection/ · 12 Sep 2024
Complete guide to Bash redirection. Master stdout, stderr, pipes, tee, file descriptors, and shorthand syntax with practical examples for every case.
https://rednafi.com/misc/http-requests-via-dev-tcp/ · 8 Aug 2024
Make raw HTTP requests with Bash's /dev/tcp file descriptor. Build health check scripts without curl or wget using TCP socket connections.