A minority may be right, and a majority is always wrong.
Henrik Ibsen
A minority may be right, and a majority is always wrong.
Henrik Ibsen
The Ubuntu Tweak provides some desktop and systems configuration options which the default Ubuntu settings does not provide.

Continue reading Ubuntu Tweak – The must have configuration tools for Ubuntu
New Relic supports the following list of PHP frameworks.
If you are monitoring a Drupal website, you will find the module tab on the Application menu.

Continue reading New Relic – Enable Drupal module monitoring
If you follow the New Relic instruction to setup the daemon. You will get all web applications as a single New Relic App named as PHP Application in the New Relic application console.
So how could we setup multiple New Relic Apps for different virtual hosts in Apache? Here you are.
1. Make sure you have enabled the Apache php5 module. If it is not enabled, enable it by the following command with root privilege.
a2enmod php5
Continue reading New Relic – Monitor multiple web applications or virtual hosts
「飛魚」費斯在幾次奧運已共獲獎牌21面。早幾天他在拿到生涯第17面金牌時,廣播員高呼「他是歷來最偉大的運動員嗎」。國際奧委會主席羅格說,至少他是最偉大運動員之一,但偉大不能單靠獎牌來衡量。
美國人普遍認為,1936年在柏林奧運會上奪得四面田徑金牌的黑人運動員歐文斯(Jesse Owens)是最偉大的運動員,不僅因為他迭創紀錄,更因為他以驚人的成績有力地反擊了希特勒的種族歧視,使全世界愛好和平的人民深受鼓舞。
但在我心中,最偉大的運動員是在柏林奧運挑戰歐文斯的德國運動員魯茲.朗(Luz Long)。在跳遠項目中,他奪標呼聲最高,賽前希特勒接見他,鼓勵他要擊敗歐文斯。初賽時,歐文斯跳兩次都違規,第三次若達不到標準就要出局了。這時,魯茲.朗走到他身邊,教他一個小訣竅,就是把毛巾放在起跳板數英寸處,就肯定不會犯規和進入決賽了。歐文斯照做,進入決賽。決賽中,魯茲.朗以7.87米平了世界紀錄,歐文斯以8.06米贏了他。貴賓席上希特勒臉色鐵青,看台上的觀眾倏忽沉靜。場中,魯茲.朗跑到歐文斯站的地方,舉起他的手高聲喊:「歐文斯!歐文斯!」歐文斯隨即舉起魯茲.朗的手,聲嘶力竭地喊:「魯茲.朗!魯茲.朗!」>
在德國全民被希特勒國家主義麻醉的社會氣氛下,魯茲.朗堅持運動員精神而不顧納粹強權和全民「愛國」的群情。柏林奧運會結束不久,他就被送上了北非戰場。他死在一個簡陋的戰地醫院,和他同時代的德國人不理解他,後來的人則因他的德軍士兵身份絕少提起他。他不是成功者,卻是歷史上最偉大的運動員。
李怡
2012-08-05
Reference: 最偉大的運動員
「國民教育」搞成這樣的爛攤開局,如果我是中國領導人,一定拍桌子。
為中國評好化妝,不是不可以,但不可以這樣拙劣。「團結、無私、進步」,這等偏激的形容詞,今天的中國政府也不好意思採用,因為它不是儍瓜,知道這樣子一公佈,必全國百姓暗自哄笑,只會有反效果。
國民教育一定要有一個道德基礎。譬如美國,人家開國二百年,華盛頓、傑佛遜、富蘭克林,一群國父已經把人權、平等、自由寫進開國的憲章。愛美國,即是愛此一憲章,同時也是愛自由和民主,這樣下來,連氣同枝,一脈下來,人家的愛國精神,就不討厭。
美國歷任總統沒有哪一個說要「開發阿拉斯加」,然後把那裏的石油開採權批給自己的兒子,再讓老婆那邊的小姨子當經理的銀行,提供空手道式的貸款。美國人愛國,愛憲法保障的人權精神,絕不是愛哪一個總統和他的子女。
Continue reading 陶傑 – 美國人的教育
If you are a long time Windows user, the Ubuntu default graphical user interface which has the launcher on the left hand side may be a bit unfamiliar to you.

Continue reading Cinnamon – Windows-like start menu on Ubuntu
The EntityFieldQuery is not limited to node, it can be used to retrieve any entity types in Drupal 7. Here comes an example about getting taxonomy terms with EntityFieldQuery.
I would like to retrieve all terms with of a specific vocabulary which has vid = 1 with the descending weight order.
Continue reading Drupal 7 – Get taxonomy terms by EntityFieldQuery
We tried to get specific nodes using EntityFieldQuery.
Drupal 7 – Get specific nodes using EntityFieldQuery
It returns a list of node ids which fulfill the query conditions. The next step is usually the retrieval of the nodes by the node ids. This can be done by the following example using node_load_multiple().
Continue reading Drupal 7 – Get mulitple nodes using EntityFieldQuery and node_load_multiple()
北京之旅的最後一天,今天遊覽的是故宮。明永樂元年(1403年)明成祖朱棣詔改由南京應天府遷都燕京順天府,燕京的皇宮就是今天的故宮,又叫紫禁城。
乘地鐵到天安門東站,出站就走兩步便可看見看天安門。從前的北京京城由外至內分為外城、內城與皇城,天安門就是皇城的南門,也就是明朝的承天之門。以下兩幅圖(改自Wikipedia)展示了內外城的各門與明清時期皇城的大門。

Continue reading 2011 – Beijing 北京之旅 @ 5