Some time ago, I developed a VERY simple way to fake a bit.ly-style short URL. On any server that uses any form of an integer to identify an article (either in the database or the URL), on an Apache server that supports mod_rewrite, you edit your .htaccess file like so:
Continue readingTag: Nerd
Using the abbr tag
Kroc Camen, long time OSNews reader and frequent IM buddy of mine, has an interesting piece examining the use of the <abbr> HTML tag. Kroc is one of those people who is very serious about the presentation and efficiency of his code, a trait I do not share, at least
Continue readingFacebook Translations
Did you know that Facebook is offered in both Pirate and l33t sp34k?
Continue readingPHP Weirdness
Beware: this post is definitely not for the feint of heart. It includes a lot of code. You have been warned. I wrote an application some time ago for my company that looks up the longitude and latitude of an address for use in our geocoding initiative. It relied on
Continue readingOSNews vs. WordPress
I’ve spent quite a bit of time, over the last 5 or 6 days, diving into WordPress and learning what makes it tick. Parts of WordPress are really impressive – just flat out cool. The way some of it works is fairly complex and deciphering it sometimes means reading page after page
Continue readingHacking WordPress, Day Two
Thus far, my move to WordPress has been an adventure. Here’s a few lessons learned. First off, I was very excited about the features of WordPress. I was really excited, most specifically, about the API, and about the rich text WYSIWYG of the backend. I’ve done a lot of work
Continue readingOffline: The Silly Script Disaster
I have several websites. The way my web host has them set up, like many hosts who use cPanel, is that one site is a “master” and the others essentially exist as directories within that site. My master site is smallaxesolutions.com, which is the “company” under which I sometimes do
Continue readingMath in Real Life, Part 1: Fruit Algorithms
I recently went to Costco and bought a rather large tub of blueberries. I am a huge fan of blueberries – in fact, the engine of this blog was once named “blueberry,” – and I am a huge fan of fresh fruit in general. While picking from said tub, I
Continue readingAn Argument for PHP
Currently, over on Slashdot, there is an article on forthcoming features in PHP version 6. And, like most PHP articles, the comments section is flooded with jackasses arguing that PHP sucks as a language. I get frustrated by the entire “PHP sucks” campaign, largely because it’s like the HTML e-mail
Continue readingDope Wars for the iPhone
I love my jailbroken iPhone, and I am always looking for a new “game of the week.” I’ve been through several, at first, it was LightsOff, but that ends at 225 levels or so. Then it was Five Dice. Then 4 Balls, Domino, and finally PuzzleManiak. I was so happy
Continue reading