After a server crash a wanted to compare all actual files with the backuped data. An easy way is to compare the md5 hashes like that: First create recursively md5 hashes from all files in that directory: find ./backup -type f -print0 | xargs -0 md5sum > /checksums_backup.md5find ./backup -type f -print0 | xargs -0 […]
Once again, a quick reminder for myself: Howto display the internet traffic on your Sony Ericsson C702: Menü, #, 4th Tab, 5 (On a german phone: “Einstellungen / Anrufe / Zeit und Kosten”) I guess that works with other SEs like K800i and K850i. I remember an old SE that i had which always displayed […]
Zooming with the CTRL+Mouse Wheel Up/Down has been in inversed in Firefox 3. In version 2 you zoomed in (enlarged the text) with CTRL+Mouse Wheel Down and zoomed out with CTRL+Mouse Wheel Up, its now in Firefox 3 the other way round. The revert back to the old behaviour, change mousewheel.withcontrolkey.numlines = 1 to mousewheel.withcontrolkey.numlines […]
Just a quick reminder for myself: With the default installation of an Oracle Express (Oracle XE) comes two shell script with all the necessary environment variables to use sql*plus, exp, imp and the like on the command line: source /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin/oracle_env.shsource /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin/oracle_env.sh respectively source /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin/oracle_env.cshsource /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin/oracle_env.csh
Hibernate supports multiple types of inheritance mapping, some of them (Table per class, Table per subclass) using a discriminator column to decide the class. The type of the discriminator can be one of string, character, integer, byte, short, boolean, yes_no, true_false In case you need to use any other than string or character, i.e. integer, […]