Introducing a simple Sublime Text package that generates Sublime project files for a directory.
An article on using Amazon’s AWS service for processing videos I recently put together for Evoluted’s Think Tank website.
A PHP question I particularly like to ask candidates at a job interview is to explain a bit of code that includes the
$$ syntax for variable variables. It’s great if the candidate is already familiar with this feature of PHP; but what’s more important to me is that once the candidate understands how this syntax works that they can describe potential issues with using it.
Using Git hooks to encourage a branch naming convention and inject an issue number in commit messages using the current branch name.
If your development and production environments don’t match you can easily get tripped up when the time comes to deploy to the live server. It’s not too uncommon for developers to find themselves working with one version of PHP and using another in an app or website’s final destination. If you use Composer to manage PHP packages it would be nice to be able to take this into account to avoid any nasty surprises post deployment. Thankfully Composer has this covered.
TravisCI is a great service for running your continuous integration scripts, but when something isn’t working it can be a pain to resolve. One way of testing your script in order to fix it is to install Travis locally using Docker.
Have you ever found yourself stuck with gibberish characters in a database that you’ve just imported? Is your data looking like someone’s tried to mask expletives? Then perhaps you’ve found yourself exporting a latin1 encoded database containing UTF-8 characters.
A look at using PHP traits with Laravel’s Eloquent models, hooking them up with events and making them configurable.
I’ve released the latest version of my Social Share plugin for CakePHP today.
Last week I found myself needing to quickly seed a column in a database with incremental datetime values. This is not something I’d ever needed to do before in MySQL, but the solution I found was beautifully simple. So I am going to share here how I did this and show you how you can easily populate a column for existing records with an incremental value.