Recent Posts

I write about challenges faced in software development and life. Where one stops and the other begins, you tell me.

Recent Posts Header Image

Building The Matrix Digital Rain Effect: A Journey of Optimization

Published January 23, 2025

You know those moments during vacation when you should be relaxing, but the creative coding brain just won’t shut off? That was me last week, sitting in an Airbnb with my laptop, a decent WiFi connection, and way too much coffee. The goal? Create my own version of the iconic Matrix digital rain effect – […]

Keep Reading →
Featured Photo for Building The Matrix Digital Rain Effect: A Journey of Optimization

Building Memory for the Terminal with ink-playing-cards library

Published January 10, 2025

Explore the joys of building terminal-based card games with a dive into my journey of recreating the classic Memory/Concentration card game using the ink-playing-cards library.

Keep Reading →
Featured Photo for Building Memory for the Terminal with ink-playing-cards library

Mastering .npmignore: Optimize Your NPM Package Today!

Published January 07, 2025

Optimize your Node.js packages with .npmignore to enhance performance by excluding unnecessary files, reducing size, and improving user installation.

Keep Reading →
Featured Photo for Mastering .npmignore: Optimize Your NPM Package Today!

Building Blackjack for the Terminal with ink-playing-cards library

Published December 27, 2024

Create a terminal-based Blackjack game with React, TypeScript, and the `ink-playing-cards` card library for a nostalgic yet modern gaming experience.

Keep Reading →
Featured Photo for Building Blackjack for the Terminal with ink-playing-cards library

Ink Enhanced Select Input: A Flexible Horizontal & Vertical Select Component for the Terminal

Published December 22, 2024

Upgrade your ink-select-input for seamless vertical and horizontal layouts enabling more intuitive and space-efficient interfaces in your Ink CLI apps

Keep Reading →
Featured Photo for Ink Enhanced Select Input: A Flexible Horizontal & Vertical Select Component for the Terminal

Pong Clone with Ink: Returning to Game Dev with Terminal Games 👾

Published December 18, 2024

Building a Pong Clone with Ink and React for the Terminal and publishing through npm

Keep Reading →
Featured Photo for Pong Clone with Ink: Returning to Game Dev with Terminal Games 👾

Typing `Unknown` Supabase RPC Calls

Published October 13, 2024

Recently I was working with the Supabase SDK on a personal project and inside this project, I am using the .rpc() method to call a SQL function. This function attempts to aggregate data around a user’s current link stats; how many there are, what’s being clicked, etc. Without going into too much detail, using RPC […]

Keep Reading →
Featured Photo for Typing `Unknown` Supabase RPC Calls

Remember to close localhost tabs before GatsbyJS npm start

Published September 08, 2021

Encountering a “socket hang up” error in Gatsby? Learn how keeping localhost tabs open can disrupt live-reload connections and how to fix it.

Keep Reading →
Featured Photo for Remember to close localhost tabs before GatsbyJS npm start

Yup! Even more schemas validation examples for Yup…

Published May 01, 2021

Explore essential Yup schema examples for validating user profiles, blog posts, and e-commerce data

Keep Reading →
Featured Photo for Yup! Even more schemas validation examples for Yup…

Clean Data, Happy Code: A Partial Guide to Validating & Sanitizing User Input in JavaScript with Yup!

Published February 17, 2021

Learn how to effectively validate and sanitize user input in web applications using Yup and DOMPurify to enhance security and maintain clean code.

Keep Reading →
Featured Photo for Clean Data, Happy Code: A Partial Guide to Validating & Sanitizing User Input in JavaScript with Yup!

griffen.codes

made with 💖 and

2025 © all rights are reserved | updated 12 seconds ago

Footer Background Image