Dev Notes.

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.

July 18, 2024

Find All Broken URLs for a Website

Learn how to find all URLs for a website that have been indexed on Google and how to get a list of URLs that are broken so you can create redirects.

March 06, 2024

Create a sitemap.xml for Your SvelteKit Website

In this post we'll go over creating a simple sitemap.xml in SvelteKit.

February 27, 2024

Build a Modal Component with Svelte

This post walks through building a simple modal component in Svelte. This modal component is the same modal I use on this website.

February 12, 2024

Adding Tailwind CSS to Your Shopify Theme

This post walks through the process of setting up Tailwind CSS in a Shopify Theme and running multiple terminal commands at once using Concurrently.

January 09, 2024

A List of Resources for Website Assets

A helpful list of resources for icons and stock images.

December 31, 2023

How to Trap Focus Inside a Modal to Make it Accessible for All Users

When a user has a modal open they should be confined to that modal until they decide to leave it, including when navigating the modal with a keyboard.

December 27, 2023

Fade in Elements as They Come Into View

Fading content in as it comes into view is a nice effect you can add to your website to enhance your users experience. Learn how to add this to your website.

December 25, 2023

How to Turn on Kid Mode on your iPhone

Learn how to enable kid mode on your iPhone so you can let your kids watch videos or play games on your iPhone without worrying about them calling 911.

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

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

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 the Dog!

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.

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.

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.

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.

June 23, 2023

Useful WP-CLI Commands

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

June 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

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.

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