Stuff & Nonsense

Posts by paul:

Produce a ‘patch’ from a subversion repository

Produce a ‘patch’ from a subversion repository

I use subversion quite extensively for PHP code versioning (in particular the excellent Redmine software project management tool has a built in subversion server) and recently had a requirement to produce a set of files that had changed from one revision to another. Specifically my repository has some changes committed to it that I don’t […]

PHP: clean up your includes!

PHP: clean up your includes!

If you’ve ever worked on any kind of PHP framework, you’ll likely know the pain that a misplaced ‘space’ in one of your includes can cause.  For the rest of you imagine this scenario: To load a page in my framework, I have an index.php that loads in a ‘core.php’ (which isn’t web accessible for […]

VirtualBox seamless mode

VirtualBox seamless mode

This is my current desktop in the office: As you can see, KDE4 taskbar on the right, windows 7 taskbar on the left.  Windows from the right can move onto the left screen freely (note the linux terminal on the left screen).  Unfortunately due to limitations in the virtualbox seamless mode windows from the left […]

PHP Javascript / CSS loader

PHP Javascript / CSS loader

I’m currently working on an in-house management system here at Tyrrell Systems, and employ a lot (seriously, a lot) of javascript for everything from ajax loading of information to various layout tweaks and so on. When I inherited the project (a good 2 years ago now) the previous coders had made use of various scripts […]