碎碎語 脆脆想

天上人間已給查封了,人間再沒天堂,為北京十萬小姐默哀,一次都沒去過,可惜。

看wordpress的源代碼wp-includes/query.php

WordPress 已经为我们提供了足够多的页面筛选方法, 以下一些相关资料: Codex 关于页面限制方法的说明: WordPress Codex - Conditional Tags

http:/


每日進寶

買了微4/3的 Olympus M.ZUIKO DIGITAL ED 14-42mm f3.5-5.6

又買了近攝版的珠戒,成色幾好,好美,真的有戒指FEEL了。

所以話,以前的銀鏡哪同現在的上色銀鏡,一點感覺都沒有,小小的珠戒比支14-42還要重,吹漲。

Continue reading...

wordpress 不同頁面顯示不同的sidebar

WordPress Widget Logic 插件常用設置參數和語法:

is_home() 主頁

is_single() 文章頁

is_page() 頁面

is_category() 文章分類頁

is_tag() 文章標籤頁

is_archive() 歸檔頁

is_404() 404頁

is_search() 搜索結果頁

is_feed() 訂閱頁

||表示或,


The challenge of analyzing NFS packet traces

Suppose that you are having NFS performance problems on a single NFSclient machine (for simplicity), where every so often the system's loadspikes dramatically, and you want to track down what's going on. In anideal world the client's operating system would have built in monitoringthat you could use to analyze this. We do not live in that ideal world.

(Maybe someday DTrace and SystemTap and so on will ensure that we do,especially if the kernel NFS server and client code is


以武論武

「鬼仔達一日未死,空手道永遠排係我後面」吳孟達身為中國古拳法掌門人,如是說。雖然他在1988年的中日大賽,被斷水流大師兄的師父打斷腳之後,便消聲匿跡,退出江湖,自暴自棄,偷呃拐騙,但他依然相信自己仍然

活在當下

陶傑早兩天在一篇文章裏說「香港的八十後,被一句很低 B的潮話誤導,叫做「活在當下」,這是一句廢話,活着,當然就是當下的意識」。我不知道香港的八十後怎樣理解「活在當下」,但我就不認為這是句廢話。

陶傑的意思

外賣小食店推介:吮指王

極少寫食評。

因為:

1. 我不懂煮食

2. 又不太懂得欣賞

3. 餐餐出街食,再美味也會厭也會累

4. 只想有男人煮飯給我吃

5. 若寫下平常吃甚麼,怕變靚D會拒絕繼續sponsor我

6. 若寫下平常到哪些餐廳,怕廉署會找我問話為甚收
Continue reading...

血花四濺彭浩翔

( 原刊 AV Magazine 04-06-2010 )

人生音像城

血花四濺彭浩翔

看《維多利亞壹號》,很多女觀眾都嚇得用上掩著眼睛,但又要怕又要偷偷看,觀眾就是那麼犯賤,我覺得愈是閉眼不敢看,愈是中了導演彭浩翔的圈套,我彷彿能


Focusing on what you actually need in a program

I recently wrote a local program to do more useful job of reportingthe status of our ZFS pools. To simplify slightly, ZFS pools have anumber of flavours of redundancy; none, mirroring, RAID-5, and RAID-6(currently). However, we only use mirrored pools, so for our own usesthe program I was writing didn't need to deal with any other sort ofpool.

So of course I spent a not insignificant chunk of time making my programhandle RAID-5 and


時間,屬於我們的

時間過得太快。

這是每一個人都會感歎的金句。在大多數情況下,我們都知道不是時間在物理上太快了,而是人在感慨美好的事物總是過早消逝,就像快樂的週末假期、充實的大學生活和興奮的旅行時光,不是時間不等人,而是