Just a quick message to let you know of a couple of promotions on my books on the Amazon UK kindle store.
I was following a bus the other day and it was so slow. It started me thinking about the design of a bus and how could it be imporved with modern technology. Some of the problems with buses include:
I have been tasked with building a new website using WordPress. The last time I used WordPress was a few years ago and involved using Advanced Custom Fields to build custom pages and layouts. Things have changed a lot over the years and now there is the built in Gutenberg editor, which uses blocks to create a custom layout and add content. The trouble was, there didn’t seem to be great support in Visual Studio Code for the blocks, as they use HTML comments.
Last year I wrote a post about testing Laravel Livewire validation rules with PHP Unit. This post uses the same techniques as that post, but shows how to transfer it to Pest instead of PHP Unit.
window.location. This left me trying to figure out how to mock the
window.location so that I could pass in dummy data and ensure that the data I got back was what was expected. Here was how I managed to solve the issue.