Bash – find directories of certain sizes

January 11, 2013 at 14:49

I often find myself trying to know which directories are consuming most of my persistent memory (I would say hard disk, but it isn’t a disk – and probably, even hard – anymore), and always get disappointed with myself for not being able to remember the way to do it […]

Grails – generic methods for equals and hashCode calculation

December 27, 2012 at 23:11

In modern versions of Grails, you can use the Groovy annotation EqualsAndHashCode for generating the equals and hashCode methods of your domain classes using an AST transformation, but if you are in any 1.x.x Grails version (that uses a Groovy version prior to 1.8.0), you won’t be able to use […]

Bash – How to dynamically evaluate and set a variable

December 19, 2012 at 16:54

One of the things that opens the gate to truly code reusation in Bash is, in my opinion, the hability of evaluate and set variables in a dynamic way. By dynamic, I mean that the variable name is constructed dynamically, or passed as a parameter, and ends up being in […]

Temacos traducidos: Pearl Jam – Gone

November 30, 2012 at 10:25

Nunca he sido seguidor de Pearl Jam, la verdad. Es de esos grupos que cuando alguien me lo recomendó, ya tenían una carrera consumada, y nunca sabía por qué album empezar. Los intentos que he hecho nunca habían terminado siendo fructíferos, y lo había dejado correr hasta que mi hermano, […]

Groovy – using parameters with default values to separate method configuration from method body

November 23, 2012 at 10:37

And with that huge title 😀 , I want to talk about a little technique that I like to use in Groovy by taking advantage of the method parameters with default values feature. By method configuration and method body I am refering to two typical parts of a business logic […]

Temacos traducidos: Middle Brother – Million Dollar Bill

November 16, 2012 at 09:50

Letra original y traducción de la canción Million Dollar Bill del grupo estadounidense de folk rock Middle Brother, además de un par de versiones del mismo tema, en directo y en estudio.

Grails Puppet module

November 13, 2012 at 15:31

A Grails puppet module made by OSOCO, that allows you to install diferent Grails versions in a puppet node. Has been tested with Debian and Gentoo, so it should work with Ubuntu as well, and has it source code available in Github (so it’s free software).

Android GCM Sender

November 12, 2012 at 10:46

Android GCM Sender, a webapp that allows you to send configurable push notifications to your Android devices. Developed in Grails using the Grails Android GCM plugin and Ajaxify, and hosted in Heroku.