2011年4月27日 星期三

Adobe PDF

BookMark feature
Select View-> Guide-Board -> Bookmark
Then we can use the embedded bookmarks of the specific pdf document

2011年4月13日 星期三

Linux Command - git

checkout git project
$ git clone git://IP_or_Domain_address/projectName.git
>> Can also be http://IP_or_Domain_address/projectName.git
Cloning into ProjectName...
remote: Counting objects: 13867, done.
remote: Compressing objects: 100% (11779/11779), done.
remote: Total 13867 (delta 2090), reused 13699 (delta 1972)
Receiving objects: 100% (13867/13867), 43.95 MiB | 216 KiB/s, done.
Resolving deltas: 100% (2090/2090), done.

show all the branch/tag in the current repository
$ git ls-remote
From http://IP_or_Domain_address/projectName.git
a99c087c7998b75f8fc662e185b068b52d69b90b HEAD
a99c087c7998b75f8fc662e185b068b52d69b90b refs/heads/master


sync with the latest code from the repository
$ git pull
>> Q. Is there any other command to achieve this purpose?

2011年4月4日 星期一

Linux Command - vi, ctags, taglist

produce the ctags
# ctags -R ./*

Enable the taglist feature
:TlistOpen


my $HOME/.vimrc config file
"set Tlist_Ctags_Cmd=/root/vimfiles/plugin/taglist.vim
filetype plugin on
"let Tlist_Ctags_Cmd = "/usr/bin/ctags"
"let Tlist_WinWidth = 50
map :TlistOpen
map :TlistToggle ==> add the shortcut of taginfo to quickly jump to the taginfo window
map :!/usr/bin/ctags -R --c++-kinds=+p --fields=+iaS --extra=+q .


taginfo howto document
http://vim-taglist.sourceforge.net/manual.html

Linux Command - vim, vimrc example

#將這個檔案放在$HOME/下即可以設定VIM的功能,
#如果你是root,就把它放在/root/.vimrc (命名為.vimrc)即可

set softtabstop=4
set shiftwidth=4
set autoindent