Unobtrusive JS

One of the principles of Unobtrusive JS is the “separation of functionality (the “behavior layer”) from a Web page’s structure/content and presentation”. A small example: <a href="#" onclick="SomeObj.someAction(2)">Do some actio...

Seven Languages in Seven Weeks: Erlang

So, I just bought “Seven Languages in Seven Weeks”. I’ve read the Ruby chapter, not big deal at all, so I slipt it. I also skip Io, Prolog and Scala (for now), and then, fall in Erlang! I’ll explain it better another day, but, as you may know, Erlang is a...

UP: A Jekyll theme

After a while using Jekyll Bootstrap, I just realized that it was so much bloated. Then, few days ago, I forked the old Zach Holman’s blog, and started to tweak my own theme based on theirs (that now is opensource). At first, I like it, but after a while, I just start think...

Things that make me dislike Java

So, I just compiled a little list of things that, I believe, make me dislike Java everyday a little more. This is not a hateful flamewar-guided post. Just my thoughts about a subject. Java has a lot of good points. Starting with community, specs, lot of libraries and so on. I use...

Rails AJAXSpin

A couple of days ago I wrote about how to build a simple and non intrusive AJAX status with CoffeeScript in RubyOnRails. I decided to use my spin in more projects, so, I just gemified it. It is really very simple to use and looks nasty =) You can check the installation steps here...

Dotfiles Are Meant to Be Forked

My desktop Well, it has been a while since I replaced my old (but gold) bash by the great zsh. Anyway, I have my personal computer and my job computer, and, like almost every developer, I create aliases and scripts for everything I have to do repeatedly. Automate all the things!...

MongoDB Driver days hackathon round up

Two times a year the drivers team at 10gen gathers together for a face to face meeting to spend time together working on issues and setting forth our goals for the upcoming six months. In September 2012 we all converged on New York City for the second ever driver days. This time...

Simple RoR AJAX Status

tl;dr A simple tutorial explaining how to made a simple coffeescript that can automagically show and hide a loading spin while doing a ajax call. Hi I just built a simple and non intrusive AJAX status indicator with spin.js and CoffeeScript, and I think that you people may like i...

The Biggest Myths Surrounding Disaster Recovery

There are a variety of reasons businesses either do not have a disaster recovery plan or their current plan is substandard. The beliefs of the people in charge of developing these processes (business owners and IT department) play a significant role in how effective the overall...

Configuring a git server with gitolite

Setup You will need: git git-daemon-run ssh gitolite Install everything: $ apt-get install git ssh gitolite git-daemon-run Generate a SSH key pair The server needs a public/private key pair. So, you will need to generate it: $ ssh-keygen -t rsa Now, will copy it to /tmp folder, w...