Log files are dull to look at. Lines and lines of text and no pretty colors to make it nicer to look at and easier to spot those weird errors you can’t simulate on your machine.
Vim rocks and writing a syntax file is supposed to be a breeze judging from the vast amount of syntax plugins out there. I didn’t quite find one I liked for syntax highlighting HTTP log files, so I thought I’d get down and dirty with some vimscript myself and see if I could hack something together.
It turned out alright I think. So to share the fun I’m hosting the logsyntax.vim plugin on Github and the vim.org scripts library for all to use. It highlights dates, HTTP verbs, URLs, IP addresses etc for IIS, W3C extended, NCSA and probably a bunch more typical log formats.
A while ago I noticed that some of my older posts had some silly misspellings in it, so I was looking for a way to spell check all my posts in one shot. I couldn’t really find anything that was free, so I figured I’d try to write something myself to do this for me.
I knew about the free and open source Hunspell spell checker and that you can use it from the command line. So I thought using that together with the WordPress export XML file which has all your post’s content it should be possible to spell check the whole lot.
The end result is a PowerShell script which reads out the XML export file and runs it through Hunspell, parses the spelling errors found and finally bundling it all into a simple HTML report.
It worked nicely for me, even though it’s pretty crude and simple. I only had to use this once, so I don’t see the point of fine-tuning it a lot further.
However this could be handy for others who want to do the same thing, so I cleaned it up a bit, slapped a readme file on it and posted it on Github as the WordPress full site spell checker.
Check it out if you want to spell check your WordPress blog in a single run and maybe this will be good enough to get your job done. You find more info on how to set up and use it on the Github page.
Space invaders. Probably one of the first computer games I ever played on a console. The blocky invaders have turned into pieces of geek culture all by themselves showing up all over the place from graffiti to tattoos and post-it art. So at one point I ran into this image on Flickr with yet another space invader on it and thought it would be great to use that as a desktop wallpaper somehow. I tried it out but didn’t like the result enough so I decided to make my own. From there I had a template to create some more and now I’m putting them up here for you to download. Yay!
All images are Creative Commons licensed so you can use them quite freely and share them with anyone you like. To maintain the crispness of the awesome gradient backgrounds (yeah, that’s about how far my Gimping skills go) all images are saved in PNG format for maximum quality. I’m also sharing the original GIMP XCF project files with these so that you can go ahead and create your own smashing mash-up of the space invader wallpaper suited to your own personal taste. There’s a template in there with the space invader ranging from very small to rather large. New backgrounds, new resolutions, new compositions, it’s all within your grasp if you get yourself a free copy of GIMP. Don’t forget to link back here if you create something truly awesome btw. I don’t mind some kick-ass wallpapers myself.
All files are released under the Creative Commons Attribution-Share-Alike license just to keep things a tad fair and make sure that everyone finds it way to the source files and gets the same chances of being creative with them. It’s all about the sharing baby!
Images are available in a blue, gold and green background and in 1024×768, 1280×1024, 1440×900 and 1680×1050 screen sizes.
Click the images to get a larger preview. To download you just click that little blue arrow appearing in the right upper corned when hovering the thumbnail.
Can’t see a widget? No problem, click here for direct linkage.