Monthly Archives: February 2014

Git Config Tips

To use co in place of the more verbose checkout command: $ git config –global checkout   Set the editor Git will use for commit messages. If you use a graphical editor such as Sublime Text, TextMate, gVim, or … Continue reading

Posted in Git | Tagged , | Leave a comment

Access cross-domain data with AJAX using JSONP, JQuery

My JQuery skills are a bit non existent so you can expect quite a bit of stuff about it.  I’ve run into the XMLHttpRequest cannot load  …. not allowed by Access-Control-Allow-Origin. I do have my NodeJS server returning JSONP data but … Continue reading

Posted in jQuery | Tagged , | Leave a comment

NYT online job marketplace article

I’ve been using oDesk recently for a personal project.  My thinking was instead of spending lots of time searching on google how to do something why don’t I just pay someone to do it especially if it is not time … Continue reading

Posted in Web | Leave a comment

RoR 4.0.2 issues

gem “mongoid”, github: “mongoid/mongoid” kept giving me the error: fatal: read error: Connection reset by peer Git error: command `git clone ‘git://’ “/home/mfang/.rvm/gems/ruby-2.1.0/cache/bundler/git/mongoid-176c799a8a4589043b073e277e545d697119fa82” –bare –no-hardlinks` in directory /home/mfang/dev/ror/aws-iar_mygitstation has failed. Changed it to gem “mongoid”,  :git => ‘’ Now it … Continue reading

Posted in RoR | Tagged , , , | Leave a comment

Linux: upstart job

Made a newbie mistake on my aws server.  Started a node.js server as a user (node server.js &) and didn’t realize that after I logged out the node.js server would go down with it.  Once I set the node.js to … Continue reading

Posted in Linux | Tagged , | Leave a comment

Learning Full Stack Web Development

Catching up on a lot of web technologies these days. Keeping me pretty busy. Far different than when I was working on Linux kernel configurations and such.  In a happier place now.  It’s been  challenging trying to cram and learn … Continue reading

Posted in Web | Leave a comment

Install Node.js MongoDB on Ubuntu

For Ubuntu 12.04 Node.js (v 0.6.12) sudo apt-get install nodejs MongoDB sudo apt-key adv –keyserver hkp:// –recv 7F0CEB10 echo ‘deb dist 10gen’ | sudo tee /etc/apt/sources.list.d/mongodb.list sudo apt-get update sudo apt-get install mongodb-10gen Reference:

Posted in Linux | Tagged , , , | Leave a comment