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.

December 6, 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.

Read Full Post

November 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 to Dog!

Read Full Post

July 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.

Read Full Post

July 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.

Read Full Post

July 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.

Read Full Post

July 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.

Read Full Post

June 23, 2023

Useful WP-CLI Commands

WP-CLI is a must have in any WordPress developer's toolbox. It simplifies common tasks, allowing you to perform them from your terminal.

Read Full Post

June 23, 2023

Magento 2.4.6 Bug: Could not validate a connection to Elasticsearch

"Could not validate a connection to Elasticsearch" is a bug in Magento 2.4.6 that prevents connecting to Elasticsearch when running the install command, even though Elasticsearch is installed and running.

Read Full Post

June 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.

Read Full Post

June 7, 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.

Read Full Post

June 7, 2023

How I Built My New Website

This website was built using the Svelte JavaScript framework and styled with TailwindCSS. All the blog posts are written in Prismic CMS. The website is hosted on Netlify.

Read Full Post