UPDATE: Installing Boot2Gecko on Nexus S

A couple of months ago I gave instructions on flashing B2G onto an unlocked Nexus S. Since that time, the B2G folks have made it a heck of a lot easier to do this. I though I’d provide some updated instructions.
Continue reading

Posted in Mobile, Web Dev | Leave a comment

Writing a Boot2Gecko app

iPhone is so, like, yesterday. Is Boot2Gecko the future? Could be, if it’s as easy to create apps for as the Boot2Gecko blog makes it out to be. Here is my experience with creating an HTML5 webapp, making it “installable” on Boot2Gecko, and installing it on my Nexus S phone running B2G. It really was pretty easy. Really.
Continue reading

Posted in Mobile, Web Dev | Leave a comment

Installing Boot2Gecko on Nexus S

EDIT: These instructions have been updated and simplified.

Mozilla announced the Boot to Gecko project late last year. I picked up an unlocked Nexus S and took a weekend to build B2G and flash the the phone with it. I’ve distilled what I did down to a few easy-to-follow steps. Well, forget the ‘few’ part. And maybe the ‘easy-to-follow’.
Continue reading

Posted in Mobile, Web Dev | 2 Comments

Understanding Javascript closures

An excellent description of closures and scope in javascript:http://javascriptweblog.wordpress.com/2010/10/25/understanding-javascript-closures

Posted in JavaScript | Leave a comment

Django Tutorial, Part II

Today we’re going to implement search functionality in our song app. This will include basic form processing in our view, and returning search results to the client. Ready? Let’s get started!
Continue reading

Posted in Web Dev | Leave a comment

Installing coffeescript on Linux Mint 11

Coffeescript is a cool new flavor of javascript, with some ruby- and python-like syntaxes. To install it on Linux Mint 11, first follow the instructions for installing nodejs. Then, enter the following:

npm install -g coffee-script
Posted in JavaScript | Leave a comment

Installing nodejs and npm on Linux Mint

This took me a while to figure out, so I thought I’d better post it:
1. sudo apt-get update
2. sudo apt-get install git-core curl build-essential openssl libssl-dev
3. Download source from http://nodejs.org/#download to ~/Downloads/src
4. cd Downloads/src
5. tar xvfz <downloaded-node-source>.tar.gz
6. cd <downloaded-node-source>
7. ./configure
8. make
9. sudo make install
10. node -v
11. cd
12. curl http://npmjs.org/install.sh| sudo

Posted in JavaScript | 4 Comments