Tuesday, September 11, 2007

What is laser mode?

I posted this question some time ago. It might be a good time to answer this before questions pile up.

There are basically 'two kinds of laser modes': transverse mode and longitudinal mode. Sometimes, transverse modes are labeled as TEM modes, such as TEM00, TEM01, TEM11. Longitudinal modes are also called cavity modes or axial modes. TBC

Tuesday, September 4, 2007

awk 'last pass power'

awk '$1~/300/{print $1,$2}' output.* | tee -a /dev/tty lastpass.txt

Tuesday, August 28, 2007

Creat trash icon on desktop

1)Go to ~/Desktop/
2)create file named trash.desktop
3)open this file in a text editor
4)put following code in it:

"[Desktop Entry]
Type=Link
URL=trash:/
Encoding=UTF-8
Icon=trashcan_full
EmptyIcon=trashcan_empty
Name=Trash
Comment=Contains removed files
OnlyShowIn=KDE"

5)save and voila!

Remember, you can always access your trash from konqueror if you type trash:/ in the address bar

Monday, August 20, 2007


Wednesday, August 15, 2007

Shut down computer in Xterm

NOT been tested yet. But they all sound like OK.
sudo shutdown -h now
gksudo shutdown -h now
sudo init 0