Ganymede tutorial

October 20, 2008

Found this great resource of tutorials for doing stuff with Eclipse Ganymede

http://www.vogella.de/eclipse.html


Perl module reference

October 8, 2008

Referencing Perl module (similar with classpath in java)

http://www.devdaily.com/perl/edu/articles/pl010015/


Linux history tricks

September 16, 2008

1. The file contain all the history is at /home/$USER/.bash_history

2. The .bash_history file can be edited and it will reflect the output of $history command

3. Press Ctrl+r to search history in reverse manner

4. run command “!historyNumber” where history number is a number shown after command $history fired.


Command line editing tricks

September 16, 2008

1. Ctrl+a : move the command line to the beginning

2. Ctrl+e : move the command line to the end

3. Ctrl+k : remove the line from the current cursor until end of line

4. Ctrl+u : remove the line from the cursor until beginning of the line


CA.sh script – The missing link

May 28, 2008

If you following the tutorial on some self signed certificate, you may come across a step asking using CA.sh (line CA.sh –newCA). However most site missing the link for this script. Last time I install openssl also not provide this script.

Just in case you wonder where this script (and google bring you here), you can get it at http://web.mit.edu/crypto/share/openssl/misc/

There are 2 version, the batch script format (.sh) and also perl (.pl). If I remember correctly both do the job.

Hope this helps as I spent a lot of time last time searching for this “missing link” (O.o)

now some word to help google ;)

“download CA.sh”


X Forwarding Using Cygwin

May 23, 2008

Say that we want to access the GUI of remote linux machine from local Windows XP/Vista machine, using Cygwin in local machine will make it possible. Provided Cygwin is installed with X11 module.

In Cygwin :

1) $startx (X window will appear)

In X window

1) $ssh -X user@ipname

2) $gnome-panel

Then the remote linux machine top and bottom panel will appear.


Hello world!

May 9, 2008

This will be a place where I dump few stuff as my reference later on. My mind simply can’t remember everything so some logging mechanism needed.