Google Chrome

September 3rd, 2008

Crashed and burned!

How to stop Quicktime hijacking audio/mpeg (mp3) in Firefox

August 27th, 2008

This frustrated the shit out of me. My setup: Vista Business SP1, Firefox 3.0.1, Quicktime 7.5 (861).

No matter how hard I tried, besides disabling the Quicktime plugin in Vista, moving/deleting npqtplugin4.dll in the Firefox plugins folder or hex editing it, Firefox 3.0.1 would always play any mp3s I clicked in a full screen Quicktime plugin.

The about:plugins shows the following:

QuickTime Plug-in 7.5 (861)

File name:
npqtplugin4.dll
The QuickTime Plugin allows you to view a wide variety of multimedia content in Web pages. For more information, visit the QuickTime Web site.
MIME Type Description Suffixes Enabled
video/mpeg MPEG media mpeg,mpg,m1s,m1v,m1a,m75, m15,mp2,mpm,mpv,mpa Yes
audio/mpeg MPEG audio mpeg,mpg,m1s,m1a,mp2,mpm, mpa,m2a Yes
audio/x-mpeg MPEG audio mpeg,mpg,m1s,m1a,mp2,mpm, mpa,m2a Yes
video/3gpp 3GPP media 3gp,3gpp Yes

How the hell do you change one of those values to say “enabled: no”?

Changing Mime Type associations in Firefox via Options -> Applications does nothing - Quicktime always gets there first

Changing Mime Settings in Quicktime Preferences launches Vista’s Set Program Associations which is also fruitless

After much digging around, I have worked out that the following will let you handle audio/mpeg (mp3) the way you want:

  • Go to about:config
  • Type ‘plugin’ in the filter box (minus quotes)
  • Look for ‘plugin.disable_full_page_plugin_for_types’
  • If it already exists and contains a value, add ‘,audio/mpeg’ to the end of it, otherwise just change the value to ‘audio/mpeg’
  • Fully close Firefox, wait a few seconds for it to clean up and die
  • Launch Firefox again.. click an MP3 link.. voila! it does whatever you’ve specified in your Firefox Options -> Applications

Apache2 Won’t Properly Stop

July 9th, 2008

Just a quick note:

Apache 2.2 with PHP 5.2.6-2 on Debian fails to shutdown properly on one of my servers

apache2ctl stop or /etc/init.d/apache2 stop or equivalents would result in “waiting…………….” until a timeout and then the new process is launched anyway which fails because the port is already in use, apache2 never finished shutting down properly

Not sure exactly what the problem is, but downgrading to PHP 5.2.6-0.dotdeb.1 via DotDeb mirrors solved the issue

Hopefully it will be fixed in the next version/patch

Velocity Diet Results

May 29th, 2008

It’s day 1 of the transition out of the Velocity Diet - the 28 day diet has been completed!

Final Measurements (cold, not flexed):

Bicep: 14.5″ (-0.5″)
Calf: 16.25″ (-0.75″)
Thigh: 22.25″ (-1.75″)
Neck: 14.75″ (-0.75″)
Forearm: 12.5″ (-0.25″)
Waist: 32″ (-4.5″)
Lower Abs: 36″ (-4″)
Chest: 39″ (-2″)

Total inches lost: 14.5″

Weight: 206lbs (14st 10lbs) / 93.4Kg

Total weight lost: 16lbs / 7.2Kg

I am now within 10lbs of my original goal for summer, I’m predicting around 6 weeks to get there. I will transition from the Velocity Diet onto T-Dawg Diet 2.0

Overall I’m very pleased with the 16lbs loss and it’s very noticable

Velocity Diet Day 28

May 28th, 2008

The last day before the transition!

Measurements haven’t changed since last time:

Today’s Measurements (cold, not flexed):

Bicep: 14.25″ (-0.75″)
Calf: 16.25″ (-0.75″)
Thigh: 22.25″ (-1.75″)
Neck: 14.75″ (-0.75″)
Forearm: 12.5″ (-0.25″)
Waist: 32″ (-4.5″)
Lower Abs: 36″ (-4″)
Chest: 39″ (-2″)

Weight: 207lbs (14st 11lbs) / 93.8Kg (-15lbs / 6.8Kg)

I will post my immediate post Velocity Diet figures tomorrow and then some post transition figures a further 2 weeks later

I am happy with the results thus far, I hoped to lose 14lbs and have exceeded that

My ultimate target has been 196lbs @ 8% body fat (assuming I’ve calculated everything properly!).. hopefully I’ll be there within 6 weeks

Here’s my original fat loss estimate chart for 2008 just for fun

Velocity Diet Day 26

May 26th, 2008

Nearly there - 3 full days to go

Today’s Measurements (cold, not flexed):

Bicep: 14.25″ (-0.75″)
Calf: 16.25″ (-0.75″)
Thigh: 22.25″ (-1.75″)
Neck: 14.75″ (-0.75″)
Forearm: 12.5″ (-0.25″)
Waist: 32″ (-4.5″)
Lower Abs: 36″ (-4″)
Chest: 39″ (-2″)

Weight: 208lbs (14st 12lbs) / 94.3Kg (-14lbs / 6.3Kg)

I think that my weight is due for a couple of pounds drop over the next couple of days. 14 pounds was my target so I’ve reached that already!

Velocity Diet Day 22

May 22nd, 2008

End of week 3

Weight: 209lbs (14st 13lbs) / 94.8Kg (-13lbs / 5.9Kg)

Velocity Diet Day 21

May 21st, 2008

Almost the end of week 3

Today’s Measurements (cold, not flexed):

Bicep: 14.25″ (-0.75″)
Calf: 16.25″ (-0.75″)
Thigh: 22.5″ (-1.5″)
Neck: 14.5″ (-1″)
Forearm: 12.5″ (-0.25″)
Waist: 32.5″ (-4″)
Lower Abs: 36″ (-4″)
Chest: 39″ (-2″)

Weight: 211lbs (15st 1lbs) / 95.7Kg (-11lbs / 5Kg)

Velocity Diet Day 20

May 20th, 2008

Weight: 212lbs (15st 2lbs) / 96.1Kg (-10lbs / 4.5Kg)

10lbs gone and 8 whole days left.

When I started I was hoping for 1st / 14lbs loss and it looks like I should come very close to that

Velocity Diet Day 19

May 19th, 2008

Today’s Measurements (cold, not flexed):

Bicep: 14.5″ (-0.5″)
Calf: 16.5″ (-0.5″)
Thigh: 22.5″ (-1.5″)
Neck: 14.75″ (-0.75″)
Forearm: 12.75″ (no change)
Waist: 33″ (-3.5″)
Lower Abs: 37″ (-3″)
Chest: 39.5″ (-1.5″)

Weight: 214lbs (15st 4lbs) / 97Kg (-8lbs / 3.6Kg)

Weight has remained the same for a few days but some measurements are down so I’m not too bothered