¬ 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
Problem statement: Given a paragraph (lorem_ipsum.txt): "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation...
Lovely readers, I promise this is not turning into an AI blog1. I am merely documenting my baby steps. I use JIRA all the time. It’s our bug2 issue tracker of choice. And, now that I am slowly incorporating Claude Code in my daily...
Poor man’s TODO list / task manager: sticking post-it notes in1 the laptop, next to the touchpad / trackpad. It is practically impossible to ignore them! On the surface of the keyboard, not outside its lid case. “In” feels appropriate...
Yesterday we could no longer ssh to deploy servers (via a ruby-based wrapper we use). This was bad™. The error message looked like this: [...] Seahorse::Client::NetworkingError: SSL_connect returned=1 errno=0 peeraddr={redacted}:443...
Claude Code supports custom commands. The precise term is “custom slash commands”: Custom slash commands allow you to define frequently-used prompts as Markdown files that Claude Code can execute. Commands are organized by scope...
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...