¬ just serendipity 🍀

¬ just serendipity 🍀

Thiago Perrotta

Welcome to my digital garden – a space dedicated to exploring technology and sharing what I’ve been learning. This site reflects my passion for continuous learning and open-source software, wherein I document my journey, offer insights, and dive into miscellaneous topics that reflect my interest. My goal is to maintain a corner of the Web for self-expression focused on valuable, distraction-free content. I believe in the power of the Open Web as a platform for sharing knowledge.

Latest Posts

Will Larson: At some point, you will have learned about the passive voice, where the actor in a sentence is unclear. For example, my software didn’t compile. That’s a good example of the passive voice. However, you might not know the...
There is a distinct, visceral kind of pain in watching an otherwise brilliant engineer hold down the Backspace key for six continuous seconds to fix a typo at the beginning of a line. I would be lying if I said I don’t cringe upon...
For Sprint planning I like to name my catch-all / umbrella Epics as “potpourri”. Why? Just because. Example: GitOps pipeline for Terraform – potpourri GitOps phase potpourri – ArgoCD production wrap-up One advantage: because no one else...
Every day at the office, I start my day with mr update: shell % mr update [...] mr update: /Users/thiago.perrotta/workspace/adventofcode Already up to date. mr update: /Users/thiago.perrotta/workspace/check-json-schema-meta Already up to...
Upon quitting Claude Code, pressing C-c in the terminal produces garbage like this instead of the expected ^C: ❯ 0;5u9;5u0;5uc9;5u9;5u9;5u9;5u9;5u Something similar happens with C-a, C-e, C-l, etc. I am using zsh. What’s happening Claude...
Previously. The Amp Code Manual does not contain uninstallation instructions. It contains only installation instructions. Every software installation method should have an easy way to be reverted. I hereby fill in this gap. How to...
Previously. There’s always a sense of relief whenever we say goodbye. It oftentimes sparks joy ✨. It frees up our minds to focus on something else. Or perhaps to focus on nothing at all. Serenity is calm. A goodbye need not burn bridges....
Problem statement: given a command run with a ton of output, how can you take a glance at both (i) its first few lines and (ii) its last few lines? Let’s hypothetically call it lorem. This is what we want to achieve: shell lorem | head...
Problem statement: run an one-off script and/or binary within a kubernetes pod. It needs a certain environment variable (VAULT_TOKEN) to be set. Wrong: shell ubuntu@my-deploy-server:~ $ kubectl exec -n vault vault-1 --...
The job of a code reviewer isn’t to review code. It’s to figure out how to obsolete their code review comment, that whole class of comment, in all future cases, until you don’t need their reviews at all anymore. This is a really good...
Previously. Problem statement: passing --add-dir flags to cco in a shell alias doesn’t scale well as the number of directories increases. I had this alias: shell alias claudey="cco --allow-oauth-refresh --add-dir ~/.cache --add-dir...
TIL: Tailscale (a zero-trust VPN) supports automatically connecting to it on select Wi-Fi networks. Use case: whenever you go to your work office, automatically turn the VPN on. On macOS: Settings > Settings > VPN On Demand. Then, on...
Surely this is some GNU sed wizardry for the sake of replacing a hallucinated link in a GitHub pull request: shell ⏺ Bash(BRANCH="thiagowfx/garden-aitools-azure-module" REPO="corp/terraform"...
displayplacer: macOS command line utility to configure multi-display resolutions and arrangements. Essentially XRandR for macOS. Install it via homebrew: shell % brew install displayplacer The typical workflow is: configure displays...
Basic template to request interview feedback: Subject: Data Subject Request To: dpo@{company}.com1 {Greetings}, I’d like to get access to my interview feedback (“personal information”) from my last application at {company} as a candidate...
Search Random