powRSS
Home Recent Glimpses Shuffle Blogs Random

New: Explore conversations across blogs with powRSS Mentions

¬ 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.

August 2026

September 2026

October 2026

Top Words

  • claude
  • code
  • reply
  • github
  • commit
  • homebrew
  • script
  • shell
  • anki
  • update
  • atuin
  • pull

All posts (411)

Let me peek at your desk at work and/or at home and I’ll be able to instantly tell, up to a certain (high) degree of confidence, how organized and/or productive you are digitally. Put it another way: “a desk is worth a thousand words”. Last time I checked, desk tidiness is not included in typical performance reviews...
It is a good practice to hide the bookmarks bar in Chrome in certain scenarios: when taking screenshots when sharing your screen during presentations or video calls when you need to focus and/or avoid distractions It can be done with Cmd + Shift + b. I use this shortcut all the time. Alternatively: Menu > Bookmarks...
Previously: When you have the spellchecker from vim turned on (:set spell), it highlights words that are not in the dictionary. It turns out vim1 can also suggest corrections to these words. :h z=: z= For the word under/after the cursor suggest correctly spelled words. This also works to find alternatives for a word...
When editing complex documents that warrant multiple revisions (iterations) and peer reviews, it is often helpful to make prominent distinctions within sentences, in order to track authorship and readiness. I enjoy making such distinctions by using the color highlighting1 feature of the document / text app at hand...
The title is foreshadowing. Problem statement: when using an iPhone as a pager device for oncall duties, disable airplane mode / “do not disturb” programmatically at the beginning of your shift. I find it’s a good practice to disable smartphone notifications before going to bed, whether by enabling airplane mode,...
Previously. Whenever I am submitting forms in the Web, I have the habit (tendency?) to keep hitting Cmd-A Cmd-C every once in a while, with the goal of saving all the text I’ve typed so far in a given text input field to the system clipboard. This practice, when paired with a clipboard manager, acts as a backup...
Previously. When playing badminton, the serving side (left or right) depends on the current score of the serving team: Left side: 1, 3, 5, … Right side: 0, 2, 4, … For many months (years?), I kept confounding the two. Even field experience would not make it any easier to remember which one is which. At some point, I...
Previously, previously. After experiencing almost daily frustration because of this SSH auth issue, I decided to script a solution out of it: and now ssh_mux_restart was born. A copy of the README.md follows below for ease of reference. The use case is very simple: run the ssh_mux_restart script whenever I run into...
Claude Code supports images as input. Absolutely incredible; considering that it is a TUI, one would usually not expect the ability to do so. Copy the image to your clipboard as usual, and then paste it in with Ctrl + V, as you would in any GUI app: ▐▛███▜▌ Claude Code v2.0.28 ▝▜█████▛▘ Sonnet 4.5 · API Usage...
Problem statement: grep1 for a given string in a multitude of multi-page PDF files: % du -sh very_large_file.zip 513M very_large_file.zip % unzip very_large_file.zip [...] % ls -1 *.pdf | wc -l 6816 There’s a tool called ripgrep-all (short: rga) that is perfect for that. And yes, it resembles our good ol' ripgrep...
Problem statement: Given a PostgreSQL DB, obtain its total size, preferably in a human-readable format (pretty-printed). Option 1: SQL query SELECT pg_size_pretty(pg_database_size('dbname')); 11 GB Option 2: psql CLI \l+ dbname List of databases Name | Owner | Encoding | Collate | Ctype | Access privileges | Size |...
.terraform-version at the root of a git repository is recognized by various tools: tfenv tfswitch terrateam You would expect the hashicorp/setup-terraform github action would also recognize it out-of-the-box, but it does not. We can address this gap by reading it manually: jobs: terraform: runs-on: ubuntu-latest...

Page 31 of 35