Fixing IE Quirks Mode in ASP.Net

Quirks mode refers to a technique used by some web browsers for the sake of maintaining backward compatibility with web pages designed for older browsers, instead of strictly complying with W3C and IETF standards in standards mode. Here’s how to force IE into submission by adding a DLL to ASP.Net.


Little life saver: parsing HTML entities

Recently I had the pleasure of building a calculator example exercise. Begin a good programmer I used the some HTML entities as values on the buttons: ×, ÷ and ± as values. It turned out to be quite difficult to parse them with native JavaScript. It is not so hard with LoDash or jQuery, but I wanted to do it native.

JavaScript, jQuery

Click to ‘select all’ on the PRE element

When you want to display code, you’re probably working with pre elements. The fact that they can contain markup make them really effective for syntax highlighting. I’ve used Knockout en comment binding to generate code into a pre field and that’s really cool.


William Lawson’s Commercials – No Rules

William Lawson’s keeps coming up with great commercials with a consistent theme: real man are rough and have humor. I think their campaigns are a great example on how a brand can connect with its audience.


Serving SASS files for WordPress theme on IIS

I love SASS. What’s not to love? Well… it can’t be served directly by the web server like CSS. It needs to be pre-compiled before it is served. Fortunately there is a PHP SASS compiler that can be used to make PHP compile and serve SASS. I’m using an IIS installation, so I’ll be explaining how it can be done on a Windows machine.

WordPress Theme built by Shufflehound. ©2010-2019 by Kees C. Bakker, all code is licensed under MIT.