陶傑 – 是非

女教師說英語粗口,事情的道德是非在哪裏?許多人說:「她用髒話『駡警察』是不對的。」問題是,現在事情已經超過了「駡警察」這個環節,升級為政治暴力的欺凌。

北韓一個年輕的女歌唱家玄松月槍斃,陪死的還有幾個藝術團的音樂家,他們的罪名是拍攝色情影片。

拍色情片,在北韓的「國情」之中,是不道德的,但應否罪至槍決?跟香港這個女教師的處境一樣。今天,在文明世界,沒有人再譴責玄松月散播色情,「教壞下一代」,只會為這樣一個弱女子因此而喪命,寄予同情。但是在北韓,玄松月受「國法」懲處,罪至一死,完全正常。

香港這個女教師,處境漸與北韓那個歌星相同。「重案組」調查,特首親自介入,教育局寫報告,流氓到她任教的學校門口叫囂,收到死亡恐嚇信,她可以尋求美國庇護,因為此等反應,在英語的思維世界誰都會知道,夾雜着仇恨與對婦女的鄙視,超出了正常合理的程度,叫做Over the top。
Continue reading 陶傑 – 是非

名言八十三

現在香港言論說話的人慢慢自我控制,不是別人控制你,你要迎合大勢力,怕得罪他,怕自己的利益受損,那就會越來越控制自己,不用別人給你洗腦,你自己自我洗腦,而香港有這個危險性,開始一個自我洗腦的過程。

如果我這句話對香港人有意義,這句話我是要說的。

余英時

余英時 – 傑出華人系列

Apache – Enable Cross-origin resource sharing CORS

Long time ago, we talked about using JSONP to tackle to cross domain ajax issue.
jQuery & JSON – Make Cross Domain Request Using jQuery.getJSON() with JSONP

But this requires server side coding. If you are allow to edit the Apache config, you can simply Enable the CORS (Cross-origin resource sharing) in the VirtualHost file as follow.

1. Enable the mod_headers in Apache by entering the following command in shell.

a2enmod headers

Continue reading Apache – Enable Cross-origin resource sharing CORS

Composer – Manage your PHP dependencies

Mess up with the PHP dependencies in different environments? Composer is a PHP dependency manager where all the dependencies information are stored in the JSON file called composer.json. Similar to the pom.xml if you are using Maven in Java.

This example is done on a Windows machine. You could refer to Composer website if you are using Mac or Linux.

1. Download and install the Composer as stated in the Composer website.
Continue reading Composer – Manage your PHP dependencies

陶傑 – 不可比較

特區「行政會議」出現大幅面積潰爛跡象,社會有識之士,包括立法會主席,都指出殖民地時代的「港督會同行政局」,形象權威,都比現在什麼「當家作主」的好得多。

特區「行政會議」的局中人,自然有點不舒服。有人不服氣,說:行政會議不可以與從前「港英」的行政局比較。

為什麼不可以比較?三十年前中國的鄧小平宣布收回香港主權的時候,就豪氣干雲地邀請香港人將來多比較:「英國人做得到的,中國人也能做到,而且比英國人做得更好。」鄧小平很有自信,他叫香港人,「放長雙眼」,等着比較吧,中國主權下的香港,一定比英治時期,樣樣更好。

現在,有的人有點心慌了,說:「行政會議不可與『港英』的行政局比較」。這是典型的中國式賴皮,當中國人擁有了原子彈,他叫你跟尚未有原子彈的民國時代比較,因為如此比較,你會覺得「自豪」。但是當「毛主席」用極端的仇恨砸毀中國的精緻文化,反而國民政府的蔣中正,與殖民地時代的英國人,對中國文化更為推崇和包容,賴皮的中國人就會說:這樣的比較不公平,因為「毛主席」在「探索」他的國家的未來,而在「探索」的過程,難免會犯上一點點「錯誤」,只要「總結錯誤」就好。
Continue reading 陶傑 – 不可比較

陶傑 – 歷史文化

梁班子又爆出「張震遠事件」,特區香港的「行政會議」,十六年來,由「中國人當家作主」,砸毀得七七八八,今日成為笑話集中營。

正如特區的「大紫荊勳章」是抄襲自英國人的皇室授勳制,「行政會議」也是全盤模仿英國殖民地的行政局。但是無一例外,種種抄襲仿模英國人的中國式山寨版,正如成龍大哥說的:「中國製造的電視機會爆炸」,都無不例外地以失敗告終。

英國殖民地的行政局,是很莊嚴的管治高層。「港督會同行政局」,由於「港督」在先,行政局多半是從殖民地的土著中選拔開化了的精英來昇任,因此英國人對於土著的選拔,打醒十二分精神。
徹查三代基因,了解半生品格,英國人絕對不會選錯半個爛果子,以免「港督」這塊名牌被你連累,因為港督直屬英女皇。
Continue reading 陶傑 – 歷史文化

Git – Ignore some folders and files in the current working copy

We can always use the .gitignore to exclude files which we do not want to check in into the repository. But sometimes the repository is only read only and you dun want your files to be appeared in the git status command. A simple solution to exclude those files in your current working copy. This could be done by editing the .git/info/exclude. Here is an example for my Drupal 8 installation.

.git/info/exclude
Continue reading Git – Ignore some folders and files in the current working copy

Dream BIG and go for it =)