¬ 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
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...
Previously. Problem statement: Open contract.pdf in Preview.app in macOS. Copy a text portion in it. A dialog pops up: Without the owner password, you do not have permission to copy portions of the document. Enter the password to unlock...
Topgrade: Keeping your system up-to-date usually involves invoking multiple package managers. This results in big, non-portable shell one-liners saved in your shell. To remedy this, Topgrade detects which tools you use and runs the...
Identity Theft, Credit Reports, and You and How to Unsubscribe from Modern Luxury: I don’t want to bother people like this; I think it’s unreasonably rude. I still start with the official support channels and escalate gradually. I like...
Previously. Ingredients In order, add to a glass: coconut milk (1/2 cup) chia seeds (2 tbsps) maple syrup / honey (sweetener) vanilla extract cinnamon a pinch of salt Preparation Whisk everything. Let it soak overnight in the fridge. Top...
Github has a status page: https://www.githubstatus.com/ “The Missing GitHub Status Page” goes deeper (via Kottke): https://mrshu.github.io/github-statuses/ Last 90 days uptime Last updated Mar 9, 2026 81 incidents in last 90 days GitHub...