Tuesday, August 3, 2010

good LPI certification tutorials

This is a good LPI certification preparation
ebook

Make tab completion case insensitive

this is a cool feature,

echo "set completion-ignore-case on" >> ${HOME}/.inputrc

Monday, August 2, 2010

create macro with emacs

Save your time, learn how to use emacs
this explain how to create
macros with emacs

Install Gnome on Centos server 5

I want to share this because I had trouble installing X window system on a centos 5 server

the following command allow you to install X Window System

yum -y groupinstall "X Window System"


then you need to install Gnome Desktop environment,


yum -y groupinstall "GNOME Desktop Environment" --exclude nautilus-sendto

add colors to svn diff

this is a cool function you can add in your ${HOME}/.bashrc

first install colordiff

apt-get install colordiff


Edit ${HOME}/.bashrc and add the following

svndiff ()
{
if [ "$1" != "" ]; then
svn diff $@ | colordiff;
else
svn diff | colordiff;
fi
}


source bashrc file
source ${HOME}/.bashrc


test it
svndiff

Linux and Wifi

I had trouble with my new laptop
my wifi card seems to not work properly, I get disconnected every 5 minutes
after some googling I found ndiswrapper
all I did is installing ndiswrapper then I downloaded the windows driver for my wireless card
and installed it with ndiswrapper and my wireless card is working like a charm now.

for more details see this post