All the best to all these great Turkish ppl!
Go Daddy SMTP Server URL for email relay
Recently i need to setup the SMTP relay on a Drupal website. The client uses Go Daddy as the email service provider so i just setup a new email account for the SMTP authentication.
As from what i found in the Go Daddy Support
- Outlook 2010: Setting up Email
- Outlook 2007: Setting up Email
- Using Microsoft Outlook 2003 with Your Email
The SMTP server URL is
- smtpout.secureserver.net
名言七十八
The little things, I can obey. But the big things – how we think, what we value – those you must choose yourself. You can’t let anyone – or any society – determine those for you.
Morrie Schwartz
陶傑 – 幾句真話
中國打出「第一夫人牌」,由歌星出身的第一夫人訪問俄國,官方的新華社和大陸網民極度讚美,中國網民歡呼「終於有一個拿得出去的了」,不知是什麼居心。
有點歷史視野的有識之士,都為這位美艷的第一夫人擔憂。
因為中國人十分多疑,中國的政治尤為險毒。大陸網民說「終於有一個拿得出去的了」,這句話極為奸詐。在中國人社會,一個人受到讚美,即使其本人毫無反應,或謙遜否認,他即刻已經賺取了九十九個埋伏在黑暗中的敵人。
「魔鏡,魔鏡,告訴我誰是世界上最美」,西方的白雪公主童話警告過了,何況中國有呂后砍殺戚夫人的嫉恨文化。現代的王光美女士以國家主席夫人身份外訪印尼,由於受過美國傳教士辦的輔仁大學的西方儀態訓練,風度甚好,中國老百姓曾經歡呼有一個「拿得出去」的第一夫人了,這就是說另一個第一夫人江青「拿不出去」。後來時機一成熟,江青和她的老公下令紅衛兵羞辱批鬥,幾乎將王光美判處死刑,卻沒有像處置戚夫人一樣,砍掉手足,挖去眼睛,在七孔裏灌水銀,扔下毛廁,是很大進步了。
Continue reading 陶傑 – 幾句真話
范克 – 為何中共與中國密不可分?
大中華派和本土派對六四集會的爭議,與其說是對支聯會的大會主題表示不滿,倒不如說是本土派對中共黨國一體、刁民橫行的現實進行反抗。「共產黨不是從天而降,不是從爆石爆出來的,共產黨是這塊土地長出來的,所以它一定帶有這塊土地的一些特點。這塊土地好的,或者它都有一點;這塊土地壞的,亦在它身上體現到出來。」程翔近日在一條短片中,分享他對中國人、中國跟中共的一些看法:「所以有甚麼人民,有甚麼政黨,這個理論上是正確的。」
程翔之後補充,他的這番言論,並非為共產黨開脫,只是共產黨的錯,「在於它執政的首30年,將中國人所有最劣根性的事物都發揚光大。」
中共的存在,如無中國人的支持,是不可能支撐到今日;當日被中共推翻的民國政權,如無中國人的默許,亦不可能腐敗。只是中共掌權後,發動反右、大躍進、文革,在摧毀人性、歷史、人倫道德上做得比民國政權更徹底。因為推翻民國政權的中共非常清楚,惟有將中國人徹底奴化,加深中國人的奴隸思想,才能防止自己的政權被人民推翻。
結果中國人的劣根性從泥土下被翻起來,暴露於陽光之下,令到全中國的人連區別善惡、判別好壞、理解真假的能力都失去。如同小說《1984》一樣,幾乎每個人都認同了「二加二等於五」;即使有少部份的人不認同這個說法,基於政治壓力,都必須承認答案是五,這就是中國和中國人現實的寫照。
刁民社會絕非一朝一夕就可建立。中國人孕育中共,中共利用政治手段對中國人進行洗腦,形成一個惡性循環,奴隸思想早已根深柢固。
- 中共破除迷信,為中國人另立新信仰,今日的中國人只會對金錢進行崇拜;
- 中共破壞經濟,為中國人另立發展指標,今日的中國人只會視強拆強遷為經濟發展的一環;
- 中共破壞環境,為中國人建立新的安全標準,今日的中國人絲毫不覺得環境污染、食品安全的問題將會毀滅中國和全中國人的未來。
HTML – Disable auto scaling on iPhone Safari when switching from portrait to landscape
For iPhone users, when you are viewing a website on Safari and switch the screen orientation from portrait to landscape, you will find that the content of the page will be scaled automatically to fit the screen width. This maybe a nice feature but probably not good for responsive design.
To disable the auto scaling, you can add the following meta on your HTML inside the <head> tag.
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0" />
A drawback is the above meta will disable the user scaling as well. For more information, please refer to the reference link below.
Done =)
Reference: StackOverflow – How can I disable MobileSafari’s content scalling on orientation change?
Drupal 7 – Export data using Views data export module with Drush command
Yesterday we talked about exporting data using the Views data export module.
Drupal 7 – Export view data CSV, XML, XLS by Views data export module
The module also provides a Drush command such that you can run the export command in the server which is convenient for backend integration.
The following command is stated in the project page.
- drush views-data-export [view-name] [display-id] [output-file]
Continue reading Drupal 7 – Export data using Views data export module with Drush command
Drupal 7 – Export view data CSV, XML, XLS by Views data export module
In Drupal 7, we can easily create export Views data by the Views data export module. Say, we want to export all current nodes with title and post date.
1. Download and install the module.
Continue reading Drupal 7 – Export view data CSV, XML, XLS by Views data export module
Drupal 7 – Several ways to get current URL
There are a few ways to get the current URL in Drupal 7. First, we can get the $_GET[‘q’] by the current_path() function. But it will ignore the language prefix if you are working on a multilingual site.
Examples of current_path():
- http://example.com/node/306
- returns “node/306”
- http://example.com/drupalfolder/node/306
- returns “node/306” while base_path() returns “/drupalfolder/”
- http://example.com/path/alias
- returns internal path such as “node/306” as opposed to the path alias
- http://example.com/en/path/alias
- returns internal path such as “node/306” as opposed to the path alias and language prefix is ignored
陶傑 – 女首相在遠東
劍橋大學解封前首相戴卓爾夫人三十年前訪問中國談判香港主權的經過,除了一些飲食資料,沒有什麼進一步的內幕。
戴卓爾夫人在回憶錄裏提過:對中國的鄧小平缺乏好感,覺得這個中國老人毫無教養,在會談中,鄧小平不斷向戴卓爾夫人噴二手煙,而且向痰盂裏時時吐痰。戴卓爾夫人認為鄧小平缺乏對女性的起碼禮貌,而英國的大使館人員私下展開「熱烈的爭論」:鄧小平不停的吐痰,究竟是蓄意顯示某等「天朝大國」的排場效果,還是這個人在本質上是一名歹徒(Thug)。
當然,一來英國人在清末已經見識過來訪的李鴻章在皇宮裏吐痰的中國文化,二來為了照顧中國人尊崇第二次解放了他們的「鄧公」的民族感情,當時沒有洩漏此一「機密」,但戴卓爾夫人畢竟是西方文明國家的領袖,對於鄧小平在痰涎濺落在痰盂的清脆水聲中強硬宣佈必須收回香港主權,而且出兵摧毀香港的繁榮也在所不惜,還是十分詫異,事後她說:「鄧小平這個人真殘酷(Cruel)呀。」如果知道英文的含蓄,就明白戴卓爾夫人對鄧小平,以及這個人統治的國家的觀感,相當惡劣。
Continue reading 陶傑 – 女首相在遠東