Blog
Saturday 14th October 2023
How to speed up your Laravel test suite by using the GitHub Actions cache
When you're working in software development, especially if you are part of a team, it's good practice to implement Continuous Integration "CI"; continually running your test suite after each...
ReadSunday 9th July 2023
How to add a hash index to a column in a Laravel migration
MySQL supports several different types of index, each with their own advantages and disadvantages. The most common types are b-tree and hash. The default b-tree index type is useful for range...
ReadSaturday 18th September 2021
Extending GitHub Actions to output static content
At work, we use GitHub Actions extensively for running test suites and building software packages. It’s awesome to have such powerful and flexible functionality integrated directly into the GitHub...
ReadSaturday 22nd May 2021
Using MySQL error messages to ensure randomly generated strings are unique
For my home project GoStatic each deployment has a unique, randomly generated URL.
Example: https://er34oltia2yqkyvl.gostatic.app
The URL is generated using Laravel's Str::random()
...