Category Archives: Uncategorized

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

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

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