Tuesday, November 06, 2012

input pentagram in office/word/ppt

http://www.wordlm.com/html/2295.html probably not working so well in mac.

Sunday, November 04, 2012

SSH Timeout - Write failed: Broken pipe?

The problem occurred in linux, and each time ssh connection can only last roughly two minutes once the connection is idle. I followed the suggestion provided in the following link, and the problem is solved. https://bbs.archlinux.org/viewtopic.php?id=97003 I added the line ServerAliveInterval 30 in the ssh _config file, which is located under the directory of /etc/ssh.

Monday, October 29, 2012

arxiv submission error fixed.

the following error is given: ! Package natbib Error: Bibliography not compatible with author-year citations which can be fixed by the following approach: \bibitem[ Barthelmy. et al. 2005 ]{Bar2005} Barthelmy, S. D., et al. SSRv, 2005, 120, 143 -----> \bibitem[{{Barthelmy. et al.}(2005)}]{Bar2005} Barthelmy, S. D., et al. SSRv, 2005, 120, 143

Monday, October 22, 2012

app window list in linux

right click on the toolbar, one will see "add to panel", and add the tool "window list" to the panel. Then you will see all the minimized apps out there.

Wednesday, October 10, 2012

open in the single window in centos linux

http://www.centos.org/modules/newbb/viewtopic.php?viewmode=flat&order=ASC&topic_id=15724&forum=37 Click System -> Preferences -> File Management

Tuesday, October 09, 2012

mount windows-ntfs disk in linux.

use the tool "ntfs-3g". (1) install the tool first. Search google for the download link. http://www.tuxera.com/community/ntfs-3g-download/ (2) once installed, use the format "ntfs-3g /dev/sdf2 /mnt/windows" to mount the disk. Make sure the directory "/mnt/windows" is pre-created. Note: (1) use the command "parted /dev/sdf print" to check the device name. Make sure under the root environment. http://www.cyberciti.biz/faq/linux-viewing-drive-partitions-with-fdisk-parted/ (2) if one would like to mount the disk automatically, one will have to add the following line into the file 'fstab' /dev/sdf2 /mnt/windows ntfs-3g defaults 0 0

superblock problem in centos.

it is caused by the wrong line in fstab, and the system cannot find the media actually.

to mount a partition automatically in centos.

change the file /etc/fstab add the following line: /dev/sde /data ext4 defaults 1 0 where /dev/sde is the device name which can be found with the command "df -h" (I noticed that df command can only be used to check the device name for the mounted partition, not for the unmounted one. To check the device name, please check another blog about "mount windows-ntfs disk in linux".) /data is the mounting point. For the meaning of last two numbers, please refer to the link https://help.ubuntu.com/community/Fstab where 0 means no check to the disk.

Monday, October 08, 2012

cisco vpn client vs. MAC built-in vpn client

vpn tool built in MAC osx is better than the CISCO vpn Client. Recently I noticed that I cannot connect to my old school computer via the cisco vpn client, however, once I switched to the built-in vpn client, the problem is solved.