Archive for June, 2008

How to install WordPress 2.5.1

WordPress is a insanely popular blogging platform, and with every release it gets better. It’s also very easy to install, even for those who have never installed a CMS on their server before.
The first step is to head over to WordPress.org and download the WordPress file. Click on the Download button on the [...]

Why is middle the default vertical align for a table cell?

A little bit of a rant here. Why do HTML table cells default to vertically centering the text? I have never done a design that it looked right for the cells to be vertically aligned to the middle. It seems that top aligned would be the most commonly used and for those [...]

DIY: Make your own ethernet loopback cable

Ever find yourself needing to know whether an ethernet port will light up without actually hooking it up to a switch? Have a hard time remembering which port on a switch a jack is plugged in to? Fortunately it’s pretty easy to make your own ethernet loopback cable.
To start you’ll need a couple [...]

SQL_CALC_FOUND_ROWS - Is it faster?

Reading through a post on SQL_CALC_FOUND_ROWS actually being slower that running one query followed by a count query I decided I needed to do a little benchmarking on my own.

addthis_url = 'http%3A%2F%2Fforumsblogswikis.com%2F2008%2F06%2F12%2Fsql_calc_found_rows-is-it-faster%2F';
addthis_title = 'SQL_CALC_FOUND_ROWS+-+Is+it+faster%3F';
addthis_pub = 'RyanNutt';

rm * - Argument list too long

Going through and cleaning out a temporary folder I came across a problem using rm *. It came back with the error Argument list too long. Turns out it’s some type of limit in how many files can be passed and the 110,000 that were in the folder was too many.
So I wrote [...]