Friday, October 31, 2014

Install Eclipse Luna on Ubuntu 12.04

Download latest Eclipse from

https://www.eclipse.org/downloads/
tar xvzf eclipse-java-luna-SR1-linux-gtk-x86_64.tar.gz
sudo mv eclipse /opt

sudo vi  /usr/share/applications/eclipse.desktop

[Desktop Entry]
Name=Eclipse 
Type=Application
Exec=/opt/eclipse/eclipse
Terminal=false
Icon=/opt/eclipse/icon.xpm
Comment=Integrated Development Environment
NoDisplay=false
Categories=Development;IDE;
Name[en]=Eclipse Luna

Thursday, October 30, 2014

Delete all files matching certain text

# Delete all .desktop files matching pattern pycharm

sudo find / -iname '*.desktop' -exec grep -l pycharm \{\} \; | xargs rm

Monday, October 27, 2014

fixing installation of udf in firebird 2.5

We need to uncomment the line with value 'Restrict UDF'

For some reason it is supposed to be the default but it is not.

Friday, October 24, 2014

Toggle between keyboard layouts in Debian Wheezy LXDE

 echo '@setxkbmap -option grp:alt_shift_toggle "us,es"' | sudo tee -a /etc/xdg/lxsession/LXDE/autostart

Thursday, October 2, 2014

force remove a node from proxmox node tree

If you like me did not follow the rule of shuting down a server before removing the node from proxmox cluster, you will get a broken node in your node tree, to force remove it just do the following

# rm -rf /etc/pve/nodes/HOSTNAME

From

http://undefinederror.org/how-to-reset-cluster-configuration-in-proxmox-2/