¬ 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. aws_china_mfa: A script to authenticate to AWS China using MFA and export temporary session credentials. The idea is simple. To log into AWS, we need the following environment variables to be defined: export...
I originally heard of zizmor at FOSDEM 2025: zizmor is a static analysis tool for GitHub Actions. It can find and fix many common security issues in typical GitHub Actions CI/CD setups. One month later, I adopted it in the most important...
When you create this file on macOS: % touch ~/.hushlogin New shells spawn without noisy (hush! hush!) login messages. Nelson illustrates it with a couple of screenshots.
A brain dump as of Oct 1st, 2025 of my head, all things Claude Code. Keyboard shortcuts Shift+Tab to cycle through: “default” -> “⏵⏵ accept edits on” -> “⏸ plan mode on” “⏵⏵ Accept edits on” is a comfortable mode to be on by default,...
Previously. Whenever I want to upgrade any one of my systems, I run sd-world. Now the script has evolved, being hosted in pancake: it handles interruptions (Ctrl-C) more efficiently (it was my biggest gripe) the output is more...
Let’s say you want to inspect the history of a given file tracked in a git repository. Straightforward with git-blame(1): % git --no-pager blame templates/secret-aws-info.yaml 5d478f6cb83b (Kubernetes Astronaut 2025-08-05 10:49:07 -0400...
Previously. Now, instead of a shell function, it evolved to a dedicated script in pancake. In my opinion it’s quite user-friendly: % pritunl_login.sh stark-industries 'op://Employee/x9zm2kddpq4nvbwrfhgtsjloey/password' Connecting to...
Alex Kotliarskyi1, The Get Your Shit Together Day: The Get Your Shit Together day is a day off you take from work, family and other obligations. It’s a day you dedicate fully to things you’ve been always postponing. Fix squeaky door...
Problem statement: Given a pod in Kubernetes, check its memory (RAM) usage. Stack Overflow: kubectl top pod -n {namespace} {pod name} [--containers] --containers=false: If present, print usage of containers within a pod. This only works...
I’m a responsible adult with a digital calendar, says Paul Kafasis: I don’t need a reminder email for my vaccination appointment, but if I did, it sure ought to arrive before the appointment. The experience of booking an online ticket...
I’ve been meaning to create a git repository to host a collection of miscellaneous scripts / binaries that are too big to fit in shell aliases / functions, or text snippets. This started today: https://github.com/thiagowfx/pancake...
From the series: why you should always use a case sensitive file system (like most of Linux). By default, to my despair, macOS uses a case-insensitive file system(1, 2). We can pretend this is not an issue, and simply brush it under the...
Life is serene when you have a whiteboard at your disposal. Having a channel to express yourself is a gift. It alleviates tension knots in your nerves, making them softer and more relaxed. All that is left for perfection is to pour in a...