Blog.

This is where I write about neat things I've built and learned. I may also throw in some tips and tricks from time to time.

Posted on

Dec 23, 2023

Build a Custom Datepicker with Svelte

This post walks through building a basic datepicker using Svelte. This is a great starting point for building a more complex datepicker.

Posted on

Dec 06, 2023

Block Specified WordPress Plugins from Receiving Updates

This code can be placed in your theme's functions.php to prevent the specified WordPress plugins from getting updated.

Posted on

Nov 17, 2023

I Built a Game Called Flipping Bananas

I built a game called Flipping Bananas. It's a puzzle game with similarities to Minesweeper and Picross. Flip over cards to find bananas, but beware of Spike the Dog!

Posted on

Jul 31, 2023

Run JavaScript Function Once a Condition is Met

A simple snippet that runs a function continuously until a condition is met. Once the condition is met it executes some code and the interval is cleared.

Posted on

Jul 26, 2023

Require Double Clicking cmd+q to Quit Applications on macOS

Add a script that requires clicking cmd+q twice to quit applications on macOS. Never accidentally quit an application when you only wanted to close a tab again.

Posted on

Jul 24, 2023

Add Custom Rewrite Rules to WordPress

Add custom rewrite rules to WordPress to replace a query string for a user profile page with a pretty url path.

Posted on

Jul 21, 2023

How to Properly Hide an Element with CSS

You may think hiding elements with CSS is trivial but there actually is an incorrect way of doing it, and you've probably done it. I know I have.

Posted on

Jun 23, 2023

Useful WP-CLI Commands

If you are a WordPress developer you need to be using WP-CLI. Here are some of the commands that I find the most useful.

Posted on

Jun 23, 2023

Magento 2.4.6 Bug: Could not validate a connection to Elasticsearch

Fix "Could not validate a connection to Elasticsearch. No alive nodes found in your cluster" error in Magento 2

Posted on

Jun 13, 2023

Use PHP to delete all WooCommerce customers with zero orders

An easy way to delete all users in WooCommerce that haven't made any orders.

Posted on

Jun 07, 2023

Getting New SHiFT Codes via SMS

Borderlands is one of my favorite game franchises. To make sure I never miss out on a SHiFT code, I created a solution that will send me a text any time a new code is released.