陶傑 – 讀法國大革命

中國高層在流傳法國大革命研究,其權威論著,就是十九世紀法國歷史學家托克維爾

歐洲的現代史,就是由法國大革命誕生的。我在本欄說過,不識法國大革命,無資格論政。現在更要修正:正如沒看通紅樓夢,不太有資格稱為中國知識份子,同理,不懂法國大革命,無以做一個世界公民。

法國大革命是說不完的故事,讀不完的教科書,回味不盡的激情劇。讀法國革命史透澈,能知過去未來,可悉人性思想:歷史的大海嘯爆發了,如何自處?本來是好人,為何變成了惡魔,明明是庸人,為何變成了犧牲品。法國大革命史尚可與中國歷史並讀,譬如:三國演義,曹魏篡漢,最後天下卻盡歸司馬懿。法國大革命,最後革命派也分裂而自相殘殺,卻由拿破崙「冷手執個熱煎堆」,統合大局,而且在歐洲稱帝。
Continue reading 陶傑 – 讀法國大革命

陶傑 – 海外白食史

中國遊客在澳洲掃購奶粉,又在紐西蘭跟窮人爭食慈善餐,哄動南半球。

搶買奶粉,還有當地的超市得益,但紐西蘭的慈善餐,卻是免費的,本來是招待窮人、流浪漢、酒鬼、吸毒者。中國遊客聽說有得白吃,「執輸行頭,慘過敗家」,哪裏會放過,蜂擁上去進食,當地電視台拍下此等「中國人的光輝」場面,替你免費宣傳漢唐聲威。

中國人在海外搶吃免費餐,有一段「白食史」,紐西蘭不是第一宗。英國的賭場,早在八十年代就招待中國人進場白食,因為他們豪賭,為了吸引中國人多留一陣,多輸一點,英國各地賭場請來唐人街的廚師,招待他們免費吃叉鴨飯。
Continue reading 陶傑 – 海外白食史

Drush – The command line tool for Drupal development

In Drupal development, we spend quite a lot of time on module management.

  1. Browser: Go to the module page
  2. Browser: Copy the download link
  3. Shell: Go to the sites/all/modules directory
  4. Shell: Download the module using the wget command with the copied link
  5. Shell: Extract the module by the tar command
  6. Shell: Remove the extracted archive
  7. Browser: Login to the Drupal instance and go to the module page
  8. Browser: Enable the module

 

A typical Drupal website requires about twenty modules. That means you need to repeat the above tedious steps for twenty times. Besides, you have to move your focus between the browser and the shell prompt.
Continue reading Drush – The command line tool for Drupal development

Drupal 7 – Customize Ubercart invoice email template

You can find the Ubercart invoice email template files @ sites/all/modules/ubercart/uc_order/templates. You could copy and edit the uc-order–customer.tpl.php to fit your needs but you could not select it @ E-mail customer checkout notification > Email an order invoice in Rules. This is because you have to implement the hook_uc_invoice_templates() before the new template is selectable.
Continue reading Drupal 7 – Customize Ubercart invoice email template

Dream BIG and go for it =)