Blog
Technical notes on web development, DevOps, and AI integration.
164 articles
- 01:38frontend
Shiki Code Block Contract and Short Lang IDs
I locked the code-block contract so articles would not break render: short lang ids, explicit Shiki aliases, and malformed blocks rejected before publish.
#shiki#nextjs#frontend - 01:38frontend
Merging HTML Fragments in React ArticleBody
A tiny ArticleBody bug made paragraphs split and spacing drift. The fix was not a parser rewrite, just merging consecutive HTML fragments.
#react#frontend#html - 01:38frontend
Splitting a Next.js Sitemap into 200-URL Child Files
How I split a Next.js sitemap into 200-URL child files, listed them in robots.txt, and what Google actually reads from a sitemap.
#nextjs#seo#vercel - 00:53frontend
Splitting a Next.js Sitemap into 200-URL Child Files
How I split a Next.js sitemap into 200-URL child files with generateSitemaps, listed them in robots.txt, and what Google actually reads from a sitemap.
#nextjs#vercel#serverless - 00:00frontend
Code Blocks Rendering Twice: How a JavaScript Regex Can Race
A double code block bug on the blog: a module-level /g regex's lastIndex gets clobbered across parallel async calls. The fix is eight lines.
#javascript#regex#shiki - 23:48devops
Verify Said 0 Fail. Bugs Still Shipped.
Auditing my blog article pipeline: a chopped mermaid token, paragraphs that shattered despite clean verify, and three gate gaps found only by a human question.
#testing#automation - 22:29devops
Choosing a Vercel Function Region: iad1, sin1, and the CDN for Indonesian Visitors
Vercel's iad1 Washington default only affects functions — the 126-PoP CDN already serves readers from Singapore. How to pick and switch the right region.
#vercel#nextjs#serverless - 21:39devops
A main/staging/api Branch Strategy: Safe Deploys with Vercel Previews and GitHub Actions
A three-lane branch model for safe deploys: main as the source of truth, staging for Vercel previews, api for VPS deploys via GitHub Actions.
#vercel#nextjs#github-actions - 19:51devops
Migrating a Frontend to Vercel: Next.js Standalone + Docker
Notes from moving this blog's frontend to Vercel: Next.js standalone output, a multi-stage Dockerfile for a lean image, and preview deployments per branch.
#nextjs#docker#vercel