3-Column Black-Letterhead Theme

Introducing the 3-Column Black-Letterhead Theme with two right-handed sidebars. The theme is based on the original Black-Letterhead theme. To preview or download the theme, just click on the links below. Enjoy. If you have any questions, please send your questions to the Support Forum.

Download - downloaded 1538 times. Version 0.1. Filesize 394.81 KB.

Using Linux to Fix a Windows XP Patch

Apparently, there is a Windows XP patch that has gone awry. The patch has rendered a few Windows XP systems unbootable. Michael Horowitz from ComputerWorld suggested that Microsoft should use Linux to fix the booting issue. What a novel idea! Of course, Microsoft will never use Linux to fix Windows. That’s the reason why there hasn’t been any solution offered at the Microsoft Security Response Center the last four days.

Practically, most Linux distributions nowadays can boot from a Live CD, something Windows OS could not or will not do. You can even run Linux Live CD on a system with no internal hard drive. All you need is a little bit of memory and a CD player. You’re set to go.

The offending Windows XP patch is called KB977165. Here’s some detail from ComputerWorld:

The problematic patch is said to be KB977165. There are instructions online about backing out this patch using the Recovery Console. It doesn’t take much to adapt these instructions to Linux. Since Linux offers a friendly GUI, it’s arguably easier to use than the Recovery Console.

You can read more about the patch here.

Upgrade WordPress Using Subversion and Shell Script

Every couple of months or so, a new version of WordPress comes out. If you own a dozen blogs in your arsenal, you will need to upgrade each one of them. Thankfully, there is the automatic upgrade button available within WordPress. But still, you still have to login to each one of them and click on each button to upgrade WordPress. You wish there was an easy way to upgrade all 20 blogs with a single command.

Well, there is a simple solution with the help of Subversion and Shell Script. For several years, I have been using Subversion to upgrade WordPress. Each time there is a new version of WordPress, I just type in a single command to upgrade a dozen blogs or so. For the most part, it takes less than 30 seconds to upgrade a dozen of blogs.

Here is the simple Shell Script:

# A script to upgrade dozens of WordPress installs using Subversion.
echo “Upgrading blog 1cd /home/user/blog1.com/
svn switch $wpv
echo “Upgrading blog2.com”
cd /home/user/blog2.com/
svn switch $wpv
echo “Upgrading blog3.com”
cd /home/user/blog3.com/
svn switch $wpv

and so on….

If you have 20 blogs or so, you will need to include all 20 of them in one little script. You just need to change the “wpv” variable to point to the latest WordPress version. Once you made the change, and depending on the amount of files that has changed from one version to the next, the upgrade process can take anywhere from 10-30 seconds — that’s for 20 blogs!

For this script to work, you will need access to a web server that supports both Subversion and SSH. First, you need to install WordPress using Subversion. That can be easily done using the Subversion Checkout command. Once installed, you can create a simple Shell script like the one above, to execute the upgrade process. If your web host supports both, you might want to consider this little script when upgrading WordPress.

One Reason I Love Verdana

One reason I really love Verdana is looks great on all browsers. And it’s a big enough reason. I think as a whole, most Sans-Serif fonts like Verdana, Helvetica and Arial, do look good because they tend to render them properly on most browsers, on most operating systems.

Georgia, Times New Roman, and most Serif fonts tend to look bad on some operating systems that do not have anti-aliasing. If they do, then it’s probably not a good idea to use them in small fonts. Georgia is used mostly as a headline because it looks great in large fonts.

Arial is probably the most used because it is easier to read. Times New Roman is standard in Windows. Comic Sans MS is informal, but some people comically like it.

Overall, I still think Verdana is best – for me anyways. I don’t know for you.

Code Igniter Is Great

I finally had a chance to evaluate Code Igniter for a couple of hours. The sample videos, tutorials, and online manual are simple and straightforward. I tried a couple of examples and they worked great. I can’t wait to get started with a couple of projects. I might try a simple todo list just to get my feet wet.

What impressed me most are the number of helpers and classes that are available for use. It’s quite comprehensive from email, form, array, file, date, smiley, just to name a few helpers. Why recreate the wheel if it’s already available.

It takes a little bit of used to the MVC framework because it’s completely a different paradigm. Separating code from design does make a lot of sense. I do see the potential for rapid development due to the simplicity of functions like queries to the database, for example.

One thing I want to figure out how to get a template system working.

After two hours with Code Igniter, I’m fairly impressed.

I can’t wait to dive deeper into Code Igniter.