Managing Scope Using Call, Apply, and Bind

Call Calls a function, with the specified arguments passed in The first argument becomes this, the rest are passed in as regular arguments. Using call allows you to maintain the scope of this accross methods. It works like this: Here we're using prototypical inheritance to allow us to inheirit ...

Anatomy of a Commit Message

1. Subject Line The Subject Line is the first line of your commit message. Often the subject alone is enough, but if it's not and you need a body be sure to separate the subject and body with a blank line. First line of a commit message Often the ...

JavaScript: Array's with named Properties

Adding named properties to arrays in JavaScript can be handy in a few different cases. For instance: You need a nice formatted title / description for a data set. Rather than having multiple objects you can use named properties and get away with only using one. You want to add some ...

Powershell Markdown Preview

I'm at Angle Brackets. I've decided that I wanted to try taking all my notes in vim. I LOVE using vim. It's a really awesome, powerful, and extendable command-line editor. I enjoy that it's really distraction free. Being distracted is something that I struggle with so ...