Development (52 posts)

View other categories: all categories

Goodbye WordPress, Hello Statamic

I have been waiting sooo long to write this post. After two decades with the same CMS, I've made the switch away from WordPress. When I started using it, WordPress was just out of beta. Facebook was …

How to give Cursor AI the current date & time

If I'm using Cursor to help me scaffold out a new app, it sometimes creates Laravel migration files with the filename xxxx_xx_xx-migration-description, which is annoying, to say the least. It does …

Sending Slack messages from Laravel console commands

I recently struggled to get my Laravel 11 app to send messages to a Slack notification channel. My first confusion was that the docs refer to making the relevant model class notifiable and sending the …

Fix Virtualbox Symlinks in Guest share on Windows host

Note to self In my [[Windows 10 dev environment]] I have a shared folder between the host machine (my laptop) and the guest VM. The ability to create symlinks within the guest is disabled by default …

Dear OneNote API dev team

Hi, I'm only writing this publicly as I don't know how to get hold of you, and that's kind of the point. Sure there are many official channels including your website, Uservoice, Stack Overflow and …

Serious Bash exploit & fix

There's a bash exploit doing the rounds that is drop-everything serious. The short version is that it is: related to how environment variables are processed: trailing code in function definitions was …

Wordpress Naked, approaching 16,000 downloads

One evening in 2007 I got frustrated by once again having to strip out all of the styling from one of the then default Wordpress themes (remember Kubrick?) prior to building a client's site, so I …

Anonymise personal data in a Wordpress database

Are you about to get a freelancer to work on your existing Wordpress site for you or one of your clients? Here's a simple SQL script you can run against your dev database to randomise all the user …

Tip: keep Vagrant guest additions up to date

I found a handy plugin this weekend for keeping my PHP development Vagrant VM VirtualBox guest additions in sync: vagrant-vbguest vagrant plugin install vagrant-vbguest Every time you do a vagrant up …

OneNote API and PHP

Recently Microsoft released an API for my brain indexer favourite tool, OneNote. To say I'm excited by the opportunities presented with this API, especially when it has some more features, would be an …