Bye Copilot - How to Create a Local AI Coding Assistant for FreeTLDR: Create your own local AI Coding Assistant that integrates with VS Code. AI Coding Assistants I didn't jump onboard the AI Coding Assistant train at first. However, I now open up a chat with ChatGPT as often as I do MDN. I've found it's often a ...4 min read·yesdavidgray.comJun 26, 2024
Next.js Server Actions with next-safe-actionTLDR: Add type safe and validated server actions to your Next.js App Router project with next-safe-action. Next.js Server Actions Server Actions are asynchronous functions executed on the server in Next.js. They are defined with the "use server" dire...7 min read·yesdavidgray.comJun 25, 2024
How to Create Excel Spreadsheets with Styling Options Using JavaScriptTLDR: An Open Source fork of SheetJS lets you create and style Excel spreadsheets with JavaScript. Creating XLSX Files An XLSX file is a Microsoft Excel spreadsheet. I previously documented How to Download xlsx Files from a Next.js Route Handler. In ...4 min read·yesdavidgray.comJun 17, 2024
FIX: Git Bash is Slow and has Strange Random Characters in VS CodeTLDR: If you're using git bash in VS Code and notice it slows down and/or starts printing random characters, here's how to fix it. The Problem After a recent VS Code update, I noticed git bash really slowed down. Sometimes it even output random weird...2 min read·yesdavidgray.comJun 14, 2024
How to Download xlsx Files from a Next.js Route HandlerTLDR: You can set up a Next.js Route Handler that creates and downloads Microsoft Excel (xlsx) files. XLSX Files No matter where you work as a developer, there's a good chance someone will ask you to send them an MS Excel spreadsheet sooner or later....4 min read·yesdavidgray.comFeb 18, 2024