I created a chat room. Because the world needs another very basic chat room. I made it with Node.js, Express, Socket.io, and CoffeeScript.

Posted May 11, 2012 | | File under: , , ,

The Unix Chainsaw

Every time Gary Bernhardt speaks I lean forward and listen. I subscribe to Destroy All Software and just found the above linked talk from Cascadia Ruby Conf. Excellent talk.

I have said before that the more I learn about Unix, the more I feel like a god. I am learning the truth of what Blake Mizerany said in a talk once, “The world’s greatest IDE, it’s called Unix.”

I am currently reading “Classic Shell Scripting” to learn more. Pipes, sed, awk, functions, stdin, stdout, forking processes.

I have already realized that a couple things I wrote as rake (and cake) tasks can be written in easier, faster, and more versatile shell script.

I will learn to wield the Unix chainsaw like a master.

Update: “The Shell Hater’s Handbook” by Ryan Tomayko is another fantastic talk on the power of the shell found in the archives of Confreaks.com.

Update 2: “The Hater’s Shortcut to The POSIX Shell and Utilities”, linked up at the end of the talk by Ryan Tomayko above, is an excellent resource as well. Sweet!

Posted March 4, 2012 | | File under: , ,

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: , ,

bionicbrian.com | About

Creative Commons License