Author Archives: Eli Thompson

About Eli Thompson

You can find me on Twitter. I'm a developer for Cheezburger.com and FAILBlog.org.

Unit testing CoffeeScript with QUnit

I got bitten by the CoffeeScript bug and decided that I liked it enough to try to add CoffeeScript support to Cheezburger.com. Paul Betts’ very cool SassAndCoffee library has a method which compiles CoffeeScript to JavaScript which I could easily integrate … Continue reading

Posted in Development, Uncategorized | 5 Comments

Turntable.fm: Mute until next track starts

Drag the link below up to your bookmark bar. When clicked, this bookmarklet will mute the current song in Turntable.fm and then unmute when the next song starts playing. Updated 7/5/2011 – Turntable.fm changed the name of their player control, … Continue reading

Posted in Development, Uncategorized | 2 Comments

Events on JavaScript Objects

I did a search for javascript events and came up with lots of articles about onclick and onload and all the lovely things we use to make our pages interactive. But in this case, I wanted a C#-style event, like … Continue reading

Posted in Development, Uncategorized | Comments Off on Events on JavaScript Objects

Building Chrome extensions from a service account

So I got our build system to call the chrome.exe to build my Chrome extension, but it didn’t work. It said: Could not find exported function RelaunchChromeBrowserWithNewCommandLineIfNeeded The build system runs in a web application, so I’d have to guess … Continue reading

Posted in Development, Uncategorized | Tagged , , , , | Comments Off on Building Chrome extensions from a service account

Still relevant

Posted in Uncategorized | Tagged , , , , | Comments Off on Still relevant

Basics of Statistics in SQL Server 2005 – Developer.com

URL:  http://www.developer.com/db/article.php/3622881/Basics-… I had a table that was too large to get a count of. I tried Select Count(*) from {Table} but the query didn’t want to come back very quickly. Another way to get the size is to get … Continue reading

Posted in Development, Uncategorized | Tagged , , , , | Comments Off on Basics of Statistics in SQL Server 2005 – Developer.com

Java Update – Y U NO understand that I hate toolbars?

Java Update, seriously? You want to install Yahoo! toolbar by default? That’s evil and I hate you for it. I’d be OK if I had to click to opt-in. Amplify’d from cheezburger.com See more at cheezburger.com   See this Amp … Continue reading

Posted in Uncategorized | Tagged , , , , | Comments Off on Java Update – Y U NO understand that I hate toolbars?

I want you all to feel empowered on this project

Amplify’d from dilbert.com See more at dilbert.com   See this Amp at http://amplify.com/u/ivu4

Posted in Development, Uncategorized | Tagged | Comments Off on I want you all to feel empowered on this project

Reseed the identity on a SQL Server table

I’d rather just take the identity off the table I had to use this on, but this is an excellent solution if you over incremented the identity and need to bring it back. Amplify’d from msdn.microsoft.com The following example forces … Continue reading

Posted in Development, Uncategorized | Tagged , , , , | Comments Off on Reseed the identity on a SQL Server table

Enable IIS to serve .woff and .svg files

I needed this functionality, too. Here’s how to do it. Amplify’d from sebduggan.com By default, the MIME types in IIS 6 are configured to deliver EOT (as used by IE) and TTF files. But WOFF (Firefox) and SVG (iPhone, iPad … Continue reading

Posted in Uncategorized | Tagged , , , , | Comments Off on Enable IIS to serve .woff and .svg files