Latest Publications

Learning the hard way

Setting up a wordpress blog is not hard, even if you’re tired and enjoying a very nice glass of Laphroaig. Remembering your new admin password, on the other hand, can be very hard in that situation. So what to do when you have forgetten it? You could try having your wordpress install reset it, but if you’re as lucky as me it doesn’t actually send you the new password (or the activation key before that). You could also try to install this: http://www.village-idiot.org/archives/2007/05/22/wp-emergency-password-recovery/ if you have access to the code and you trust it (I would). However, if you’re a bit more in the debugging spirit and you can mess with the code, you could also have a look round the wordpress script files for interesting functions. In particular, the wp_check_password function in wp-includes/pluggable.php checks if a password matches the input – stick a return true; in the beginning of the function and you’ll be flying by with any character jumble used for password.

… remember to remove this hack or you WILL regret it.

In the beginning …

I’ve taken a bite of the bitter apple and realised that I’m not going to get site back up anytime soon – that is, I’m not going to get the custom framework based site up and running. I’m also not going to get a Zend-based site up and running soon though I’m close to switching priorities to that. At some point I’ll still do it, I think, just don’t have the time at the moment (and no, I don’t think I can do a better job, I don’t think I can create a superior CMS, but creating my first blog was how I learned about N-to-N database relationships … without having read about them first. Yes, it’s all about learning).

Still need an outlet for ranting, though … too many things that just don’t make sense for me to not comment on them. Hence: @ fake’s