Author Archives: admin

New Wordpress Plugin

I just released SToken Console – a Wordpress plugin that puts a console-like widget into your Wordpress site. You can use an admin tool to edit the commands the console will accept. This all sounds kind of abstract but the idea is that you can use it to allow some of your site’s readers access [...]
Posted in SToken Console | Tagged | Leave a comment

Zend_Mail attachments not recognised in MS Outlook

Here’s an annoying little problem with a simple fix. If you are creating emails with Zend_Mail and you find that MS Outlook just can’t recognise the attachment, try setting the attachment’s filename property. This forces Outlook to see the file extension and therefore make the attachment openable. Mail.app on the Mac is smart enough to [...]
Posted in Uncategorized | Tagged , , | Leave a comment

Remove old .svn files in an orphaned checked out project

I recently found myself with a checked out Subversion project that was orphaned from its repository. I wanted to create a new repository and import the files there to start from scratch, but was stuck with thousands of .svn folders, all through the project. This is the best way I’ve found to remove all the [...]
Posted in Subversion | Tagged , , | Leave a comment

How to prevent weird characters after MySQL export and import

When you export from a MySQL Database to a .sql file, then import that into a new Database, you may find a bunch of weird characters. This post is not an exhaustive explanation of why the problem happens, more a note on how to avoid the issue when exporting and importing in MySQL. The issue is [...]
Posted in MySQL | Tagged , , | Leave a comment