Onliner found here to reset a user password for the OpenVZ Web Panel (admin in this case)

ruby /opt/ovz-web-panel/script/runner -e production 'user = User.find_by_login("admin"); user.password = "admin"; user.save(false)'
 

I’m currently writing on my thesis and had the problem that OO is crashing all the time for unknown reasons. After I did some research I came to the following conclusion:

Screw it!

Remove the OO-packages which ship with ubuntu and install a fresh vanilla version (follow this)

I had no crash since that change and everything works pretty smooth.

 

Since I’m working for various customers I’ve the need to measure the time I spend on different Projects.

I’ve used the Time Tracking Tool recently which is far from perfect but it did the job, except from being very picky when it comes to unclean shutdowns.
Anyway, I stumbled over  Project Hamster today. I’ve not tested it fully but it looks very promising (at least for gnome-users).

sudo aptitude install hamster-applet

will install a little applet which can be added to your panel. Hamster offers

  • easy tracking
  • a nice overview
  • tagging
  • an HTML-export(!)
 

Me free time tends to be negative so the blog has been unavailable for a few days, but here it is again on a new machine.

 

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

 

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.

 

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

 

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.

 

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

 

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.

© 2011 Galeon's Howlingwolf Suffusion theme by Sayontan Sinha
WordPress SEO fine-tune by Meta SEO Pack from Poradnik Webmastera