Archive

Archive for the ‘Scripts’ Category

A MySql ibdata1 Optimization Technique

February 23rd, 2010 Comments off

A MySql database needed to be removed and upon deletion of that single database, the extremely large three gigabite ibdata1 (data) file remained. Here are the steps I took to reduce or shrink the file once the database was removed. Since there was no other use for this MySql installation, there remained the MySql system databases....
Continue reading ...

IIS 6 Compression - The Quick Way

February 22nd, 2010 Comments off

There are many articles that I've come across that detail how to enable gzip compression within IIS 6 on a Windows Server 2003 with the Application Server option enabled nder the Configure My Server 2003 wizard. Gzip compression can compress the output of dynamic webpages (.aspx) and webservices (.asmx). It can reduce the filesize significantly....
Continue reading ...

Add missing FSMOs the Active Directory

February 22nd, 2010 Comments off

There was a situation where one of the primary domain controllers would not boot and we were forced to upgrade the other domain controller to the primary controller position. This is an AD domain operating on Windows 2003. All references to the failed server were removed from AD. The AD domain seemed to be functioning correctly, until an attempt was made to add another domain controller....
Continue reading ...

Solution to the WordPress Plugin WPTouch Returns a 404 Error when the Category is Empty.

February 21st, 2010 Comments off

wordpress-4There is an excellent plugin for WordPress called WPTouch. It's purpose is to format web content to display more appropriately on portable devices such as the iPhone, BlackBerry, and other similar interfaces. It is extremely customizable. One of the nagging issues that I had had with this plugin is that it contains it's own function for displaying categories. The problem with this function is that it will display categories with zero posts....
Continue reading ...

How to Change the Microsoft Office 2007 Product Key

December 10th, 2009 Comments off

code-2There are many situations that come to mind as to the reason why someone would want to change the product key. Such examples may be changing from a retail key to a volume license key or vice versa or to remove the license on a computer that you are selling, this would require the enduser to supply their appropriately purchased license key. There are other possiblities....
Continue reading ...

WordPress Tip: Add modified dates to posts

May 27th, 2009 Comments off

wordpress-3-1On more than one occassion, I have read through an article that seamed relevant until I realized that the date of the article maybe years old. In many cases, the authors have made changes to the article, but the reader really isn't sure about the content of the article because of the age, so they simply pass over the article, regardless of the likelyhood that the content is up-to-date and relevant.

I have modified a piece of code that I use, currently on my megocollector site, to alert the reader of the last time the article has been modified. Read more...

WordPress Plugin: Paypal Donate (Version 1.1)

May 27th, 2009 Comments off

wordpress-3-1The original WordPress PayPal Donate is a plugin written by Mikhail Esteves in 2006. This plugin allows for the easy inclusion of Paypal Donate buttons in WordPress posts and pages. On the option page the generated donate button code provided by PayPal can be saved to a form and the pre-defined tag may be applied to individual posts or pages.

Although this plugin is still in circulation and functional, I rewrote portions of the plugin to take advantage of the more modern functions that WordPress offers including shortcodes. Read more...

How to get wp-print to display Nextgen nicely!

May 21st, 2009 Comments off

wordpress-3-1There are many great WordPress plugins that every site owner should consider using. Of the plugins, wp-print and Nextgen Gallery will greatly enhance any site. However, wp-print does not display the Nextgen Gallery the way that I would like it to. Instead of displaying the images in a row as displayed on the site, the printable version is a long column of images. This makes for a very long printable document that really does not look good at all. After many hours of frustration, I figured out a resolution to this. Read more...