Home Page
DVD/Home Theater
SETI@home / Planetary Society
General MIDI Files/Links
Sound Blaster
MOD Files/Links
Hardware
Programming
Entertainment / Now Playing
NASCAR
IRC Stuff!
Pelicar RPG
Weather
Photo Albums | Gallery
Blog
Facebook
Twitter
Google+
YouTube
Pandora
Firefox Configuration
Speed Test Results
System Information
Winamp Info
View/Sign my Guestbook
Play Random MIDI
Start MIDI Jukebox
Stop MIDI Jukebox
MIDI Stats

Mark Headrick's Web Site.

ME!OSU, Go Cowboys!
General Information

Howdy! :) Welcome to my (previously cheesy) Web Site!

 161,338  People (and bots) have stumbled onto this site.


What's New on Mark Headrick's Blog
Times shown are Central, US

Tuesday, March 17, 2015 6:04 AM: Happy St. Patrick's Day for 2015

Saint Patrick's DayJust wanted to wish everyone a Happy St. Patrick’s Day! Everyone be safe out there and don’t do anything stupid like drinking or texting and driving. :)

Add/View Comments (0 comment(s))

Wednesday, March 11, 2015 6:19 PM: Website Changes for March 2015

All Sites

After running various website speed tests (Pingdom, Google PageSpeed), it told me that I should enable compression (gzip) and take advantage of the browser's cache. So, I started to do some research on how to turn those on at my webhost. For compression, I finally noticed an “Optimize Website” option in cPanel after I had tried some things in .htaccess that were not working. There I was able to enable it for the following mime types: text/html text/plain text/xml text/css application/javascript. The results were rather dramatic. A 40K html file would be compressed down to 10K or something.

For the caching part, I found the following piece of code to be placed into the .htaccess file in my highest level directory:

<IfModule mod_expires.c>
          <FilesMatch "\.(jpe?g|png|gif|js|css)$">
                      ExpiresActive On
                      ExpiresDefault "access plus 1 month"
          </FilesMatch>
</IfModule>

And, hey it worked! Files of those types are now set to expire after 1 month. Before, Firefox was caching things based on how recently the file was modified. I found an explanation here: Two Important Differences between Firefox and IE Caching. After making these changes, the response headers coming from the server were now like:

Cache-Control: max-age=2592000
Connection: close
Date: Wed, 11 Mar 2015 23:02:20 GMT
Etag: "1410-419260a0e3ec0"
Expires: Fri, 10 Apr 2015 23:02:20 GMT
Server: Apache

These changes affected the behavior of all my websites. I was also advised to make the connection keep-alive but I think my webhost has that disabled for performance reasons.

Main Website

I modified most of the main pages to show a last modified date in the central time zone. A lot of pages still show an eastern timezone (DVD pages mainly). It's a difference between the date being generated via SSI (server side include) and PHP which has been configured for the central timezone even though the server itself is in the eastern timezone.

Blog

My Blog was updated to WordPress v4.1.1. Backed-up the database and file structure and clicked the update button. Not that big a deal. I also figured out how to add a function that would tell me how much memory PHP was using in the Admin section without changing any of the core files:

###########################################################################################
function memory_stats()
{ // BEGIN function memory_stats
   if ($_SERVER['REMOTE_ADDR'] == HOME_IP) {
      echo '<p style="clear: both;">Memory used: '. number_format(memory_get_usage(true)). ' bytes.<br />';
      echo 'Peak Memory used: '. number_format(memory_get_peak_usage(true)).' bytes.</p>';
   }
 
} // END function memory_stats
 
add_action('in_admin_footer', 'memory_stats');

On average the admin portion uses around 40MB. I have PHP configured to 128M. I then noticed some CSS problems after one of my plugins updated and corrected that.

Gallery

I updated my galleries to Zenphoto 1.4.7. Actually, I'm using one of the master support builds due to some bugs I discovered that were corrected in the support version. I'm not going to go into detail about what all I did. Not in the mood right now and I doubt anybody cares LOL. Actually, it could be its own post if I wanted it to be.


Well, that's all I have for now. :) If I think of anything else I'll update this post or make another.

Add/View Comments (0 comment(s))

Saturday, January 24, 2015 4:34 PM: Website Changes for January 2015

Main Website

Other than the normal updating of the Firefox Configuration and Winamp Info, I updated the Hardware page after getting a new router for Christmas from my sister! I got an ASUS RT-AC68U Wireless-AC1900 Dualband Gigabit Router. Below is what it looks like from the front. It's great! I can stream movies on my HDTV from Netflix again!

asus-rt-ac68u

I also modified my Speed Test Result page with a test from Speedof.me with the router in use. Since I have everything hardwired to the router, I have the wireless part turned off. That's about it for my main website.

Blog

I have updated my blog to the latest WordPress version 4.1 (last month actually). I have also installed a couple new plugins. I replaced Twitter Facebook Social Share with Really Simple Share because I like the HTML5 version of the Facebook Like button and it seems to still be updated. I did have to tweak the CSS to get the buttons and surrounding border to align and appear how I wanted. For those curious, here's the CSS I added to the bottom of the plugin's style.css (I should probably move it my theme's style.css instead.. yeah).:

.really_simple_share_twitter, .really_simple_share_google1 {
   padding-top: 4px;
}
 
.really_simple_share {
    border: thin solid #1944A8;     
    border-radius: 5px;
    padding-left: 5px;
    background-color: #F0F4F9;
}

I have also installed the Anti-spam plugin which seems to be working fairly well. It's keeping them from Akismet and going into my spam folder that I then need to deal with. I also discovered a bug with some of my code that excludes categories which caused the Category filter in the admin post list to fail. I have updated my Excluding Categories from Different Parts of WordPress post with the changes I made.


Well I guess that's all I can think of for now. If I think of anything else I'll add it. :)

Add/View Comments (0 comment(s))

Thursday, January 1, 2015 12:01 AM: Happy New Year 2015!

happy-new-year-2015Just wanted to wish everyone a Happy New Year for 2015!! :)

Oh yeah.. don’t be stupid and drink and drive.

Add/View Comments (0 comment(s))

Tuesday, December 23, 2014 4:36 PM: Wishing Everyone a Merry Christmas for 2014

My EQ2 Christmas TreeJust wanted to wish everyone a Merry Christmas for 2014! :) There's some cruddy weather in many places so everyone take it easy out there and stay safe as well. Oh, the Christmas tree on the left is one of mine in EverQuest II. :)

I'm including one of my favorite Christmas Lights to Wizards in Winter music videos again. I hope you enjoy it!

Add/View Comments (0 comment(s))


General Information

Detailed Information Coca Cola

Page last modified: March 15, 2015 3:43:27 PM CDT. *

*: The Page Last Modified date above simply means the date of the file that generates this page which may or may not have anything to do with the date that other parts of the site were updated or even the contents of this page which are, for the most part, generated dynamically.

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.

Surpass Hosting SiteUptime Web Site Monitoring Service
Uptime Statistics
Stop Spam Harvesters, Join Project Honey Pot

Total execution time: 0.0076 seconds.