I have a small Grails (2.5.x) web-application running on the AWS Elastic Beanstalk service. This works really well, but accessing log-files and debugging errors can be difficult. Therefor I decided to send some of the logging to a remote Graylog server (hosted elsewhere at the moment, but could just as well be running on an … [Read more…]
In my quest to become a better Grails developer, I have started to build a basic and free trouble ticket – / support – / helpdesk system, from the ground up. It’s not intended to compete with the big systems, but might fit in where less features are required. It supports receiving and sending emails, … [Read more…]
Download the latest versions of Groovy & Grails. Currently that is groovy-binary-2.0.1.zip and grails-2.1.0.zip. Let’s unzip these archives into /usr/share; cd /usr/share sudo unzip ~/Downloads/groovy-binary-2.0.1.zip sudo unzip ~/Downloads/grails-2.1.0.zip Next we setup environments variables, which points to these paths. Adding these to our .bash_profile, makes our system environment read it. cat > ~/.bash_profile # Java, Groovy … [Read more…]
I have always avoided Python. I am not sure why, but I think it is mostly because of the syntax, with the needed indention. Well, today I wrote my first script, and I actually like the language a little. I needed to lookup GPS coordinates for a long list of addresses, and didn’t like doing … [Read more…]
Hah, there are some funny quotes here, I especially like this one “Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it.” – Brian W. Kernighan.