Garage Door Opener Stripped Gear-How do you remove a Roll Pin?
Q: How do you remove a Roll Pin? A: With a Craftsman Roll Punch from Sears After about 10 years my garage door quit working. After a couple of turns of the screw driver I see that the innerds are full of gear dust. My drive gear is stripped! To fix or replace? That is the question. I quickly discover that a new gear is only $12 on ebay and that includes grease and free shipping. Done. When it arrives...
February 18th, 2010 by B.Harding
Watch out Chuck Norris! Scott Guthrie is in town!
Boosted from http://developerdeveloperdeveloper.com/guathon/Default.aspx Some things you might not know about Scott Guthrie When Scott Guthrie throws exceptions, it’s across the room. All arrays Scott Guthrie declares are of infinite size, because Scott Guthrie knows no bounds. Scott Guthrie doesn’t have disk latency because the hard drive knows to hurry up. Scott Guthrie writes code that optimizes...
September 24th, 2009 by B.Harding
My job hunt brain-dump
A couple of weeks ago I began working as a Web Developer for the American Motorcyclist Association. To me this is a big deal because I have the actual title of “Web Developer”. I love it. It’s a dream job. Nice people, nice gear, nice facilities and they have an adequate budget, I get benefits and paid over time. WooHoo! Getting here has been a bit of a journey. I’ve just come...
September 7th, 2009 by B.Harding
switch to ssl automatically
In this post I’ll explain how I transparently switch from http to https This same snipit can be put on any page as is and forces certain pages to be https. The nice thing about it is that the user can not edit the url back to http on a page that has this. All I did was put it on the login page and payment page. On page load the server examines the Request.IsSecureConnection flag and redirects...
February 5th, 2009 by B.Harding
Use Css to center a div
Using tables to layout a page is considered outdated. The “new” way to do it is with Div tags a alot of Cascading Style Sheets. To center a table is easy. You just set align=”center”. But what about when using the new way? When you want to center a div in the middle of the page use either a style or a css class to set the following attibutes: width: a fixed width; margin-right:auto; margin-left:auto; Note...
February 5th, 2009 by B.Harding
What’s the deal with flash videos not working?
A few of my clients have used flash videos in their pages. Out of the box this didn’t work on my server. It was fine in the development environment but once uploaded to production it was a no go. The video just never appeared. It’s been a while since I learned this trick but it recently popped up again so I figure I sould blog it. On a windows server running IIS flash . swf files that...
February 5th, 2009 by B.Harding
Automatically reboot an unresponsive Windows Server
My servers are leased so if anything goes wrong and a reboot is needed I have to wait for my provider to preform it. In this post we will create a vb Script that pings an IP address and reboots if it can’t see it. We will simply run it on a timer using the command scheduler. Here is the script: Option Explicit dim strHost ‘The ip address you want to monitor strHost=”111.222.333.444″ if...
February 5th, 2009 by B.Harding
Remove Antivirus XP 2008
A friend of mine has come to me twice now with this malware on his computer called Antivirus XP 2008. He was on a website and a dialouge box reported that IE needed to download an update. My advice is to let automatic updates download needed updates for Microsoft products. Here is what I did for remove it. 1.) Turn off system restore Right click My Computer, choose properties, click the system restore...
February 5th, 2009 by B.Harding
How does the adrotator control’s imrpessions property work?
The msdn documentation was a little hazy on this subject. Here it is as I understand it…. Lets start from the beginning; and adrotator will take a list of images and rotate through them every time the page loads. Some ads may need to appear more often than others. That is where the Impressions property comes in. It allows to give some ads more weight than others. Perhaps one person is paying...
February 5th, 2009 by B.Harding
Operator ‘==’ incompatible with operand types ‘Int32′ and ‘Object’
I had this error pop up on me recently. Operator ‘==’ incompatible with operand types ‘Int32′ and ‘Object’ I had an good grasp on why but the stack track would not tell me where! The issue is that a null object was being used in a where clause somewhere. Linq translated the null as “” and could not be compared the the ID field which is an int. My solution...
February 5th, 2009 by B.Harding



