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 […]

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 […]

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.

Execute around pattern in Groovy

November 7, 2012 at 11:41

The execute around pattern seems to be a common practice in fuctional related languages (although probably Rafael Luque would claim that, as almost everything else 😀 , made it first appearance in Smalltalk, and Marcin Gryszko would say that is just the old plain template method 😀 ), but it’s […]

MySQL Puppet module

November 6, 2012 at 10:36

A MySQL puppet module made by OSOCO, that allows you to install MySQL and create databases and users in a simple way. 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).

Grails – how to see what objets are in Hibernate session

November 5, 2012 at 19:52

Sometimes, when your Grails controllers and services relationships get complex and you do bad stuff (even without explicitly doing it! you gotta love all this magic 😆 ), Hibernate throws you lovely exceptions like the following (this is one of the most common, but there are more of them): org.hibernate.TransientObjectException: […]

Grails Android GCM Plugin

October 31, 2012 at 13:27

Grails Android GCM Plugin: send push notifications to Android devices in your Grails app