WordPress Plugin conflicts

I logged onto my blog last night and noticed that there was a new version of of my favorite photograph plugin NextGEN Gallery. Right, I thought, since it’s just so easy to upgrade plugins on wordpress 2.5 these day (one click), off I went and upgraded.

Logged out of my blog and went to check my gallery, low and behold the plugin Lightview Plus had stopped working with my photo gallery, damn! thought I. So off I went to the Lightview Plug forum and posted a “Help NextGEN has broken my plugin? please help” post.

I browsed over to the Lightview Plus website the following day and lo and behold someone had suggested a fix, I tried it but it didn’t work, still, it did point me in the right direction. So I spent a bit of time this afternoon and managed to work out the syntax for my site.

Continue reading

Edinburgh Marathon Training

Having taken a week off, I’m champing at the bit to start training for the Edinburgh Marathon. I might do a little light jogging this week to see how my legs have recovering, nothing to strenuous. Then start training in earnest on the week beginning the 14th April, I’m going to adapt the marathon training I did for the Paris Marathon, basically just chop the 5 weeks off the end of it and use that. I think my endurance training should still be quite valid after only 2 weeks of rest (hopefully) what I’m going to concentrate on doing some speed work during the week followed by the usual long run at the weekend.

Fingers crossed all goes well 🙂 my training schedule is here.

Upgraded to WordPress 2.5

Just upgraded to WordPress 2.5 using subversion, took me a total of 5 minutes to do (excellent). Disabled all the plugins, ran the following command and updated the database. If your going to try it yourself I would suggest that you read the documentation provided by the WordPress Team before you try. You do of course, need shell access to your webpages before you can use Subversion.


[code lang=”bash”]svn sw http://svn.automattic.com/wordpress/tags/2.5/[/code]

Continue reading

GnuPGP Key

First I generated a PGP Key Pair by typing the command
[code lang=”bash”]gpg –gen-key[/code]
You are prompted with the following
[code lang=”bash”]gpg (GnuPG) 1.4.6; Copyright (C) 2006 Free Software Foundation, Inc.
This program comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to redistribute it
under certain conditions. See the file COPYING for details.

Please select what kind of key you want:
(1) DSA and Elgamal (default)
(2) DSA (sign only)
(5) RSA (sign only)
Your selection?[/code]
I usually take the defaults when prompted.

I then read the manual provided at the GnuPGP website. Some other resources I found useful are listed below. Next you need to register your Public Key with a reliable key server, I used one that I found in the UK here.

Below is the command I used to register my public key, yours will be almost exactly the same, apart from the public key 6E8A8EB6 which is mine, your of course will be different.
[code lang=”bash”]billy@linux:~$ gpg –fingerprint billy
pub 1024D/6E8A8EB6 2008-03-18
Key fingerprint = 2133 B30D CCF4 1739 5EC6 AEF0 8690 2B09 6E8A 8EB6
uid Billy Dickson
sub 2048g/08E07B36 2008-03-18[/code]
[code lang=”bash”]gpg –keyserver pgp.uk.demon.net –send-key 6E8A8EB6[/code]

Below is a pretty basic bash script that I wrote to backup my public and private keys. I then copied the resulting file to a CD and hid it in my house (somewhere) 🙂
[code lang=”bash”]gpg -a –export-secret-keys 6E8A8EB6 > sec_key.asc; gpg -a –export 6E8A8EB6 >> sec_key.asc[/code]