powRSS
Home Recent 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
  • github
  • reply
  • homebrew
  • script
  • anki
  • shell
  • atuin
  • commit

All posts (393)

My shell prompt displays the git branch my repository has currently checked out: thiago.perrotta perrotta.dev git:master? ❯ Problem statement: augment that prompt to signal whether we’re inside a checked out git worktree. This is helpful because lately multiple repository worktrees have been popularized thanks to...
Previously. The best quality-of-life improvement for Ghostty I added in 20251: add the following keybindings to your Ghostty config: # native: Cmd + Shift + d keybind = cmd+shift+-=new_split:down # native: Cmd + d keybind = cmd+shift+|=new_split:right Now you can split your terminal to the right and to the bottom...
Previously. Stay up-to-date with the Claude Code CHANGELOG. Did you know it’s possible to obtain a RSS feed straight from a github repo? The Claude Code github repository: https://github.com/anthropics/claude-code/releases Its feed: https://github.com/anthropics/claude-code/releases.atom – just append .atom to the...
These are great collections: https://github.com/ykdojo/claude-code-tips https://adocomplete.com/advent-of-claude-2025/ New tips to me: /rename to set a session name, like you would with a tmux window. Later on, resume the session with /resume {name} or claude --resume {name}. Since v2.0.74 LSP became a first-class...
Previously. If we can stash untracked files (git stash -u), should we be able to git diff untracked files? Naturally, diffing an untracked file would output the entire file contents. Still, this can be desirable sometimes. When reviewing multiple files, some of which are modified, and some of which are brand new,...
Last week LogSeq was super slow on my Mac, it was pretty much unusable. I had to manually kill its process multiple times as it kept freezing. Eventually I figured out the issue: Then iCloud is the cause for the slowness. This is a known issue and is the reason why the developers have built Logseq Sync. Other...
Previously. Whenever the LLM is too confident after performing some work: Prompt: Anything else you may have missed? Repeat a few times in a row. It is non-deterministic, it’s not idempotent. — § —Reply via email#ai #dev
I just wrote this post about neovim and git hunks. In it I mentioned various git repositories, but did not link to them whilst writing the post. Ah, these lazy engineers. Why not ask the LLM to link to them for me, especially because they are popular projects? Then I had the idea to try to do it without opening an...
What is a hunk? When comparing two files, diff finds sequences of lines common to both files, interspersed with groups of differing lines called hunks1. There are various ways to treat git hunks as first-class citizens, manipulating them one at a time – staging, unstaging, or reverting them. The classic one is git...
When using Amp Code (a CLI coding agent), sending two messages in a row results in the second message interrupting the first. Most other agents (e.g. Claude Code, OpenAI Codex, Google Gemini) support message queueing by default, wherein the second message “waits” until the first promt is complete. To achieve the...

Page 26 of 40