Mark R Headrick's Web Page.

Send e-mail to
Page last modified: April 04, 2009.
Howdy! :) Welcome to my (previously cheesy) Web Page!
29,389 People have stumbled onto this page.
What's New on Mark Headrick's Blog
Times shown are Central, US
- Thursday, July 2, 2009 4:50 PM: How I got LongURL Mobile Expander 2.0.0 to Show Tooltips Again.
After updating to LongURL Mobile Expander v2.0.0 it stopped showing Tooltips with the destination when I would move the mouse over a short URL. I would also get “current domain is NULL” errors when browsing locally (I have a local copy of Apache installed for development). The problem existed in both Firefox 3.0.11 and 3.5.
I got it working after seeing a comment here: https://addons.mozilla.org/en-US/firefox/addon/8636 so all the credit goes to Matthias Jansen.
Edit the file: C:\Documents and Settings\(user)\Application Data\Mozilla\Firefox\Profiles\(your profile)\extensions\{a7101e54-830c-4d33-a3ed-bedc17ec44da}\content\longurlmobileexpander.js
I am using Windows XP so your location might be different.
Around line 79, change
var current_domain = document.location.href.match(/^https?:\/\/(?:www\.)?([^\.]+\.[^\/]+)/i);
To:
var current_domain = document.location.href.match(/^https?:\/\/(?:www\.)?([^\.]+(\.[^\/]+)?)/i);
After doing this and re-enabling the extension.. it started working. I can now see the tooltip pop-ups and it's supposed to fix the current_domain is null problem. Hopefully this will help anyone else that ran into this issue.
- Monday, June 29, 2009 6:24 AM: My URL Shortening Service now has a preview mode.
My URL shortening service at http://mhurl.com, that I mainly use with my blog to create Short URLs for new posts to be tweeted about, now has a preview option you can enable that will show the destination URL, which you can then decide if you wish to click on or not rather than automatically being redirected to the destination. In order for this to work your browser must be set to accept cookies. If you are like me and have 3rd-party cookies disabled, that is fine.
Once you have it set, you can test it with this Short URL which should be created after I publish the post: http://mhurl.com/2.
Even though I will not send anyone to a questionable site, I understand many would want this ability.
- Wednesday, June 17, 2009 4:36 AM: Testing my own shortening service, post 1
Hopefully this works correctly on my production blog the first try LOL.
Publish!
Update: It Worked! http://mhurl.com/1 links to this post now. The Longurl.org website and DestroyTwitter Twitter client are able to preview the link without any problem. TweetDeck v0.26.1 and TwitterFox 1.8.1 are not able to.
I modified the WordPress Twitter-Tools plug-in to create the short-urls using my shortener before sending the tweet out about the post.
- Thursday, June 11, 2009 5:21 PM: Blog has been upgraded to WordPress v2.8
I have updated my blog to WordPress v2.8 which was just released. This time I tried the auto upgrade option. It seems to have worked well. Even so, once again I had to edit the /wp-includes/vars.php file to force $is_apache to true (see below) since the SERVER_SOFTWARE variable comes back as WebServerX instead of Apache.
// Server detection /** * Whether the server software is Apache or something else * @global bool $is_apache */ //$is_apache = ((strpos($_SERVER['SERVER_SOFTWARE'], 'Apache') !== false) || (strpos($_SERVER['SERVER_SOFTWARE'], 'LiteSpeed') !== false)) ? true : false; $is_apache = true; /** * Whether the server software is IIS or something else * @global bool $is_IIS */ $is_IIS = (strpos($_SERVER['SERVER_SOFTWARE'], 'Microsoft-IIS') !== false) ? true : false;
There was some code I modified in the RSS Feed widget in /wp-includes/rss.php in previous versions; however, so far it looks like I may not have to reapply that code. After completing the upgrade I did notice that I had to upgrade the TinyMCE Advanced plug-in for WordPress 2.8 compatibility.
Other than the modification to vars.php which I have always had to do, the upgrade went smoothly.
Of course, I did perform a complete database and file backup before upgrading!
- Sunday, June 7, 2009 4:31 AM: Wall-E added to DVD collection!
A long time coming; however, I've added Wall-E to my DVD Collection! Well, actually, my mom got it for me as a birthday present. Thanks mom!
Really a great movie. I highly recommend watching it if you haven't. As always, I've scanned in the cover, provided a trailer, and included links to IMDb and DVD-Empire.
General Information
- Background: I was born on June 6, 1969 in Wichita Falls, TX, but grew-up in Edmond, OK, including going to Edmond High School there.
Current Occupation: Oh, finding a new current occupation.
Before my present job, I was: a bank teller, Interned/Co-oped with IBM down in Southlake, TX at their Performance Evaluation Center programming Remote Terminal Emulators, and then worked for the State of Oklahoma in the Department of Vital Statistics (birth/death certificate stuff) for awhile, then spent 13 years working for Creative Labs, Inc starting out as a Technical Support Agent and ending up as a PC Technician/Help Desk Support in the IT Department.
Current residence: Oklahoma City, OK. If you want to know where Oklahoma City is in Oklahoma, or if you want to see what other internet resources there are in Oklahoma, click Oklahoma. Here's another site for info about what's in Oklahoma City.
Graduated May '92 with a Bachelor of Science in Computing and Information Sciences from Oklahoma State University.
Hobbies: Computing and all that stuff, Music, Movies, Snow Skiing (it's been awhile since I've been :/ ), Chatting on the internet (generally while working on our website or programming), and goofing off.
Radio Station I mostly listen to is the Classic Rock station KRXO 107.7 FM, followed by: KJ-103 and Rock 100.5 the KATT., all out of Oklahoma City, OK. I also listen to a fair amount of Internet Radio. The two I listen to the most are Club 977, the 80's Channel and Ravetrax (Breakbeat Trance House). I listen to and watch their live video streams using Winamp. Ravetrax rocks, I suggest you check 'em out! I also subscribe to XM Satellite Radio and my favorite stations there are: BPM (Dance, 81), The System (Dance, 82), The 80s (Decades, 8), Top Tracks (Rock, 46), Bluegrass Junction (Country, 14), Cinemagic (Pop & Hits, 27), Squizz - XL (Rock, 48), and XM Classics (Classical, 110)
I have one sister, Jill, who got her PhD in Physical Chemistry, researching the atmospheric chemistry of alkylperoxy radicals (believe I got that right.. has to do with lasers, studying molecular behavior of various gases, CO2 and Ozone among others).. at the University of Colorado She's now a Research Associate at the University of Kansas.
Website was created with HomeSite v4.5 After Macromedia purchased HomeSite I stopped upgrading. It seems to do the things I want.. so why upgrade? Also, some aspects of version 4.5 that I use on occasion were removed from later versions.
![]() |
Uptime Statistics |
Total execution time: 0.3099 seconds.

