Enable/Disable registration of LibreOffice as default app for opening office files on Windows

First post after a long time!

Registration of LibreOffice as default application for Microsoft Office formats can be forced or suppressed by using the following command line switches with the installer:

  • /msoreg=1 will force registration of LibreOffice as default application for Microsoft Office formats;
  • /msoreg=0 will suppress registration of LibreOffice as default application for Microsoft Office formats.

Source: http://www.libreoffice.org/get-help/system-requirements/

Posted in Windows | Tagged , , , , , | Leave a comment

How to enable Android Market on Samsung Galaxy Mobiles

Android market seems to be disabled by default on Samsung Galaxy mobile phones in the Middle East, and Samsung is using their marketplace instead, which is totally ridiculous.

To enable the Android market (Tested successfully on Samsung Galaxy S9000)

  1. BACKUP all your data
  2. Get your IMEI by calling *#06#
  3. Call the following: *#272*IMEI#*
  4. Choose “XSG” and then “Install”
  5. Your mobile will reboot, and you’ll find the Android Market enabled.
  6. Enjoy!

Sources:

Posted in Android | Tagged , , , , , , , , | Leave a comment

Monitor CPU, Memory and Network on AIX

Very good two commands to monitor CPU, Memory and Network on AIX:

netstat and vmstat

e.g. “netstat 5”, views the network activity, reports every 5 seconds, change 5 to 10 if you want every 10 seconds and so on.

e.g. “vmstat 5”, views the CPU and RAM activity, same as above.

Credit goes to my friend & colleague Emmanuel Simart for these two commands.

Posted in Unix | Tagged , , , , , , , , | Leave a comment

Ganglia Daemons Enable Debugging Mode

Just run “gmetad” or “gmond” with the “-d debugging_level” where debugging level is from 1 to 9, this will run it in the foreground and will show very useful information that will help you in debugging, pressing Ctrl+C will kill the process.

Posted in Unix | Tagged , , , | Leave a comment

Configure Ganglia Data Monitoring Agent (gmond) to send data to multiple Data Collection Agents (gmetad)

Edit the “/etc/gmond.conf” file, and just copy the udp_send_channel section, one copy for every host, e.g.

udp_send_channel {
host = 10.11.x.x
port = 8649
ttl = 1
}

udp_send_channel {
host = 10.11.x.y
port = 8649
ttl = 1
}

udp_send_channel {
host = 10.11.b.z
port = 8649
ttl = 1
}

Posted in Unix | Tagged , , , , | Leave a comment