Recovering [iSCSI] LVM on RHEL5

Posted: July 2nd, 2009 | Author: Matt | Filed under: LVM, Linux | Tags: , , , , , , | No Comments »

A while back I had a power failure at work and although our servers are on battery backup one of the machines went down.  I’m still not sure as to why exactly that was since it was plugged into the batteries and it was on a surge protector, but it did.  Anyways, after powering it [...]


Force “File Save As” Prompt When Downloading

Posted: April 2nd, 2009 | Author: Matt | Filed under: .htaccess, Optimization, Web Programming | Tags: , | 1 Comment »

A simple feature any website can add to their downloadable content is to force a “File Save As” prompt when the user clicks the link.  There are a number of ways you can implement this.  Some people may do it a convoluted way through PHP or another language but the easiest thing I’ve found is [...]


Manipulating MySQL column and table data

Posted: March 30th, 2009 | Author: Matt | Filed under: MySQL, Web Programming | Tags: , , | No Comments »

Often times I find it necessary to restructure data in my MySQL database for various reasons.  Usually it is because I have a better data structure in mind to give a site more functionality.  In order to perform the changes I need to either move data from one column to another or move the data [...]


SimpleSlideshowIt – MooTools Slideshow

Posted: March 14th, 2009 | Author: Matt | Filed under: IE6, IT, JavaScript, MooTools, Optimization, Web Programming | Tags: , , | No Comments »

I’ve been trying to find a simple, easy to use MooTools 1.2 slideshow class that can be applied to things other than images.  This is my solution.  I primarily wrote it to deal with images but later I modified it so work with any HTML content.  I hope to add more features in the future [...]


Fedora 10 Broadcom 43xx Wireless

Posted: March 8th, 2009 | Author: Matt | Filed under: IT, Linux | Tags: , , , | 2 Comments »

For quite some time now I’ve wanted to run Linux on my personal machine to force me to learn the OS better.  And for the longest time the biggest thing holding me back was getting my wireless card working.
Way back in the day I installed Fedora 6 on a Dell Latitude D800 and spent a [...]


Convert PDF to Text

Posted: February 15th, 2009 | Author: Matt | Filed under: Web Programming | Tags: , , | No Comments »

While PDF files can be hard to manipulate, there are plenty of PDF tools out there that can be used to perform the functions you need.
If you have ever needed an easy way to convert numerous pages of a PDF to text then you know it’s not something that the average person knows how to [...]


MySQL Find & Replace

Posted: December 29th, 2008 | Author: Matt | Filed under: MySQL, Web Programming | Tags: , | No Comments »

Here’s a quick little piece of code to save some time when you need to do a find/replace on your MySQL tables.

update [table_name] set [field_name] = replace([field_name],’[string_to_find]‘,’[string_to_replace]‘);