I just stumbled over the Apache POI project. The title reads Apache POI – Java API To Access Microsoft Format Files and this seems what it is good for. Maybe someone out there finds this as helpful as I currently do.

Recently I had to install the Flash Player 10 on Ubuntu. As I have a 64 bit system, I had no choice as to use the alpha release of the 64-bit Flash Player 10 of Adobe. You can find it at the Adobe Flash Player 10 page.
Have fun!

From time to time, on my machine the numpad is not working anymore. Instead, the keys move the mouse cursor around. This completely bugs me!

Here is two solutions:
1. The inconvenient method to turn this off is via: System->Preferences->Keyboard-> Mouse Keys -> Turn „Pointer can be controlled using the keypad“ checkbox off

2. The cool and easy way is the shortcut:
ctrl+shift+num

Have fun!

Ich hab mir vor ein paar Tagen Launchy installiert und bin begeistert. Das Programm „denkt“ mit und ist echt eine große Hilfe! Vor allem, wenn man die Maus als Eingabegerät etwas weniger verwenden will. Launchy bleibt im Hintergrund, bis man es mal benötigt. Durch eine Tastenkombination erscheint dann ein kleines Fenster in das man Programmnamen, Rechenaufgaben, Dateinamen, etc. eingeben kann. Launchy öffnet dann passende Programme, etc. und erspart einige Arbeitsschritte. Einfach mal ausprobieren!

Siehe auch die Informationen auf der Internetseite von Launchy.

Here is how to let a svn client connect to a svn server on a non-standard port.

Fire up an editor and edit the file ~/.subversion/config.
(On a windows machine with TortoiseSVN go to TortoiseSVN settings. There is a button that opens the file.)

Find the section
### Section for configuring tunnel agents.
[tunnels]

and insert a statement like
otherportssh = $otherportssh /usr/bin/ssh "-p 4321".

This setting can now be used in a svn connection string like:
svn+otherportssh://username@host/path and it will connect to the port 4321.

See also:
The SVN redbook – Server Configuration – Tunneling over SSH

Have fun!

Ich stand einige Male vor dem Problem einen Java source Ordner nicht als Java Projekt importiert zu haben, sondern als generisches Projekt. Es ist dann nicht möglich in die Java Perspektive umzuschalten und die Packages werden als normale Ordner angezeigt. Die Lösung ist es, eine Java nature in die .project Datei einzutragen.

Dazu ist es notwendig, das Projekt zu schließen und die .project Datei in einem Texteditor zu öffnen.

Fügt man nun zwischen <natures></natures> die Java Nature <nature>org.eclipse.jdt.core.javanature</nature>, erkennt Eclipse beim Öffnen eines Projekts das Projekt nun korrekt als Java Projekt.

Viel Spaß!

Nach langer Suche habe ich eine graphische Übersicht der gängigsten Swing Komponenten gefunden. Auf einer Webseite wird ein graphischer Überblick der Java Swing GUI-Komponenten gegeben. Für die Komponenten gibt es jeweils einen kleinen Screenshot und einen Link zum Tutorialeintrag. Und das ganze gibt es auch nochmal für Windows Look and Feel.

Bubble

9 Januar, 2008

Da ist was dran:

mysql DUMB

28 November, 2007

Here the mysql dump and restore commands with username, password and database name.

Change user and password and dbname and filename according to you needs! Note that if you write down or type in your passphrase you may be at risk if someone observes this. If you leave out password behind the -p mysql will prompt you for it and it will not be displayed as you type it in. This may be more secure.

  1. dump the database dbname to filename
    mysqldump -uuser -ppassword dbname > filename
  2. dump the database dbname to filename and add ‘drop table if exists’ to DDL (dangerous for existing data)
    mysqldump –add-drop-table -uuser -ppassword dbname > filename
  3. restore the dump in filename to the database dbname
    mysql -uuser -ppassword dbname < filename

(note: in this example username is user and password is password)

http://www.devshed.com/c/a/MySQL/Backing-up-and-restoring-your-MySQL-Database/2/

As always I am not responsible for any damage ;-)