如何刪除 Windows Live Messenger 的群組?

發表於 | 2.18.2011 | 無回應

已經很久沒開 Messenger, 今天有朋友這樣問...

如何刪除 Windows Live Messenger 的群組?

Google Picasa 網路相簿的小漏洞?!

發表於 | 2.09.2011 | 無回應

Google 的使用者除了所謂的帳號名稱外, 還有一組所謂的 ID, 就像身份證字號一樣

而相簿都會產生一個 feed 供其他使用者訂閱

如果相簿內若設有供"擁有連結的使用者"或"私人"瀏覽的目錄

則不會出現在公開相簿的網頁列表中

r.i.p... Mr. BIG!

發表於 | 11.04.2010 | 無回應

大貓, 性別: 公, 先天性耳聾, 樂天知命, 出生日不詳
身型肥胖, 骨架壯碩, 享年約十八有餘, 逝於 2010 年 10 月 19 日!

Cat Power

發表於 | 9.28.2009 | 無回應

21 January 1972, Atlanta, Georgia, USA
本名 Chan Marshall / Charlyn Marie Marshall

Atonement[2007]贖罪

發表於 | 9.18.2009 | 無回應

這部片子, 雖說是愛情片, 但有三分之二在描述戰爭的殘酷

有意思的是, 拍攝的手法, 在在的說明這是一個回憶, 一個拼湊的記憶

而其間的滴答打字聲配樂, 更呼應出自傳式的意涵

Tag Cloud 和 META Keywords

發表於 | 9.09.2009 | 無回應

原本想說工程會蠻浩大的... 但實做後, 還好, 調整一下資料表的對應, 再使用 array, 便產生了預期中的標籤雲

雖說本機沒使用資料庫, 但基本上資料的儲存蠻類似 Berkeley DB

PHP 的 require & include

發表於 | 8.28.2009 | 無回應

require() is identical to include() except upon failure it will produce a fatal E_ERROR level error.

In other words, it will halt the script whereas include() only emits a warning (E_WARNING)...
也就是說, 相對 include() 而言, require() 一旦有誤時, 程式會終止執行

which allows the script to continue.
而 include() 除了警語, 程式還是會跑完

#require() 的用法和 include() 一樣
#都是賦予一個檔案, 所以錯誤都是出現在找不到檔案
 

include "/path/to/file";
#這樣的寫法較標準, 雖然 include ("/path/to/file"); 也可以

#在迴圈內需要 include "/path/to/file"; 時
#而該 file 內如果定義有 user function 的話
#應該將 user function 移到迴圈外再引用
#或者另外將 user function 以檔案的方式在迴圈開始前 include()
#否則會在迴圈內重複宣告同樣一個 user function
 

Fatal error: Cannot redeclare user_function() (previously declared) 
#這個 user_function 在迴圈內只會在第一次 include() 時使用, 然後因錯誤而終止執行