Author Archives: Eli Thompson

About Eli Thompson

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

How to use git with Jenkins on Windows

The basic idea You have to install git and get it into the path of the user account running Jenkins. We’ll take advantage of Github for Windows’ installation of git to do this. How I did it Ensure that the … Continue reading

Posted in Uncategorized | Tagged , , , , , | Comments Off on How to use git with Jenkins on Windows

Use SlowCheetah for Web.config transform previews

I’m only two years late to this game, but I finally needed to use web.config transforms on a project. Scott Hanselman has a helpful post on it.

Posted in Uncategorized | Comments Off on Use SlowCheetah for Web.config transform previews

Don’t put ng-app and ng-view on the same element.

I was having a problem where Angular’s routing system wasn’t working in my application. After some experimentation I found this out: If you have an element like then links which go to known routes won’t get handled by Angular’s, rather, … Continue reading

Posted in Development | Tagged , , , , , , | Comments Off on Don’t put ng-app and ng-view on the same element.

Name your Angular controller initialization functions so they appear in call stacks

So until yesterday I would create controllers like this: However, in call stacks, the code executing inside the controller’s function just shows up as (anonymous method). If I actually name the function, then it shows up as that in the … Continue reading

Posted in Uncategorized | Comments Off on Name your Angular controller initialization functions so they appear in call stacks

Navigate to URLs outside of the Angular application with target=”_self”

Today I brought in Angular’s routing to a view I was working on, clicked on a link which is on the same server but outside of the Angular application, and my browser’s URL updated, but the screen was just blank. … Continue reading

Posted in Uncategorized | 1 Comment

Use ng-src with img elements

I had an an img element that looked like this: And I saw that the page was making a request for “/{{post.ImageUrl}}”. To prevent templated img elements from requesting their templated markup, use ng-src like:

Posted in Uncategorized | Tagged , , , | Comments Off on Use ng-src with img elements

Static resource caching and cache-busting with ASP.NET MVC and AppHarbor

Serving static content (javascript, css, images) with headers specifying long cache expirations is easy. However, cache-busting those is hard. In this post, I’ll show how to deliver static content with cache-busting URLs. I’m going to show code which I wrote … Continue reading

Posted in Development | Tagged , , , , , | 4 Comments

jQuery UI Sortable + Bootstrap’s Buttons = Perfect Performance Storm

I ran into this crazy performance problem on: jQuery 1.7.1 jQuery UI 1.8.16 Twitter’s Bootstrap 1.4.0 Windows 7 / Chrome¬†16.0.912.63 See how the button starts dragging from the top left corner and drags really slowly? I stripped down the CSS … Continue reading

Posted in Development | Tagged , , , , , | 7 Comments

Using jQuery to provide an inline confirmation on buttons

I was working on a side project and wanted the user to confirm when they wanted to delete something. The normal window.confirm method was just too primitive so I decided to write something I liked a little more. Click the … Continue reading

Posted in Development | Tagged , , , , | 4 Comments

Getting the version number of your own Chrome Extension

http://siphon9.net/loune/2010/07/getting-the-version-number-of… This is so kludgy. I hope they make it better sometime, though :-/ See this Amp at http://amplify.com/u/a1arws  

Posted in Development | Tagged , , , , | Comments Off on Getting the version number of your own Chrome Extension