Quantcast
Channel: Jonathan's Blog
Browsing latest articles
Browse All 12 View Live

Minify JavaScript using UglifyJS and NodeJS

Minifying JavaScripts has many benefits. A few advantages are it reduces the amount of code the user has to download, removes unnecessary comments, and reduces the number of Http requests. There are...

View Article



Image may be NSFW.
Clik here to view.

Using JSON.net to consume the JSON Stack Overflow API

JSON has rapidly grown arguably the most popular way to transfer data via API’s. It’s fast, simple, and most every language supports it. ASP.net has a few things like the JavaScript Deserializer Class...

View Article

Image may be NSFW.
Clik here to view.

Espresso Tip: Find and replace Regex in Visual Studio

Every now and again you come across something really useful that you just have to share. A few minutes ago that happened to me… I had a bunch of code that looked like… var js = @Bundle.Javascript()...

View Article

Image may be NSFW.
Clik here to view.

Backbone Contacts with CoffeeScript, MVC4 , and Web API

Backbone.js has quickly become one of JavaScript’s premier MV* frameworks. It offers simple flexibility, and language features that just make sense. ASP.net MVC has also become one of the web’s most...

View Article

Image may be NSFW.
Clik here to view.

Using Cassette to minify assets in an MVC3 app

There are many packages for minifying assets in web applications. A new one written by Andrew Davey (@andrewdavey) called Cassette offers some great features that help deliver not only CSS and JS...

View Article


Espresso Tip: Get an element’s entire Html string with jQuery

This is a really quick post, just thought it was useful enough to post. There are times with jQuery where I find myself needing to get the html of an entire item. For example… // somehtml.html <div...

View Article

A couple of useful JavaScript Sublime Text 2 snippets

I wrote a few Sublime Text 2 snippets the other day that I thought I would share with the world, I’ll probably add some more to this post over time as snippets are super easy to create, and super...

View Article

Reset npm user account

Today I was publishing stuff to npm and came across a situation in which I typed the wrong user account for my local mahcine’s npm. I typed npm adduser jcreamer898 and then realized it was supposed to...

View Article


Image may be NSFW.
Clik here to view.

Two ways to set a conditional breakpoint in JavaScript

Debugging JavaScript can be a tedious process. Especially when debugging a function that is called many times in an application. There may be some kind of utility function in an app that processes...

View Article


Image may be NSFW.
Clik here to view.

Sync iCloud Photostream with SkyDrive

The other day I opened SkyDrive on my iPhone 5 and wanted to be able to automatically back up photos I take to it. Apparently it doesn’t yet have this feature. Well, then I got to thinking… On my PC, I...

View Article
Browsing latest articles
Browse All 12 View Live




Latest Images