Notes

Short notes about anything that catches my attention. Also a place to save stuff I keep forgetting over and over.

11/11/2026

17:22

I was running out of disk space because of an old Scrapy cache folder. It was taking 117 GB, about 1/4 of my storage!

11/11/2026

16:39

To show the size of each folder in the current folder, with the biggest at the top, run du -h -d 1 | sort -hr.

11/09/2026

17:03

After running /exit, claude and /resume <previous-session> a thousand times, Claude tells me claude --continue does the same.

10/29/2026

13:47

Claude Code has a trick for authenticating MCP servers that don't support multiple workspaces (e.g., Linear and Notion): add the same server again under a different name. For example, running claude mcp add --transport http --scope user notion-lfbittencourt https://mcp.notion.com/mcp creates another Notion MCP server, so I can authenticate it separately.

10/17/2026

10:51

To get an array length with jq, use jq 'length'. If the array is under a property, use jq '.property | length'.

10/14/2026

12:03

Duplication is far cheaper than the wrong abstraction.

— Sandi Metz

10/13/2026

09:51

Something annoying about LLMs: they're eager to “optimize”. To remove partially duplicated code, for example, they will create ugly helpers with many params. Those things are trained on real code, so there are a lot of real engineers doing just the same.

09/26/2026

15:36

LLMs solve what they're asked to solve. Unless explicitly told to do so, they don't question whether that's the right problem to solve or whether it's just a symptom of something bigger. They won't search for the big picture or root causes.

08/19/2026

22:06

To rebase a branch onto a new base while preserving merge bubbles, run git rebase --rebase-merges <new-base>.

08/17/2026

16:55

— Li a bandeira.

— O que ela diz?

— “Você não é tão bom assim”.

This is a hand-crafted, a little weird personal website. Create one of your own!