Welcome!
My repository of things I've learned. Mostly programming related. Part microblog, part knowledge base, part digital garden. If you like this, you might enjoy my blog.
75 TILs so far!
Recent TILs
-    css   Select a previous siblingLet's say we have this markup: 
-    swiftui   Change the navigation bar fontI wanted to set a SwiftUI iOS app in SF Rounded. It's a system font, so I thought it'd be pretty easy. On the web, it would take like two lines of CSS. 
-    go   Represent a sum typeLet's say we have two structs in Go: 
-    caddy   Run an HTTPS reverse proxy for local developmentReally the title should be something like "run an SSL-terminating reverse proxy", but most of the resources on the subject talk about using "HTTPS for local development", so here we are. 
-    git   Add a Git hook on WindowsGit Hooks are scripts that Git runs for you when certain actions occur. 
-    windows   Create a file without an extensionI was trying to save a file without an extension from Notepad. For some reason, even if I removed the extension from the filename and selected "All files", it still saved as a .txt.
-    git   Add a global .gitignoreIf you use git on a Mac, chances are you've accidentally committed a .DS_Storeto a repo. I used to reflexively add.DS_Storeto all my.gitignorefiles to avoid ever repeating that mistake.
-    valibot   Parse a Date or string into a DateOne common pattern with TypeScript projects is using a validation library like Valibot to validate incoming data at points of ingress to your application. (Intentionally or unintentionally, this is the "parse, don't validate" pattern, coined by Alexis King in her excellent blog post of the same name.) 
-    fzf   Make a TUI for switching and deleting git branchesIs dealing with git branches annoying to anyone else? There's a lot of typing long branch names, especially if you're cleaning up a bunch of old branches at oncex. 
-    typescript   Add custom element to JSX.IntrinsicElementsAs of version 19, React supports custom elements!