Linux

warning: Creating default object from empty value in /mnt/data/accounts/m/mirousek/data/www/eu/mirousek/www/modules/taxonomy/taxonomy.pages.inc on line 33.

Netbeans blank window

If you're trying to run Netbeans on JDK 1.7 under some tiling manager, you can end up with grey blank screen. Here is how to fix it :)

Keywords: Java, Linux, Netbeans, Tiling manager, xmonad

Can't emerge Netbeans with ant 1.9+

If it complains about incompatible types:

[javac] found   : java.util.Hashtable<java.lang.String,java.lang.Object>
[javac] required: java.util.Map<java.lang.String,java.lang.String>
[javac]         Map<String,String> properties = getProject().getProperties();
[javac]                                                                   ^

Just mask these packages (need downgrade to ant 1.8.x):

>=dev-java/ant-1.9
>=dev-java/ant-antlr-1.9
>=dev-java/ant-apache-bcel-1.9
>=dev-java/ant-apache-bsf-1.9
>=dev-java/ant-apache-log4j-1.9
>=dev-java/ant-a
Keywords: Linux

rdesktop to Windows Server doesn't share drives

When

rdesktop servername -r disk:store=~/store

desn't work, try to share sound device too:

rdesktop servername -r disk:store=~/store -r sound:local:alsa

http://serverfault.com/a/567376/214221

Keywords: Linux, Windows

Find linux package containing file

Find packages containing
dd
in Gentoo:
# emerge app-portage/gentoolkit
# equery belongs dd
Keywords: Gentoo, Linux

dd: ignore errors

If you have e.g. broken file or disk and you want to try to copy as much as possible data, you can instruct dd to ignore errors:

dd if=/mnt/sda/file of=/mnt/sdb/file conv=noerror,sync
Keywords: Linux, linux, dd, ignore errors, dd errors, dd ignore errors
Syndicate content