Code Archive

  • popular_thumbnail

    Change the look of the Popularity tab in Arras’ Tabbed Widget

    After upgrading to WP 3.0 and Arras 1.4.3, I also re-arranged some of its layout – most notably, I stopped displaying the Featured posts in the Tabbed widget and replaced it with the Most Popular. There was no sense of having the featured posts displayed [...]

    Full Story

  • wp_gallery_thumbnail2

    WP-Gallery2 Plugin v0.8.1

    A couple of day ago, a user (yeah, someone is actually using the plugin) reported a problem with the WP-Gallery2 plugin where he was getting the following error: Warning: substr_compare() [function.substr-compare]: The length cannot exceed initial string length <path>/wp-content/plugins/wp-gallery2/lib/gallery.php on line 43 Line 43 in the gallery.php [...]

    Full Story

  • ips_thumbnail

    Notification when your dynamic IP changes

    I am sure I am not the only person out there who is running a website (or some kind of externally accessible server) on their home machine. I am also sure that I am not the only one doing the above with an Internet service [...]

    Full Story

  • css_thumbnail

    Fruitless attempts at understanding CSS layouts

    After working on the WP-Gallery2 plugin for some time, I got another idea for a plugin that I wanted to write, this time involving jQuery and some interesting effects. A big part of the plugin would be it’s layout and how the different elements are [...]

    Full Story

  • code

    Simple Python HTTP Proxy

    Some time ago my company announced that they will start capturing and logging all HTTP traffic to and from the company. While I definitely don’t spend my time at work surfing the web, I don’t appreciate them looking over my shoulder and checking up on [...]

    Full Story

  • code

    Gkrellm-ToDo Plugin

    The Gkrellm Gtodo Plugin started as a side project because I really did not have anything that I could use to keep my tasks and remind me of what I had to do. At the time, there was nothing else that did what I wanted, [...]

    Full Story