Just a quick note today, I had to truncate a massive list of log files and here is a quick and dirty way to do it. Typical warnings apply when using commands from the internet. Please know what you're typing into your command line.
The newly founded PHP Dorset user group had its "0th" meet up on Monday 4th November
Getting these to play nice together was proving difficult after my recent upgrade to Mavericks. Luckily I came across the solution via Tim Pope on Github
Finally, a part 2. The continuation of my Asset Strategy for CakePHP
This weekend was the PHPNW13 conference in Manchester. It was an amazing event, with some brilliant talks and I've come away more inspired about PHP than I've felt in a long time.
I manage an awful lot of servers between my day job and the freelance work I do from time to time. Rather than storing lots of bash/zsh aliases for ssh connections I went looking for a better way.
The CentOS yum repositories only have Vim 7.2 available for install, however there are a number of bug fixes and new features in the 7.3+ versions that I like to have available. As such I now generally install Vim from source on a new CentOS box to make sure i have the latest version available.
I recently watched a talk by Rafael Dohms from Kings of Code Festival in December 2012. He outlines 10 guidelines for improving the way we write code. I loved this talk and this post is really just a way of getting the points to stick in my head as well as helping publicise the video and Rafael's talk.
Creating a custom configure file in your CakePHP application is a handy way to store app specific settings you may not want in the database. If ignored from source control it also keeps authentication credentials out of peoples hands.
On Saturday I had the chance of going hot air ballooning with my wife. It was a belated anniversary present to each other, and it was pretty amazing.