Sunday, September 6, 2009

Xinetd daemon on CentOS

In the older version of CentOS or Fedora, xinetd daemon was usually installed by default. However, it seems ( I may be wrong) that from CentOS 5, this is not the case. So if you noticed your xinetd daemon is NOT present in your /etc/inet.d but the xinetd.d directory are present. Just run the usual

# yum install xinetd

And it is ready for your use.

Saturday, September 5, 2009

Using Gedit Plugins on Linux Mint



Although Gedit comes default for many distribution desktop. It is really more than just a pretty text editors. In fact there are quite a pool of useful plugins to use.

Step 1: First Things First. Install Gedit Plugins
# apt-get install gedit-plugins


Step 2: Accessing the Plugins
  • After launching the Gedit Application, goto
    Edit > gedit Preference > Plugins
  • Browse the Plugins and check the ones you want to use. Some of the interesting and useful plugins are the colour picker, the session savers etc

Step 3: Need more information and external Plugins

Friday, September 4, 2009

Rosetta - High resolution protein prediction and design application

The Rosetta software focuses on the prediction and design of protein structures, protein folding mechanisms, and protein-protein interactions. Rosetta codes consistently exhibit repeated success in the Critical Assessment of Techniques for Protein Structure Prediction (CASP) competition as well as the CAPRI competition. Rosetta codes also address aspects of protein design, docking and structure. The software is the foundation for the Human Proteome Folding Project on the World Community Grid.

The Rosetta software is currently licensed for free to users at academic and nonprofit institutions. Over 2000 academic users in more than 32 countries use Rosetta. Commercial entities can use Rosetta by paying a license fee. Revenue from licensing is reinvested in supporting continued software development.

Thursday, September 3, 2009

Scons - Open Source Construction Tool

SCons is an Open Source software construction tool—that is, a next-generation build tool. Think of SCons as an improved, cross-platform substitute for the classic Make utility with integrated functionality similar to autoconf/automake and compiler caches such as ccache. In short, SCons is an easier, more reliable and faster way to build software.

It has support for Windows and Linux. In particular, for the RHEL distribution, it has the rpm. However, it will need python > 1.5.2. But the user guide recommend Python 2.5 and above

Wednesday, September 2, 2009

Manually Changing FAT permission on USB

FAT32 does not support file permission and ownerships. In order to support permission and ownership, you have to use umask for permission and uid/gid for user and group permission. Basically umask=000 will results in rwxrwxrwx.

# mkdir -p /media/usb
# mount -t vfat -o umask=000,uid=youruserid,gid=users /dev/sdb1 /media/usb

The results will be
drwxrwxr-x 3 youruserid users 12288 1970-01-01 07:30 usb

If you want to mount the usb and only allows yourself and users in the group to view it, you can use umask=007

# mount -t vfat -o umask=007,uid=youruserid,gid=users /dev/sdb1 /media/usb


Notes on umask:

To calculate permissions which will result from specific UMASK values, subtract the UMASK from 666 for files and from 777 for directories.

If you want all files created with permissions of 666, set your UMASK to 000. Alternatively, if you want all files created with permissions of 000, set your UMASK to 666.