Set the default timezone for a Grails application

May 18, 2010

Note to myself:
TimeZone.setDefault(TimeZone.getTimeZone("UTC"))
in BootStrap.groovy

Categories: General Stuff.

IntelliJ IDEA 9 on (k)ubuntu

May 3, 2010

I’m a big fan of IntelliJ IDEA for Grails development. Sadfully I had huge problems since I installed Kubuntu 10.04.
The indexing crashed often, after a few minutes working all references broke down etc.
After some searching I found this

It seems that IDEA has some problems with the encryption of the home-dir. So I followed the threads advice and stored index-files etc. outside of my home-dir and voilĂ  it works like a charm.

Categories: General Stuff, Groovy & Grails, Linux.

Too sad they quit :/

April 3, 2010

Non-IT-related stuff now
Damn, one of my favourite bands Theatre Of Tragedy announced that the band, after 17 wonderful years, will become history this year.
And guess what I just found out after their tour here finished, great. Maybe I can manage it to get some tickets and a trip for the last concert in Stavanger Norway, but I guess even if I can find some time it’s already sold out :’(Designed by Tim Sainburg from Brambling Design

Categories: General Stuff.

phpMyAdmin alternative

December 17, 2009

For some reason (and I guess that some of my changes to the apache-config are the reason) pma stopped working today. It just won’t let me log in, which is really annoying and contra productive.
What to do, search for an fast and easy to set up alternative and hunt the bug when there is time for it.
Anyway, I found this tiny little app called sqlbuddy.
It’s a small zipfile with no initial setup, just extract, browse to it and log in into your mysql-server. Love it!

I guess pma can stay in its grave, sqlbuddy just won my heart.

Categories: General Stuff, Javascript, PHP.

Tags: , ,

Kerio adminconsole on (K)ubuntu 9.10 64Bit

November 5, 2009

After smashing my XP-installation and going back to Kubuntu 9.10 I came to the point where I needed to install the adminconsole for Kerios wonderful exchange-solution.
So I downloaded the ubuntu-package, ran dpkg on it and came up with an error:
error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory

To save maybe some poeple a lot of time, after some headaches and google I came up with this wonderful trick:
Download this http://packages.ubuntu.com/jaunty/amd64/ia32-libs/download
Install it. Install Kerion adminconsole again. Have fun.

Cheers

Categories: General Stuff.

Outdated browser?

October 21, 2009

One thing I always struggle with, is the hilarious great number of outdated browser and to inform the users about that they are using something which may be half a century old (One more IE6-user and I quit!).
Also when some code is implemented to check the browser version it must be kept up to date which sucks.
But hey, there is this wonderful website http://www.browser-update.org just implement their script and it informs the users with a little bar that their browser seems to be a little bit out of date.
Sweet tool.

Categories: General Stuff, Javascript.

Grails jQuery-Plugin 1.3.2.4 released

June 15, 2009

Since there was a small bug with the config-file in 1.3.2.3 I released 1.3.2.4 which comes with it own JQueryConfig.groovy in jquery-1.3.2.4/grails-app/conf/.

The two options sources and version moved to jquery.sources and jquery.version.

You can access them in your code (if needed) like this:

GroovyClassLoader classLoader = new GroovyClassLoader(getClass().getClassLoader())

ConfigObject config = new ConfigSlurper().parse(classLoader.loadClass(‘JQueryConfig’))

def jQueryVersion = config.jquery.version

Cheers

Categories: General Stuff.

Grails jQuery-Plugin 1.3.2.3 released

June 11, 2009

A quick release arrived two days ago which fixes bug mentioned in GRAILSPLUGINS-1238.

Cheers

Categories: General Stuff.

Grails jQuery-Plugin 1.3.2.2 released

June 9, 2009

Great news everyone,

I’ve recently released the Grails jQuery-Plugin in version 1.3.2.2.
The versioning moved to this layout: <jQuery version>.<plugin increment version>, so the first three numbers are the jQuery-version and the last one a release count.

Since this release is mainly a bugfix here are the fixed JIRAs:
GRAILSPLUGINS-1161
GRAILSPLUGINS-1003
GRAILSPLUGINS-930

In the background the work on a jQuery-UI-plugin is going on and maybe I’m going start work on a google calendar-plugin.

For bugreports and feature requests please rise a JIRA at http://jira.codehaus.org/browse/GRAILSPLUGINS

Categories: General Stuff.

Time passes by

April 9, 2009

The last weeks have been so full of work that I had not time to even look at my blog. But I hope it will get better now.
There where several thinks worth to write about, but I forgot the most of them.

However, since I’m writing a little game-pyhsics-engine this semester, for my practical at the university, it will give me some stuff to post here.

So far

Cheers

Categories: General Stuff.

Auxiliary blogger

September 17, 2008

San joined me yesterday on my journy called “Give this blog a meaning”.

Unlike me he calls the Windows(tm, copyright and all the other stuff)-universe his home, so I guess most of his posts will be about ASP and .NET.

Cheers
Finn

Categories: General Stuff.

Backing up IMAP

September 15, 2008

Today our mailserver at the university told me that I’ve reached the limit of my IMAP-quota. Much to my regret in KMail version 1.2.9 there is no export function (or I couldn’t find it).

But there is hope: A little python-script called IMAP Backup Tool

Just execute it like this: imapbackup.py -u user -s mail.com:1234
and wait while all your mails will be downloaded and saved to seperate mbox-files for each IMAP-folder.

Categories: General Stuff, Linux.

Reborn

September 15, 2008

I gave some thoughts about redoing the whole blog in a less private way and arrived at the conclusion that I will make this blog more about computer science.

My english is not the best, but I’ve fun while writing it so I’ll give it a whirl.

Cheers
Finn

Categories: General Stuff.