發表文章

目前顯示的是有「筆記」標籤的文章

How to setup SVN Server, English version

I found that there are so many people who search the keyword, "svn server", and then come here, so I think that maybe I should write an English tutorial for helping people who do not know Chinese. First, go to Subversion to download the SVN Server Add the installed path to the environment variables. For example, in windows system, it may be "C:\Program Files\Subversion\bin\". Create a directory for storing the projects. In this tutorial, we assume the directory is in "D:\projects" Create a directory for each case, called "repository". Follow the previous assumption, if we are going to create a project called "PostEX", you need to key in the following command svnadmin create d:\projects\PostEX Edit the permission file In "d:\projects\PostEX\conf",edit the file "password" find the tag of "[users]", and add the user and password to it For example: padsmember = padspassword Edit the file of "svn...

How to setup SVN server

之前寫的,留在這裡做個備份 先去 Subversion 的網站抓SVN Server 把SVN加入到環境變數PATH中,如C:\Program Files\Subversion\bin\ 選一個目錄,專門用來放許多案子用的,假設為D:\projects 建立你現在要產生的專案repository, 比如要建PostEX專案 svnadmin create d:\projects\PostEX 修改權限檔案 到d:\projects\PostEX\conf裡,修改passwd 在[users]裡,加上你們案子要用的帳號和密碼 如: padsmember = padspassword 修改svnserve.conf,如果你不想讓任意路人甲都可以看到你的程式,在[General]中找到一個anon-access,把它改成none anon-access = none 找到一行 password-db = passwd,把前面的井號去掉,這樣前面修改的passwd檔才會有啟用 啟動SVN Server D:\>svnserve -d -r d:\Projects --listen-port 9000 所有要參與計畫的人,都裝上 TortoiseSVN 建立一個目錄,用來抓SVN Server上已經有寫的程式 (別人可能之前先傳上去的) 做checkout,把URL of repository的protocol改成SVN 如: svn://pads15.cs.nthu.edu.tw:9000/PostEX 幾個主要的功能 checkout剛加入許畫的人,第一次去把檔案抓下來用的 update是已經有checkout的人,後來用來抓SVN Server上更新版用的 commit 是你做了更新後,要send到SVN Server上用的

Windows -> Ubuntu

這個影片是Windows Vista Aero vs. Ubuntu Beryl的影片,前半段秀aero,後半段秀beryl,我的桌面也和影片後半段的一樣酷了~3D翻轉實在是帥啊!Vista,嫩! 整理一下目前從windows轉換到ubuntu使用的替代品 PCMan -> QTerm 鯨魚輸入法 or 倉頡輸入法-> 倉頡大字集 IE(本來就沒在用) -> FireFox -> 字型調至少12,中文才看得清楚 MSN -> Gaim (Pidgin) outlook(沒在用)-> gmail CuteFTP -> FileZilla -> 記得把encoding調成Big5 Foobar2000 -> BMP or RhythmBox (使用EasyTag,把Big5全改成UTF8即可) Media Player Classic -> VLC or Totem or MPlayer 工作管理員 -> 在面版裡加入 System monitor (系統監查) FlashGet -> 在FireFox安裝FlashGot -> 使用 Downloader for X (D4X) PhotoShopCS -> 本來就只用GIMP CoolEdit -> audacity TotoriseSVN -> RapidSVN Eclipse本來就有for linux Dr.Eye -> 星際譯王 (也有隨選即譯功能) 遠端連線 -> ubuntu裝好就有了 Office -> OpenOffice.org 1. 裝VirtualBox -> 裝WindowsXP & Office (速度很好) 先去 VirtualBox官網 抓for Feisty Fawn的,裝好後把要用的user加入群組 sudo usermod -G vboxusers -a YOUR_USER_NAME 如果以後更新kernel發生問題,執行下面指令 sudo /etc/init.d/vboxdrv setup 2. 解決X31在使用beryl & compiz視窗最大化時標題變空白的問題 xorg.conf裡找到顯卡,對照後補上後面幾行 Section ...

linux上裝SUN JDK

1.先去sun的網站抓linux的.bin,不要抓有rpm的 2.chmod +x xxxx.bin 3.cd /usr/local 4.mkdir java, cd java 5.在/usr/local/java執行/home/username/xxxx.bin 6.回home dir將jdk的path加到.bashrc,順便設JAVA_HOME 7.如果是root,可以不做第6點,直接到/etc/profile裡加