Posts

Showing posts from April, 2011

Compiling brunch from source

Background:Brunch is a client side web app framework built using a number of open source tools and libs from the world of javascript and node.js: CoffeeScript, Backbone, Eco templates, and more.

The stepsPull source from Github
git pull https://github.com/brunch/brunch
check if you have all the brunch dependencies:
./bin/brunch --version
Building from source means you don't get the dependency management of npm as easily.
You must have node installed, and the required packages:
Note: at time of writing Stitch was not defined in npm dependencies but required
npm install stitch
Compile brunch with Cake:
cake watch
To create a project:
./bin/brunch new --output $locationOfNewProject

Nerd Tree: A File Explorer with Mac Vim

The one thing missing from the great text editor that is Mac Vim is a project / file explorer side bar. Competing text editors such as Sublime and Text Mate have one, so why not MacVim? It doesn't seem like it would require too much additional work of the developers. Reading through debates the community has had on the issue, the reason appears to be the elitist and idealistic nature of the Mac Vim community. Please don't read that last sentence pejoratively; these guys are purists, and very good at what they do. There were quite a few in the community who believed NERDTree was more than enough for any code jocky's needs, so I decided to checkout what all the fuss was about.

I use pathogen to manage vim plugins, and it is especially useful in conjunction with a public source control system like github. Once you have pathogen installed simply pull the NerdTree Github project to your vim plugins directory.

cd ~/.vim/bundle
git clone git://github.com/scrooloose/nerdtree.git


Next…