Slow site lately

Over the last few weeks I noticed this site becoming steadily slower. Turns out I had an unusual amount of requests for /xmlrpc.php.. which in turn caused the server to use up all it’s http processes answering bogus rpc queries for ping backs and whatnot that the nice script kiddies all over the world are trying to exploit I guess.

So… took care of that. Hopefully things are back to normal. I’ll have to go back and re-evaluate if I actually want any of that functionality I guess.

AllMyBrain is Tweeting

I’ve succumbed to the Micro Blogging movement. I figure it’s a little easier to keep people posted on various topics by posting a tweet rather than adding a new blog post for small items of information or links. Fell free to follow @allmybrain. I added a Twitter widget to WordPress as well, which seems to work just fine.

Fixing the code highlighter for WordPress

Many of my posts have some sort of code, shell script, or other syntax highlighted portion. I’ve loved the code highligher plugin for wordpress. The version I’ve been using (1.8) doesn’t seem to have had any updates for quite some time. The only reason that bothers me in the slightest is that there is a syntax highlighting bug in bash commenting. Since the highlighting for the plugin is done with Geshi, You can just download the latest Geshi and overwrite the plugin geshi folder.

> cd /your/wp/plugins/code-highligher
> wget http://superb-west.dl.sourceforge.net/sourceforge/geshi/GeSHi-1.0.8.4.tar.gz
> # untar geshi files to the current directory
> # note that the archive file has a top level geshi directory that the plugin file doesn't have.
> # now, if I did this right, my bash comments can contain 'strings' and reserved words df, ls, etc