Died laughing when Douglas Crockford called this the dog balls:

(function() {

  // some code

})();

Those ending parens are the dog balls just hanging outside. haha.

Posted January 13, 2012 | | File under: ,

Destroy All Software

Posted October 21, 2011 | | File under: ,

Finished part three of my Linux/Unix course. I can now say that I have successfully installed and configured Apache, PHP, and PostgreSQL. Next up is part 4 and scripting with sed, awk, and Perl.

Linux/Unix 3: Unix Services

Posted October 7, 2011 | | File under:

Sublime Text 2 has Vim key binding through the “Vintage” package. Oh yes! I think I have switched!

Posted September 29, 2011 | | File under: ,

The more I learn and understand about the Unix/Linux culture, the more I want to participate in it and to (one day) contribute to it.

Posted September 16, 2011 | | File under: , ,

Just completed my first real deployment to Heroku. Stoked! Was having trouble with switching from SQLite while in development and PosgreSQL in production. Got that tackled. And then got the rake commands and pg commands on a shared database figured out.

So now I have the source posted in a private repo on GitHub and the app working on Heroku. Heroku really is so simple to deploy once you know even a little about what you’re doing.

Stoked.

Posted August 27, 2011 | | File under: , ,

Ok. So I have Mongoose and Express.js working together nicely. I can read from, and write to, my little the MongoDB database. Pedro Teixeira at Nodetuts.com is a big help.

The key is to fire up your mongo daemon with the correct –dbpath BEFORE you run “node app.js”. (And when you write “var myModel = new Article();” don’t refer to it later as “mymodel”. They’re not the same variable, dummy.)

Is very fun stuff.

Posted August 9, 2011 | | File under: ,

Without tests or error checking, writing a web application would be much easier and faster. It might be broken and useless, but the actual writing of the thing would be so fast and easy.

Posted July 20, 2011 | | File under: , ,

I love the open source community. Was sitting here thinking “I need my strings in titlecase, it’s a pain to do it myself. I wish underscore had more functions for strings.” And after about 5 seconds of wishing upon a search engine, I find underscore.string for tons of amazing string methods.

“npm install underscore.string”, then “require(‘underscore’)” and “_.mixin(‘underscore.string’)”, and w00t! I’m off and running with a ton of methods on strings like _.titleize(name), which is what I needed initially. Thank you, Esa, Eduard, and team.

Posted July 3, 2011 | | File under: , ,

Installed Node.js, npm, and Express last night and fired up my first Node.js server last night. Was super awesome.

Posted June 30, 2011 | | File under: , ,

bionicbrian.com | About

Creative Commons License