powRSS
Home Recent Glimpses Shuffle Blogs Random

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

July 2026

August 2026

September 2026

Top Words

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

All posts (395)

https://github.com/frnmst/md-toc: Automatically generate and add an accurate table of contents to markdown files. Adopting it via pre-commit in a git repository is very straightforward: .pre-commit-config.yaml: repos: - repo: https://github.com/frnmst/md-toc rev: 4a8b796dbde00f71eb1a51b075462f825f872c34 # frozen:...
Record Club: A {new,fun,better} way to discover and share music with friends. Record Club is a social music network that makes it easy to track, rate, review and compile lists of your favorite releases with a community of other music fans. I stumbled upon Record Club last week via a blog that I follow1. It is a...
Previously. I decided to add a new copy script to pancake to standardize copying command output and files to the system clipboard in both macOS and Linux. The idea was originally inspired by Evan Hahn: copy and pasta are simple wrappers around system clipboard managers, like pbcopy on macOS and xclip on Linux. I use...
It’s possible to do git patch -p to review diff hunks interactively, one by one. Can we accomplish something similar with git diff? If not, is there a tool that can accomplish that, in the same spirit of git patch -p, but with a read-only-centric workflow? The naïve approach is to simply run git patch -p and then...
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...

Page 35 of 40