TIL

2024-11-10

About the existence of #ufw

2024-11-04

That #DuckDuckGo has ! (bangs) so I can easily search for #rust stuff with !rust <query>

2024-11-01

we can use viw to select a single word in #vim #nvim

guiw for uppercase and guiw for lowercase, gu<motion> and gu<motion> for just the selected character #vim #nvim

2024-10-21

You can use footnotes in #github with GFM (github-flavoured markdown) and #obsidian by using bracket syntax e.g. [^1] #markdown

2024-10-20

2024-10-19

About "Visual Block Mode" in Vim: Ctrl+V, select lines, then "I" to insert at the start of each line #nvim #vim

2024-10-17

When we coat eclairs, we only want to dip the top half. Give it a wiggle-jiggle (left-right, up down), tilt it. Wipe the ridge off, then tilt it in a way that the tail joins back with the rest of the chocolate #baking #pastry

2024-10-16

"Macaronage" is the technique used for folding macaron batter till it's smooth, shiny and ribbons #fnb #baking

It's "milquetoast" #trivia

When we make puff #pastry, it's more about getting the butter to a desired thickness than length / width. Dough-wise it has to be slightly wider than the butter, and long enough to meet in the middle #baking 2:1 dough to butter

That apparently lotus paste can be a 1:1 substitute for marzipan in Pain de GĂȘnes #baking #pastry

2024-10-12

That Memos also limits the number of memos returned, to like... 10 or something, idk. I guess this is common practice #selfhosted #memos

Mebibyte #compsci #computers

2024-10-10

That Linux systems have a keyring feature - this keyring is like a keychain, in the sense that it stores your passwords (keys). The keyring is stored in ~/.local/share/keyrings. If you use the GUI ("Passwords and Keys" in Mint) to disable the password (change it to an empty password), it becomes a plain text file and can be imported into other Linux systems #linux #security #password #auth

We can use secret-tool to get the key-value pairs from the keyring #linux #security #password #auth

An IRL aptitude test for chefs is sometimes called a "bench test" #fnb

That git status --porcelain is a thing #webdev #git

2024-10-09

That go now has a better way of handling errors - we can now use .Join from the errors package, which takes in variadic arguments - if err := errors.Join(err1, err2); err != nil { doStuff() } #golang #webdev #programming

2024-10-08

If we're trying to add a large amount of oil to dough (e.g. 1:5), it's best to do it with a bread that benefits from a series of folds (e.g. focaccia). Letting it rest in the bowl while performing the folds will help the oil incorporate easier #bread #baking

inline elements have some very strange display quirks - whenever in doubt, maybe try inline-block first #webdev #css

TIL there's an abbreviation for flash of unstyled content (FUOC). Thanks, I still hate it #webdev #css #fuoc

Repaint vs Reflow - #webdev #repaint #reflow

Granulated sugar is the most-used sugar in the world, but not in Japan. There, the most commonly used sugar is #johakuto sugar AKA caster sugar #fnb #baking

We can revert an element's style to whatever it was based on inheritance or default values with display: revert https://stackoverflow.com/a/68882854 #css #webdev

2024-10-07