RSSAmplifier

Blog

Jacob Hummer

A far too meticulous web developer 💻

jcbhmr.comRSS feed ↗10 posts

Latest posts

‘“one” | “two” | string’ autocomplete TypeScript trick

Have you ever wanted to suggest some strings but still allow any string? Like "GET" | "POST" | string? But then it just doesn't work like you want it to?

Node.js platform/arch possible values

The official Node.js docs (v25.2.1) say that process.platform can be 'aix' | 'darwin' | 'freebsd' | 'linux' | 'openbsd' | 'sunos' | 'win32' and process.arch can be 'arm' | 'arm64' | 'ia32' | 'loong64' | 'mips' | 'mipsel' | 'ppc64' | 'riscv64' | 's390' | 's390x' | 'x64'. That's not quite true. This is my chronicle for future me.

Possible platform/arch names in Deno.build & node:process

I did some diving into what the possible values for these string enums are:

Apple crisp recipe

TODO: Add images

Bread recipe

Make this in a bread maker. 1.5 lb loaf. "Regular" settings on bread maker.

Gluten-free peanut butter cookies

TODO: Add images

Granola recipe

TODO: Add images

Guacamole recipe

This is very vague. Use whatever amount looks good.

Peanut butter cookies recipe

TODO: Add images

GitHub Pages redirect to new domain

Here's the code: