Today I Learned
A collection of daily a-ha moments. Sometimes to just copy/paste, sometimes to remember what do avoid, other times a handy reminder how difficult learning all these technologies can be.
Import blocks in Terraform
2023-09-19
Import blocks are declarative and can be reviewed
Warm up .NET containers
2023-09-19
Use readiness probe to warm up container before using it
Add prefix to each key in Terraform
2023-08-09
Simple way to add a prefix to each key when iterating over a collection
Notes from reading swr source code
2022-08-08
Reading source code from battle tested open source projects leads to learning fun concepts and utilities
Makefile and env vars
2022-07-13
Inject env vars into specific targets
Top level async in node scripts
2022-02-05
Write async-await in mjs files and run as scripts
Tailwind and components folder
2022-01-31
Don't forget to put all folders with React classes into tailwind.config.js
TIL: Speed up jest tests (2)
2021-07-10
Use esbuild-jest to speed up TypeScript tests
TIL: Speed up jest tests
2021-07-05
A modest speed-up for ts-jest
Things I've learned about Tailwind
2020-04-22
Turns out not only I won't hate Tailwind, I actually love it!