I've gone a bit off plan with this post, as I normally stick to technical articles. To be completely honest, none of the "life-y" content gets much interest, and I um-ed and ah-ed for a while before clicking the publish button on this one.
Today I had to set up a secure dropbox for some of our customers to deliver files to us via FTP over SSH. This if far more secure that any normal FTP as it takes place over an SSH tunnel. However we didn't want to just dish out SSH user accounts to anyone, so here's how I locked down the server so users could only upload/download files to their home directory
I recently had to write a little Ruby tool to correct some data on an application I've been working on. While I was able to build the tool locally easily enough, the live data resided on a server without Ruby, so I had to connect to the database via an SSH tunnel. Heres how to do it.
Hubot from Github is a great tool for both fun and automation. We trialled it along side our HipChat trial by installing it onto a free Heroku instance. To give us more flexibility when we went live we moved it to a Digital Ocean droplet along side our testing environments. Here's how it went
During a migration project where a legacy application in CakePHP was being converted into Rails, one of the main issues was supporting the existing database. The similarities on database structure between the two frameworks make this transition relatively painless, but there are a few things to watch out for. In this post I cover the ones I came across.
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.