Coding Crossroads

Latest Posts

The Altar of the Elements

The Altar of the Elements

December 22, 2022

Fun with CSS Selectors

November 20, 2020

Why Coding Crossroads?

November 18, 2020
Today npm stopped working

Today npm stopped working

November 16, 2020

Things I Take for Granted

I subscribe to Medium and get a daily email with a selection of javascript/programming articles. It's a good practice that helps me keep tabs on what's happening in the industry (or at least what other people think is happening in the industry).

November 13, 2020
Using Redis with Next.js

Using Redis with Next.js

I'm a really big fan of using redis for caching. I'm also a big fan of Next.js. A React framework that incorporates frontend code with backend code.... what isn't there to like?

November 12, 2020
useBoolean hook

useBoolean hook

Here's a quick React hook for handling boolean values in your React functional components.

November 11, 2020
Running Dynamodb local with Docker and Persistent Data Storage

Running Dynamodb local with Docker and Persistent Data Storage

I am working on a project that is using Dynamodb as the primary database. I had not used dynamodb local before and wanted to take it for a spin.

November 10, 2020

Add class to wordpress body_class() function

I recently needed to add a unique class to the body class for various templates. I didn't want to write a function that cluttered the global namespace, so I wrote this function that uses create_function.

June 25, 2012

Displaying a table in Gmail

I recently exported an image from Fireworks as a table, to use in an email. Everything looked good, until I tested in GMail. The table cells were all over the place, and I was almost ready to go back to the drawing board.

April 27, 2012