Posts
- Loading .env files in Go with Viper
The small Viper setup I copy into Go projects to read a .env file into a typed struct.
- Persisting tmux sessions across reboots
tmux-resurrect saves your tmux windows and panes to disk and brings them back after a reboot.
- Keeping SSH sessions alive with autossh
assh is a small wrapper around autossh that reconnects an SSH session when the network drops.
- Using Docker as a throwaway dev environment
Instead of installing nvm, Node and MongoDB on my machine, I run the whole dev stack out of Docker images and delete it when the project is done.
← Newer Page 2 / 2