2012年4月5日 星期四

SSH Git Server

Server :
$ mkdir hello.git
$ cd hello.git
$ git --bare init


Client :
$ mkdir hello
$ cd hello
$ git init
$ touch README
$ git add README
$ git commit -m 'first commit'
$ git remote add origin user@REMOTE_SERVER:hello.git
$ git push origin master




Reference :
Debian Linux 架設使用 SSH 存取 的 Git Server | Tsung's Blog

Apache 虛擬主機

# vi /etc/apache2/sites-enabled/000-default
NameVirtualHost 172.20.30.40:81


DocumentRoot /www/example1
ServerName www.example1.com



DocumentRoot /www/example2
ServerName www.example2.org




Reference :
VirtualHost Examples - Apache HTTP Server

IE8 Cookie 設定

工具 -> 網際網路選項 -> 隱私權 -> 設定 -> 進階 -> 複寫自動 Cookie 處理

2012年4月1日 星期日

PowerPoint 內嵌字型

PowerPoint 2007
檔案 -> 另存新檔 -> 工具 -> 儲存選項 -> 在檔案內內嵌字型 -> 內嵌所有字元





Reference :
避免在 PowerPoint 中遺失字型樣式

Moodle 腳色權限設定

網站管理 -> 用戶 -> 權限 -> 定義角色 -> 編輯