Private
New PC
http://www.qk123.com/2012/04/z77-motherboard-promotion-roundup-qkwalker/ Hitachi HDS722020ALA330 2TB $1,099 MSI N560GTX-Ti Hawk $1,720 GIGABYTE GA-Z77X-UD3H $1,499 Intel Core i7-3770K $2,832 ANTEC KÜHLER H2O 920 $750 Corsair Hydro Series H100 Extreme Performance Liquid CPU Cooler $890 MSI N560GTX-Ti Twin Frozr II 2GD5/OC $1,940 MSI GTX670 Read more…
PHP
Linux / Unix Command: zip
When given the name of an existing zip archive, zip will replace identically named entries in thezip archive or add entries for new names. For example, if fooz.zip exists and contains foo/file1and foo/file2, and the directory foo contains the files foo/file1 and foo/file3, then: zip -r fooz foo http://linux.about.com/od/commands/l/blcmdl1_zip.htm
PHP
Windows 7 換底板改regedit
仍是舊底板用 regedit 檢查: HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Msahci\ start 要是 0 然後換新底板,入 desktop 後再更新 display、sound、lan 咭便成事。
PHP
Facebook API for PHP login url premission
$login_url = $facebook->getLoginUrl(array( 'fbconnect' => 1, 'canvas' => 0, 'next' => 'http://localhost/demo/facebook/index.php', 'redirect_uri' => 'http://localhost/demo/facebook/index.php', )); 參數說明: fbconnect:Facebook 連線,恆為1。 canvas:Facebook內的畫布,沒有用到,為0。 next:按下完成後轉向網址。 redirect_uri:下一頁轉向網址。 基本款權限如下圖 修改參數 $login_url = $facebook->getLoginUrl(array( 'fbconnect' => 1, 'canvas' => 0, 'next' => 'http://localhost/demo/facebook/index.php', 'redirect_uri' => 'http://localhost/demo/facebook/index.php', )); Read more…