¬ 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. Problem statement: enable auto-sync to AnkiWeb. First layer: enable sync on open/close: Preferences > Syncing > Automatically sync on profile open/close Second layer: for manual syncs, press y (source). Third layer: install...
My all-time favorite bundled skill for code reviewing in Claude Code: /simplify. As per the official docs: /simplify Review changed code for reuse, quality, and efficiency, then fix any issues found. (bundled) A sample run: Running 3...
Previously. Problem statement: claude --resume accepts a session ID (UUID), but UUIDs are not human-friendly. shell % claude --resume 92884e7a-422a-4e2a-9fbc-dc0a2e85380b I can’t remember that at all, and even copy-and-paste is...
It’s very simple: Open a chat with the @BotFather Send /deletebot Confirm The bot and its token will be permanently removed. This action cannot be undone. It doesn’t even need the bot token! For some reason I expected this to be more...
Previously. Problem statement: cco is not able to autonomously refresh the OAuth token used by claude. The manual workaround is to run an one-off unsandboxed claude, and then get back to cco afterwards. Why? Run /doctor within cco and...
Ciao mondo! Questo è il mio primo post in italiano. — § —Reply via email#meta #serenity
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...
Search Random