Mysql Search and Replace.

April 31, 2007 by aaron
I’ve been getting ready for WordPress 2.3, so in preparation I’ve started cleaning up my database. My first order of business was to clean up the tags database. Over time I’ve used several different methods of separating words: all spaces, hyphens and underscores have all been used which really makes the nice names ugly. Fixing this was easy, I just used the MYSQL replace command: UPDATE table SET field =
Read More ⟶

Ubuntu 7.10 is shipping with xorg.conf gui

April 31, 2007 by aaron
As of an update from a few days ago, users are now able to access a graphical user interface for editing xorg.conf, though only for graphic and display settings. This tool has support for dual monitors at the moment, and with the release of X.org 7.3 it will be possible to add even more. You can turn on and off both (or one) of your monitor(s), change the available resolutions, orientations, and set mirror or exteneded desktops.
Read More ⟶

Designing flexible WordPress themes.

April 29, 2007 by aaron
The average WordPress theme has different files for pages, single posts, archives and the front page; however, most of them are almost exactly the same except for inside the_loop. This is a quick tutorial on how to do the most with the fewest files, and includes a few methods to have custom templates by separating content display from structural elements. WordPress looks first for special files and then defaults to the index.php file (as shown in this diagram).
Read More ⟶

Cheap and easy way to get a new laptop battery.

April 28, 2007 by aaron
The video shows how to replace the batteries inside your laptop’s battery pack for about a third of the cost of a new battery pack. There have been a few times in the past where I really wish I knew this.

The myth of primitive societies.

April 28, 2007 by aaron
Humans who live in technologically primitive societies aren’t as intelligent as those who live in advanced societies…or so some of histories most influential personalities thought. The reasoning behind their thinking, when it was used as an honest theory and not a egocentric attack on another culture to legitimize their enslavement or destruction, is that primitive societies just harvest what is naturally provided, so while they have to physically work for their resources, there isn’t much innovation in the techniques used to collect and store it, and because there is no innovation the brain doesn’t develop all the skills that it would have if the person was forced to innovate–in short making the person less intelligent.
Read More ⟶

Realistic Flash Book

April 25, 2007 by aaron
While it has limited practicality, this book demo, done in flash, is quite attractive and rather impressive.