Node.js

Setting up OS X Mavericks with Homebrew, Cask, and rbenv

You’ve got a freshly built OS X Mavericks 10.9 system and it’s time to start loading up the usual apps you use and setup your development environment. Luckily, there are lots of great developer tools for automating this task. I learned some new tricks (e.g. Homebrew Cask) from Tadej Murovec’s post. And, my Macbook Air is now 2 years old and all the command line tools / versions have changed, so I needed to re-document this for myself. App Store Your first stop is the App Store, where you can visit the Purchases tab and re-download items you’ve bought. You’re...

Node based static site generators

My first experience with node.js was following the ‘hello world’ tutorial on the front page, which I then extended to experiment with writing in Markdown and creating HTML pages on the fly. Not quite a static site generator, but a fun experiment in learning during the Mozilla Polyglot Hackathon. I’m currently using Octopress to power this site as well as bmannconsulting.com (see my migration write up), but one of the things I’d like is the ability to not have to have access to my dev environment in order to publish pages. That is, right now I can create/edit Markdown files...

The New Hack Stack

In the past, the starter stack for web programming was LAMP. The ‘P’ originally stood for Perl, and then became mainly PHP. Today, with $5/month shared web hosting and thousands of PHP-based scripts & applications, this success is hard to argue with. But the truth is, managing even a shared hosting account is hard, never mind an entire VPS. You need to know the OS, the web server, the language, and the database. Revision control? Especially because of PHP’s ease of deployment and editing, revision control is an advanced topic. This leads to things like “just edit it on the...