jQuery DataTables causing slow script errors in Internet Explorer

One of my pages gets a "Stop running this script? A script on this page is causing Internet Explorer to run slowly. If it continues to run, your computer might become unresponsive." Running the page through Speed Tracer in Chrome shows this: DOMContentLoaded looks like it might be the problem. Drilling down into reveals that there are hundreds of DOM insertions and HTML parses: here is a lot of javascript on this page, but I suspect it might be the jQuery DataTables plugin.

Run Windows Service executable from command line

Here’s a cool snippet of code that detects if the executable was kicked off from the commandline instead of as a service and makes it work: <p> <!--CRLF--> </p> <pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum2"> 2:</span> {</pre> <p> <!

Getting Started with Ninject in an MVC3 application

Using the Library Package manager, I added Ninject and Ninject.Web.MVC to my project. I went down a bit of a rabbit hole because tutorials told me to modify the MvcApplication to inherit from NinjectHttpApplication and set up my modules here: <p> <!--CRLF--> </p> <pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum2"> 2:</span>&#160; </pre> <p> <!

Copy / Pasting text into the Android Emulator

I usually send the text I want to copy as an sms message through telnet and then copy the text from the sms message. Here’s how: Connect through telnet: Syntax: telnet localhost <port> Example: telnet localhost 5554 (5554 is the default port. The title bar of the emulator shows the port that is being used, so you can see if it’s different). Send message: Syntax: sms send <senders phone number> <message> Example: sms send 1231231234 This is the message you want to send (You can just make up the senders phone number)