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.
Add ImagePullSecrets for DigitalOcean deployments
2023-11-27
Add imagePullSecrets to ensure authentication for the DO registry
Build .NET containers on M1 laptop and deploy them to cloud
2023-11-27
The correct way to containerize .NET apps on M1 laptop, but still be able to deploy them to x86_64 cluster
Kubernetes API with .NET
2023-11-27
Do stuff in your clusters directly from your app
Pass args to C# WASM on startup
2023-11-12
Blazor doesn't support passing args, but there is a workaround
Import GitHub repo permissions error
2023-10-10
In which I turn on permissions until things work
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!