2008年5月30日 星期五

chown

sudo chown  -R  root:wheel test.kext

2008年5月13日 星期二

xcode

compile files in xcode
做完改變後,
若要在local端儲存改變,
按file,然後按住option,
然後選save a copy as ,
然後檔名選local端file的檔名,
如此就會覆蓋local端原本的檔案。

set parameter for running
in Excutables-> executable_name-> arguments

ln

ln -s Documents/project/test   Desktop/testLink

2008年5月8日 星期四

cvs

set cvsroot:
export CVSROOT=:pserver:andy@10.1.1.1:/home/cvs

login
cvs  login

import:
cvs  import  test andy ver1
test: project name on cvs server
andy:  Vendor-tag
ver1:  Version-tag

checkout:
get specific version:
cvs co -r  v1_2   projectName

get specific date:
cvs co -D "12/02/2008 13:00" projectName

get specific branch
cvs co -r branch_name  projectName

show status:
ex:
cvs st test.c

commit:
cvs commit  test.c

remove
1. rm test.c
2. cvs rmove teset.c
3. cvs commit test.c
when check out project next time, test.c is not checked out
but test.c is still on cvs server
Hence, we can roll back  the time test.c exists

2008年5月6日 星期二

macports

the software to help install open source porgram

install:
set path:
export PATH=$PATH:/opt/local/bin

apache on mac

start apache server:
system preference --> web sharing 

cgi directory:
/Library/WebServer/CGI-Executables

2008年5月3日 星期六

times (RSS reader)

RSS reader

svn

svn on windows: tortoiseSVN


一般分三種directories
trunk: 最新的程式
branch: 程式某個版本的branch,不會影響到最新的程式
tag: 每個release的程式,會有個tag對應,如此可以取回任何一版release的程式

將程式抓下來:
ex: svn checkout http://svn.techno-weenie.net/projects/plugins/acts_as_authenticated/