¬ 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
There are too many entries in my git stash: shell % git stash list | wc -l 69 I would like to completely empty it, nothing there matters, it’s all draft junk accumulated over months. shell % git stash clear Verification: shell % git...
Life is hard. Today, when opening Anki on macOS: DbError { info: "SqliteFailure(Error { code: DatabaseCorrupt, extended_code: 11 }, Some(\"database disk image is malformed\"))", kind: Other } Database corrupt? What is this, are we in the...
How funny, I do not remember setting this up. It is useful nonetheless: thiago.perrotta ~ ❯ crontab -l 30 12 1-7 * 5 [ "$(( ($(date +\%-d)-1)/7+1 ))" -eq 1 ] && /opt/homebrew/bin/pre-commit gc >>...
Previously. Software Engineers / Programmers and the like have had curated dotfiles for ages. These days (2025s), we’re evolving to times where it makes sense to curate collections of other utilities as well: prompts for LLMs commands /...
Evie Fae: I’ve had trouble with email addresses visible on the public web getting snatched by bots and peppered with endless spam […] It turns out that most spam bots aren’t all that sophisticated, and if you wanted to write something on...
Stack Overflow: How to make mailto: links to go to Gmail? The described solution is platform agnostic — it should work for other email providers than Gmail as well. TL;DR: Visit brave://settings/handlers: Sites can handle special tasks...
Problem statement: given multiple AWS organizations, log in to all of them using the aws CLI via SSO. shell aws sso login --sso-session {corp1} aws sso login --sso-session {corp2} The --sso-session name comes from ~/.aws/config:...
Book: 5/5 stars. One of my favorites of 2022 (Sci-Fi): Amaze. You my friend. (This was my review in goodreads back then.) Fast-forward 3.5 years (»): Movie: 10/10. Excellent adaptation. 🇨🇦 Sorry, I don’t know how to write reviews. I’ll...
Until a few months ago, I had the following in my /etc/miniflux.conf: /etc/miniflux.conf conf [...] # 3 years FILTER_ENTRY_MAX_AGE_DAYS=1095 [...] The intent is clear: every blog post older than 3 years would be automatically filtered...
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...