Archive for the ‘Software’ Category

寧可錯殺一百的 AntiGate eMule

Thursday, August 21st, 2003

最近華人的 emule 社群鬧得最兇的莫過於妖驢和 AG eMule 之間的大戰了

以往這兩邊的戰爭只侷限在有用他們軟體的用戶, 對一般的使用者沒什麼影響, 反正都是傻傻的抓,妖驢開 1:8 甚至免上傳也沒人在忽, 也因此引起國外社群的反感, 紛紛把中港台(大陸和香港還真衰… 我想他們會怨嘆, 都是台灣人害的 XD)的 ip 都加入 ban list 中…
(more…)

將Windows資源回收桶變成保密箱

Saturday, August 2nd, 2003

想把東西藏起來?
用鎖碼的工具又怕密碼忘掉 :)
這邊有個簡單的方法, 好好利用資源回收桶吧
(more…)

windows path setup

Thursday, July 10th, 2003

設定系統的環境變數

修改 Windows 2000/XP 的環境變數 Path ,將路徑 c:cvsnt 加入系統變數 Path 中並儲存。

Windows 2000 Professional 可以由「控制台」->「系統」->「進階」->「環境變數」修改。

Windows XP Professional 則由「控制台」->「效能及維護」->「系統」->「進階」->「環境變數」修改系統變數。

[pear] DB class

Monday, July 7th, 2003

DB_Common::quote()
Quotes a string database-dependent, so it can be safely used in a query

DB_Common::nextId()
returns the next free id of a sequence
(more…)

use Vim to indent your code

Saturday, July 5th, 2003

13.6. How do I format/indent an entire file?

You can format/indent an entire file using the gg=G command, where

gg - Goto the beginning of the file
= - apply indentation
G - till end of file

For more information, read

:help gg
:help =
:help G
:help 'formatprg'
:help C-indenting

PHP 5.0.0 Beta 1

Tuesday, July 1st, 2003

比較另我感興趣的部份
Removed the bundled MySQL client library. (Sterling)

支援 MySQL 成為 php 的標準配備了? :P
(more…)

[php]把 binary 檔放到 SQL

Sunday, June 29th, 2003

php 要如何把 binary 檔放到 SQL 中呢?
網路上找到的大多是
$binaryfile= fread(fopen($file, ‘r’), filesize($file));

不過我自己試的結果是問題一大堆 -_-

還好 phpMyAdmin 對這個有特別的處理方式
(more…)