Enable Gzip Compression IIS 6
Use the adsutil script in C:\Inetpub\AdminScripts\ directory. The following script will enable most common file extentions for gzip/deflate compression.cscript.exe adsutil.vbs set W3Svc/Filters/Compression/GZIP/HcFileExtensions "htm" "html" "txt" "ppt" "xls" "xml" "pdf" "xslt" "doc" "xsl" "htc" "js" "css" cscript.exe adsutil.vbs set W3Svc/Filters/Compression/DEFLATE/HcFileExtensions "htm" "html" "txt" "ppt" "xls" "xml" "pdf" "xslt" "doc" "xsl" "htc" "js" "css" cscript.exe adsutil.vbs set W3Svc/Filters/Compression/GZIP/HcScriptFileExtensions "asp" "dll" "exe" "aspx" "asmx" "ashx" cscript.exe adsutil.vbs set W3Svc/Filters/Compression/DEFLATE/HcScriptFileExtensions "asp" "dll" "exe" "aspx" "asmx" IISreset.exe /restart
When Social Media Goes Awry - Toyota Van Fire
I just happened upon this little drama on the Toyota Sienna Facebook page.Heidi Trockels Dunigan Toyota, this is Dr Dunigan, you have your facts inaccurate. The resolution to the mini van was agreed upon Toyota Legal Department and the bank that financied the vehicle. As I was told by the bank that this was the easiest way for the bank and Toyota to come to a resolution. They forgot to include us in the negotations when we have greater than 50 percent equity in the van. Now the paperwork that was delivered from the dealership (the dealership has been awesome in this matter) was three blank pages that I was supposed to sign. Who would in their right mind sign blank papers authorizing who knows what. If this is the resolution or Toyota's standard operating procedures then I have a concern about purchasing another 2011 Sienna. I always thought that the customer comes first but appearently Toyota has taken that position for self protection. A sad day!!!!
Heidi Trockels Dunigan The cause has been determined to be a faulty fan wire that may have gotten knicked during manufacturing. So far it appears to be an isolated incident - I hope so.
Heidi Trockels Dunigan Phil - much more then cleaning off the driveway - there is a big hole in my driveway and half my house was torched! But yes the cause has been determined as stated above. Not to mention that my kids are still freaked out by it - we were not out of the van 2 minutes and then it was totally engulfed in flames...
Beyond Black Boxes in Software
I've seen/heard object oriented software compared to a black box. You don't need to know how something happens, you just need to know that it happens.Including Unit Test Code in Classes
New Phone - HTC Incredible
Wow, what a surprise. This phone is great. When you've been in the tech game awhile, you get so used to over-promised under-delivered crap that when something does what it claims, you are amazed.mpc-hc or why is free software better than paid?
My Dell Zino came with PowerDVD. PowerDVD does upscaling, which is nice, however, it was using so much of the cpu that the little fan on the Zino was cranking away. Very annoying.
Writing Advice for Engineers
How to make engineers write concisely with sentences? By combining journalism with the technical report format. In a newspaper article, the paragraphs are ordered by importance, so that the reader can stop reading the article at whatever point they lose interest, knowing that the part they have read was more important than the part left unread. State your message in one sentence. That is your title. Write one paragraph justifying the message. That is your abstract. Circle each phrase in the abstract that needs clarification or more context. Write a paragraph or two for each such phrase. That is the body of your report. Identify each sentence in the body that needs clarification and write a paragraph or two in the appendix. Include your contact information for readers who require further detail. -- William A. Wood , September 8, 2005 http://www.edwardtufte.com/bboard/q-and-a-fetch-msg?msg_id=0001yB |
Adding DVD Shrink to Autorun in Windows 7 64 bit
If you ant to add DVD Shrink to the Autorun menu in Windows, here's a link:
Recursive Minutes to Days, Hours, Minutes in C# (Humanize Time)
If you need to convert a lump sum of minutes into something a little easer for humans (people) to read then here it is:
Comments welcome.
private static string MinutesToHumanTime(int minutes)
{
const int MINUTES_IN_DAY = 60 * 24;
if (minutes >= MINUTES_IN_DAY)
{
var days_as_string = (minutes / MINUTES_IN_DAY).ToString() + " days ";
return days_as_string + MinutesToHumanTime(minutes % MINUTES_IN_DAY);
}
else if (minutes >= 60)
{
var hours_as_string = (minutes / 60).ToString() + " hours ";
return hours_as_string + MinutesToHumanTime(minutes % 60);
}
else
{
return minutes.ToString() + " minutes ";
}
}

