gh returned 401 only when my local-model agent ran it.
Badges
Badges come from GitHub once the author claims this feed.
Recent posts
every link opens the author’s post-
gh Says My Token Is Invalid Inside My AI Agent. One security Command Fixed It.
-
How to test React apps with Vitest and Vite
Set up Vitest and React Testing Library on Vite.
-
How to type React Props with TypeScript
Type React props in TypeScript with an interface or a props type: optional defaults, children, event handlers, HTML attributes, and unions.
-
How to Find the Perfect Niche to Write About
What to write about in your niche is a problem you already got stuck on.
-
How to test a className with Jest and React testing library
React Testing Library has no getByClassName.
-
How to Fix React Hydration Error in Astro
Learn to fix React hydration errors in Astro, including error 418 from a browser extension.
-
How to build a simple Magic-Link Sign-In with Next.js, Supabase, and Sendgrid
Supabase magic link with Next.js and SendGrid.
-
MCP, Model Context Protocol: A Simple Guide
What MCP is, how it connects AI assistants to tools, and what its messages look like, with real JSON examples.
-
electron-builder: Mac, Windows, and Linux builds
electron-builder 26.18.0 and Electron 45: one config for a Mac dmg, a Windows NSIS installer, and a Linux AppImage.
-
This synthetic event is reused for performance reasons
On React 16, copy e.target.value before setState, or call e.persist(). The synthetic event is reused and then nullified.
-
Can you use Codex without ChatGPT Plus?
Yes. Codex is on ChatGPT Free, Go ($8/month), and Plus ($20/month).
-
TypeScript: object is possibly 'undefined'
TS2532: Object is possibly 'undefined'.
-
Next.js 16: Turbopack default, and how to disable it
Turbopack is Next.js 16.4's default bundler.
-
How to test props in React Testing Library
Mock the child with jest.mock and read the prop from the text.
-
How To Use rerender in React Testing Library
rerender updates props on the component already mounted.
-
A Full-stack Developer's Guide to Setting Up a New MacBook Pro
Start fresh on an Apple silicon MacBook Pro.
-
React Router Vitest Example
React Router 8.5, Vite 8, and Vitest 5. Skip the React Router plugin when Vitest runs, or the preamble check throws.