<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
    <id>https://lfbittencourt.com</id>
    <title>LF Bittencourt - Notes</title>
    <updated>2026-08-20T01:06:04.262Z</updated>
    <generator>https://github.com/jpmonette/feed</generator>
    <author>
        <name>LF Bittencourt</name>
    </author>
    <link rel="alternate" href="https://lfbittencourt.com/"/>
    <link rel="self" href="https://lfbittencourt.com/notes/atom.xml"/>
    <subtitle>LF Bittencourt's personal website. Thoughts on technology, books, culture, and creative projects.</subtitle>
    <entry>
        <title type="html"><![CDATA[Note from 08/19/2026 at 22:06]]></title>
        <id>https://lfbittencourt.com/notes/02677478-f270-4708-bece-882e942969df</id>
        <link href="https://lfbittencourt.com/notes/page/1/"/>
        <updated>2026-08-20T01:06:04.262Z</updated>
        <content type="html"><![CDATA[<p>To rebase a branch onto a new base while preserving merge bubbles, run <code>git rebase --rebase-merges &#x3C;new-base></code>.</p>]]></content>
    </entry>
    <entry>
        <title type="html"><![CDATA[Note from 08/17/2026 at 16:55]]></title>
        <id>https://lfbittencourt.com/notes/eaf1b65c-65e6-4e41-b667-8f89bc223227</id>
        <link href="https://lfbittencourt.com/notes/page/1/"/>
        <updated>2026-08-17T19:55:11.540Z</updated>
        <content type="html"><![CDATA[<p>—  Li a bandeira.</p>
<p>— O que ela diz?</p>
<p>— “Você não é tão bom assim”.</p>]]></content>
    </entry>
    <entry>
        <title type="html"><![CDATA[Note from 08/14/2026 at 10:42]]></title>
        <id>https://lfbittencourt.com/notes/e0566bf1-6e38-4e15-ae88-39a664d04aa4</id>
        <link href="https://lfbittencourt.com/notes/page/1/"/>
        <updated>2026-08-14T13:42:33.581Z</updated>
        <content type="html"><![CDATA[<blockquote>
<p>one exception "first test" dislike by grug: when bug found. grug always try first reproduce bug with regression test then fix bug, this case only for some reason work better</p>
<p>— <a href="https://grugbrain.dev/">The Grug Brained Developer</a></p>
</blockquote>]]></content>
    </entry>
    <entry>
        <title type="html"><![CDATA[Note from 08/01/2026 at 18:49]]></title>
        <id>https://lfbittencourt.com/notes/82d1a852-af57-4531-876a-2a400d31cbf7</id>
        <link href="https://lfbittencourt.com/notes/page/1/"/>
        <updated>2026-08-01T21:49:11.392Z</updated>
        <content type="html"><![CDATA[<p><a href="https://www.typescriptlang.org/docs/handbook/2/narrowing.html#exhaustiveness-checking">Exhaustiveness checking</a>:</p>
<pre><code class="language-ts">type Shape = Circle | Square;
 
function getArea(shape: Shape) {
  switch (shape.kind) {
    case "circle":
      return Math.PI * shape.radius ** 2;
    case "square":
      return shape.sideLength ** 2;
    default: {
      const exhaustiveCheck: never = shape;
      return exhaustiveCheck;
    }
  }
}
</code></pre>]]></content>
    </entry>
    <entry>
        <title type="html"><![CDATA[Note from 07/30/2026 at 18:04]]></title>
        <id>https://lfbittencourt.com/notes/8906cbcb-1ea0-49b8-93a4-163e734f956f</id>
        <link href="https://lfbittencourt.com/notes/page/1/"/>
        <updated>2026-07-30T21:04:03.399Z</updated>
        <content type="html"><![CDATA[<p>To get a list of all the files changed between two points in Git history, use <code>git diff main...&#x3C;HEAD, branch-name or whatever></code>.</p>]]></content>
    </entry>
    <entry>
        <title type="html"><![CDATA[Note from 07/16/2026 at 10:49]]></title>
        <id>https://lfbittencourt.com/notes/d3f2d4fe-034d-478a-9a3b-26a30fc01f68</id>
        <link href="https://lfbittencourt.com/notes/page/1/"/>
        <updated>2026-07-16T13:49:21.082Z</updated>
        <content type="html"><![CDATA[<p>Jest is full of niceties. Today I've discovered <a href="https://jestjs.io/docs/api#testfailingname-fn-timeout"><code>it.failing</code></a>. It's for writing tests that are expected to fail.</p>]]></content>
    </entry>
    <entry>
        <title type="html"><![CDATA[Note from 07/08/2026 at 10:03]]></title>
        <id>https://lfbittencourt.com/notes/dc1b5e6f-1fec-413b-b147-1be7a91e66ae</id>
        <link href="https://lfbittencourt.com/notes/page/1/"/>
        <updated>2026-07-08T13:03:11.682Z</updated>
        <content type="html"><![CDATA[<p>One thing Claude excels at: creating Bash scripts.</p>]]></content>
    </entry>
    <entry>
        <title type="html"><![CDATA[Note from 07/03/2026 at 14:11]]></title>
        <id>https://lfbittencourt.com/notes/db1c320a-3552-4a74-9d2e-1a99bb37228d</id>
        <link href="https://lfbittencourt.com/notes/page/1/"/>
        <updated>2026-07-03T17:11:45.825Z</updated>
        <content type="html"><![CDATA[<p>Last exit code on macOS: <code>echo $?</code>.</p>]]></content>
    </entry>
    <entry>
        <title type="html"><![CDATA[Note from 07/01/2026 at 10:36]]></title>
        <id>https://lfbittencourt.com/notes/92492d42-8333-4352-96ee-26fee18fb04f</id>
        <link href="https://lfbittencourt.com/notes/page/1/"/>
        <updated>2026-07-01T13:36:49.826Z</updated>
        <content type="html"><![CDATA[<p>To delete a AWS secret immediately, run <code>aws secretsmanager delete-secret --secret-id my-secret --force-delete-without-recovery</code>.</p>]]></content>
    </entry>
    <entry>
        <title type="html"><![CDATA[Note from 06/28/2026 at 10:20]]></title>
        <id>https://lfbittencourt.com/notes/3bdada8a-be8d-4aa2-86d3-dd20d298940b</id>
        <link href="https://lfbittencourt.com/notes/page/1/"/>
        <updated>2026-06-28T13:20:36.076Z</updated>
        <content type="html"><![CDATA[<blockquote>
<p>That's why they sell music to kids, because no one ever forgets their teenage summer, and you’re always gonna go back to the music of your teenage summer. So, nostalgia is pretty built in, you know what I mean? That's why they want young people, you know, everybody will go running screaming why tell sell music to kids, or cigarettes to kids, or anything to kids, because once you got a kid, you got'em for life.</p>
</blockquote>
<p>Johnette Napolitano, in <a href="https://www.youtube.com/watch?v=ISskfy3FKhc">https://www.youtube.com/watch?v=ISskfy3FKhc</a></p>]]></content>
    </entry>
</feed>