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.

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

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

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.