First past the post
Recently I’ve been publishing a lot of example code on Github. I use the examples for reference as cheatsheet like documentation. They’re also useful foundations to build on when I’m trying out new ideas.
Whether working with Typescript, Docker, Bash, Terraform or Linux I usually try to create small repeatable Proofs of Concept that I can refer back to when working in similar areas. Doing this helps me play with the features, understand the technology to a greater depth and lets me have a simplified point of reference for future work.
Although not always to a consistent standard I regularly go back to the demos and update them as I walk through them on a new machine or OS. Switching between different environments; Linux, MacOS, Raspian and Windows is a great learning experience to really understand how to create repeatable walkthroughs. It also helps with creating consistency between them; ZSH profile, VSCode extensions and other tooling; brew, nvm & tfenv. Means I can quickly switch over when required as seamlessly as possible.
To enforce this approach I usually work on batteries and switch machines when the battery drains. 💻
