Some slightly rambling thoughts on the extremely contrasting Ubuntu and Windows methods of keeping your operating system and associated software up to date.
TL;DR Ubuntu offers a far superior experience.
At first I didn’t get PHPSpec’s “inline matchers” but have since discovered how to use them for matching custom conditions in your tests.
It’s amazing how far a few simple examples will take you, and thanks to kind-hearted folk on the net, I’ve had my eyes opened and hopefully can provide some useful examples for other people.
I’ve recently started using PHPSpec to drive my testing efforts in a new Laravel project. The behaviour-driven approach makes a lot of sense to me but I am finding it a little difficult to master.
This post provides a fix if you find PHPSpec throwing
Class not found errors after running your test suite on the command line.
I recently had an issue with Google Drive which resulted in a large number of duplicate files and folders being created.
Fortunately, using linux command line provided an easy way find all these files and move them to another folder whilst retaining their directory structure.
Here’s a quick guide to batch optimising your website’s images to decrease page load time for your website visitors. It’s easy and only takes a few minutes.
I’ll be looking at two useful Linux command line tools – jpegoptim and optipng – and showing you how to use them and how to batch process all images in a folder (and sub-folders).
Internationalisation can be a major headache: language, date formats and measurements. Here’s how to convert crazy “feet and inches” to centimetres and back.