Notes on code, how I work, and what I’m playing.
I’m Duane, a developer. I use this site to keep track of the fixes I want to remember, along with random thoughts on whatever I’ve been playing lately.
Latest posts
~/postsHow to inject custom CSS into any website using a bookmarklet
At work we have several different enterprise websites. The problem with a lot of enterprise websites is that the user experience is awful. The layout and structure of the page make even simple tasks harder than they need to be. It’s worse when you have to use the system every day.
Read the postHow to automatically delete old records in Laravel
There may be circumstances in your application where you need to delete old or no longer needed data. This could be for reasons such as improving performance or keeping your data fresh. Laravel has a trait which is perfect for this called Prunable, which allows you to set up a command to delete records from…
My go-to secondary job for each character in Octopath Traveler 2
Octopath Traveler 2 is, to me, a best-in-class game and one of the most complete RPGs I’ve ever played. Unless you are playing boss fights, the battles don’t last long, especially with the right build. It’s one of those games where by lining up your secondary jobs, skills, and weapons, any of the eight characters…
How to add a custom font to your Laravel project
There may be occasions when you have to use a custom font, such as a brand font, in your Laravel Project. I’m going to go through the steps for adding a custom font to your project.
Beyond WordPress: first thoughts on using Statamic as a CMS
With all the issues with WordPress and WP Engine, I thought it would be a good opportunity to look at a couple of other CMS. For a while now, I’ve not been keen on the direction that WordPress has been heading in the past few releases, so I used this as a perfect opportunity to…
Games I completed in 2024
As we come to the end of the year, I wanted to reflect on some of the games I have completed. This year was a lot different for me, as I usually go back and replay games I completed before. But there is not one game on this list I have completed before. I’m also…
How to update input values dynamically based on another input with Laravel and Livewire
One of the things I love about modern development tools and frameworks is how they make it so easy to do simple features. Years ago, these sorts of things I’m about to show would be some jQuery gymnastic with a prayer that it works in IE. Updating another value based on input in Livewire is…