Wednesday, 29 February 2012

How to enable SSH on Fedora 16

# become super user
su -
# to activate it
systemctl start sshd.service

# to run it at boot
systemctl enable sshd.service

#enable it on the firewall
system-config-firewall

Monday, 20 February 2012

How to rc.local fedora 16?

F16 by default has removed the rc.local file (see the release notes). You just need to create the rc.local file in /etc/rc.d , make it executable and tell the system that is a bash script. See steps below

su -
(root password)


 echo '#!/bin/sh' > /etc/rc.d/rc.local


 chmod +x /etc/rc.d/rc.local


Now you can add your favorite lines to rc.local in order to run commands at start up.


What is FDR in ChIP-seq experiments?

ChIP-seq peak FDR - False Discovery Rate or the ratio between the number of peaks in the control and the experiment when the two are swapped.

-Can this be calculated without a control?
-No, I guess.

source 

Wednesday, 1 February 2012

Voices of eternity




Life has been happening ever since the universe appeared (or before for some other universes) thus civilizations, 'people', ideas, feelings... they all have been here for eons. They have come and they have gone. They will come and they will go.

Today, now, we are one of those sparks in this timeless realm

Firefox too slow in Fedora (15)


In firefox


   about:config


Find


network.dns.disableIPv6


set to true

Wednesday, 25 January 2012

Inverting screen colours in linux

xcalib -invert -alter

You can set this command to a keyboard shortcut.

Very useful for reading in the screen without bleeding eyes.

Monday, 23 January 2012

How to install rWeka and rJava in fedora (15)

Once again a problem of dev libraries.

First install r-java and r-java-dev
$ yum -y install r-java r-java-dev

Procced to install RWeka

$ sudo R CMD javareconf
R$ install.packages('RWeka')

voilá

Note: Sometimes it happens that R is not able to load properly the java libraries. In order to avoid this yo need to re-run as root R CMD javareconf [ see: http://rwiki.sciviews.org/doku.php?id=packages:cran:rjava]