Knowledge

Reusable knowledge generalized from TIL, organized by category.

Search starts automatically 350ms after you stop typing.

59 documents

Updated 2026-07-14operating-systemInferred

Shell Word Splitting and Quoting

Word splitting, where the shell breaks the result of a variable expansion into multiple arguments on whitespace, and the quoting rules that prevent it

Updated 2026-07-13browserInferred

Service Worker stale-while-revalidate

SWR pattern in Service Worker Cache Storage: return cache immediately and refresh in the background, with capacity and security caveats

Updated 2026-07-13testingInferred

Playwright flaky vs failed triage

How to separate flaky from deterministic failed tests in E2E CI using retry results, and distinguish timing races from build defects

Updated 2026-07-13browserInferred

Canvas deterministic node rendering

A pattern to stabilize Canvas 2D graph node color and twinkle via ID hash, and restore globalAlpha and shadow state

Updated 2026-07-13browserInferred

Cache generation stale-write guard

A generation pattern that blocks late-finishing requests from re-writing cache when async deletion overlaps stale-while-revalidate

Updated 2026-07-12frontendVerified

Multilingual content locale suffix pipeline

A pattern that distinguishes same-slug documents with .{locale}.md filenames and aligns loader, DB, search, and SEO ids as type:slug:locale

Updated 2026-07-12frontendVerified

BFS document relation local graph

A pattern that gathers neighbors within N hops via BFS over frontmatter related and wikilink indexes, then visualizes with force-graph

Updated 2026-07-11frontendObserved

Scroll-driven narrative layout

A zero-JS narrative pattern that syncs a product story to scroll using scroll-timeline, a sticky stage, and pure CSS keyframes — no GSAP

Updated 2026-07-11browserInferred

font-display optional and CLS

A typography strategy that uses the optional display to prevent late webfont swap and reduce tag/body layout shift (CLS)

Updated 2026-07-11browserInferred

CSS view-timeline entry animation

A pattern for building scroll-entry fade/slide with animation-timeline view() and animation-range entry, without JS

Updated 2026-07-10frontendInferred

Nested modal document navigation

A navigation pattern that push/pops a documentId stack inside a single modal shell to connect gallery → peek → related

Updated 2026-07-09frontendInferred

Read-only viewer bundle splitting

A pattern that splits the rich-text editor and read-only viewer entries to strip the PM/dnd bundle from peek/embed paths

Updated 2026-07-09frontendInferred

Hierarchical document navigation

A pattern for navigating child documents in a block-document graph via page blocks, a push/peek navigator, and breadcrumbs

Updated 2026-07-08networkInferred

SSRF URL fetch proxy guard

How to block SSRF with a scheme/host allowlist in a proxy where the server fetches a user-supplied URL