Google Maps API v3 InfoWindow missing corners

I ran into this issue embedding a map into a wordpress site using the default wordpress theme. This CSS rule is the culprit:: max-width is overriding the maps img max-width of none. This can be fixed with: Or if you can’t modify the style sheets, you can do it through jQuery:

7 Chrome Developer Tool Features I didn’t know about

http://www.elijahmanor.com/2011/08/7-chrome-tips-developers-designers-may.html The ability to modify the source JavaScript and execute it The ability to Pretty Print ( a.k.a. unminify ) JavaScript source The ability to break in JavaScript when an element has changed in the DOM The ability to change a CSS stylesheet file as if it were an editor The ability to inspect CSS pseudo-class selectors The ability to access most features via keyboard shortcuts The ability to configure settings your way

Installing SSL Certificate in IIS 7.5 (PKCS #7 Certificate)

Wow… what a pain. If you have a .p7b certificate that needs to be installed in IIS 7.5 You may receive this error, "Cannot find the certificate request that is associated with this certificate file." If that’s the case, here’s how to get the certificate installed. Start up certmgr.msc. Right click on a folder –> All Tasks –> Import… Import the .p7b certificate. Select "Automatically select a certificate store" It’ll be imported under Personal –> Certificates (you may need to refresh).

Unit Testing: Testing methods that rely on DateTime.Now

I have a class whose behavior depends on the time of day. It called DateTime.Now directly to get the current time. Doing it this way makes it difficult to write tests to prove that all use cases work as expected. One simple solution is to add a delegate called Now to the class. By default it points to an anonymous method which returns DateTime.Now: public Func<DateTime> Now = () => DateTime.

Setting up MSDeploy for remote web publishing to IIS

Open TCP port 8172 on the server. Make sure that the IIS Management service is installed. Click on the "Web Server" role and then view the roles services on the right. [<img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="2011-08-16_125512" src="http://i2.wp.com/www.joelbeckham.com/wp-content/uploads/2011/08/2011-08-16_125512_thumb.gif?resize=211%2C75" alt="2011-08-16_125512" border="0" data-recalc-dims="1" />][1][<img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="2011-08-16_125604" src="http://i1.wp.com/www.joelbeckham.com/wp-content/uploads/2011/08/2011-08-16_125604_thumb.gif?resize=429%2C84" alt="2011-08-16_125604" border="0" data-recalc-dims="1" />][2] If it isn’t, add it through "Add Roles Services" Install WebDeploy 2.