2023
Next.js error about native node modules using bindings
Struggling to use a native node module with bindings in your Next.js app? I dive into a weird Webpack/Terser issue and a clever Next.js-specific solution to get it working smoothly.
Getting theme colors in JavaScript using React with DaisyUI and TailwindCSS
This post shows you how to use JavaScript to read CSS variables and create dynamic UIs, using SWR for seamless light & dark mode switching!
CSS only placeholder for contenteditable elements
Here is how to make a text area that resizes automatically and has placeholder text, with no JavaScript with this clever CSS trick!
Fully Headless Setup for Raspberry Pi
Don't feel like hooking up a monitor and keyboard to your Raspberry Pi? I'll show you how to set up your Raspberry Pi for headless SSH access using just a few commands.
Self Hosted Backups with Minio, Kopia, and Tailscale
Ditch complex SSH setups and leverage Minio's S3 compatibility with Tailscale for secure, encrypted backups.
Setting up my blog as an Onion service (Tor hidden service)
See how you can use Tor and Docker to create your own hidden onion service, perfect for tech enthusiasts and privacy advocates.
Making the Slow Explicit: Dynamodb vs SQL
Bad SQL habits are to blame for slow databases, not NoSQL magic. Here's my thoughts on how DynamoDB forces better code for scalability.
Enforcing a "Do Not Merge" label with Github Actions
Stop accidental code deployments with a clever GitHub Actions trick using labels to prevent merging pull requests until they're truly ready.
Why I use Dev containers for most of my projects
Let's explore how to use DevContainers to create a one-click development environment with all the tools and services you need.
Get inferred type for a generic parameter in TypeScript
Dive into using TypeScript to extract inferred types, inspired by Zod's schema inference magic.
https://bgenc.net/2023.08.13.nextjs-bindings-cannot-read-property-indexof-undefined-getFileName/https://bgenc.net/2023.08.10.react-daisyui-tailwindcss-theme-colors-in-js/https://bgenc.net/2023.07.02.css-only-contenteditable-placeholder/https://bgenc.net/2023.04.27.raspberry-pi-headless-setup/https://bgenc.net/2023.04.25.self-hosted-backups-with-minio-kopia-tailscale/https://bgenc.net/2023.03.05.set-up-my-blog-as-onion-service/https://bgenc.net/2023.02.26.making-the-slow-explicit-dynamodb-sql/https://bgenc.net/2023.02.18.github-actions-do-not-merge-label/https://bgenc.net/2023.02.10.why-use-devcontainer/https://bgenc.net/2023.01.28.typescript-get-inferred-type/
