use the following CSS to disable the textarea resize.
textarea {
resize: none;
}
Done =)
use the following CSS to disable the textarea resize.
textarea {
resize: none;
}
Done =)
Hire and promote first on the basis of integrity; second, motivation; third, capacity; fourth, understanding; fifth, knowledge; and last and least, experience. Without integrity, motivation is dangerous; without motivation, capacity is impotent; without capacity, understanding is limited; without understanding, knowledge is meaningless; without knowledge, experience is blind. Experience is easy to provide and quickly put to good use by people with all the other qualities.
Dee W. Hock
To check if a string contains another string in PHP, we could use the strpos() function which return the position of the first $needle found in $haystack.
Continue reading PHP – Check if a string contains another string
中國官員罵公務員不懂做主子,歸咎說:「成也英國,敗也英國」,在香港引起廣泛的駁斥。
香港成也英國,這一點常識不必爭議。但是把收回香港之後十四年的失敗,也算在英國人頭上,惹來恥笑之聲。
英國人來香港的時候,一座荒島,幾條漁村,走的時候,留下一個光芒四射的國際都會,一百五十年來,如果中國人跟貼着珠江口岸外的這個殖民地政府,學到點點理性、法治、秩序,就不會背負上「中國人管理不好香港」的新國恥。 Continue reading 陶傑 – 背後的嘮叨
Yesterday we try to write the .properties file.
Java – Write .properties
But most of the time we would like to read them file instead. The following Class demonstrate how to write the config.properties. Continue reading Java – Read .properties
The following Class create a .properties file. Continue reading Java – Write .properties
Yesterday i talked about how to fix the Pathauto problem in multi-lingual Drupal site.
Drupal – Pathauto alias doesn’t work in different language for multilingual site @ 1
Continue reading Drupal – Pathauto alias doesn’t work in different language for multilingual site @ 2
Recently i am working for a site with 6 different languages. =.=
I found that when i create a node translation, the Automatic alias option in URL path settings does not work. Whenever i save the form, that option is unchecked. Continue reading Drupal – Pathauto alias doesn’t work in different language for multilingual site @ 1
【明報專訊】我相信,很多香港人,包括我自己,從來沒有像在過去一個禮拜般,對香港警權的乖張,如此深深厭惡過。
警權從沒有如此被厭惡
上個禮拜,副總理李克強訪港,豈料所到之處,卻恍如戒嚴,警察鐵蹄處處,特區政府惶恐得風聲鶴唳,草木皆兵,發生了近年最嚴重踐踏公民自由和知情權的一幕又一幕:
•李克強到麗港城家訪期間,一名穿「平反六四」T恤的住客,在自己家園出入時,被人強行抬走;
•社民連梁國雄的宣傳車被警方以「檢查車上是否有危險品」為由,被扣押並駛往鰂魚涌驗車中心檢驗;
•李克強到港大出席百周年校慶時,請願的學生被封殺於只能站在離會場百米以外的地方,更有學生在自己的校園內,遭外來的警員推倒及禁錮於後樓梯近1小時;
•李克強出席20場活動,開放供記者採訪的不足一半,反而由政府新聞處越俎代庖,提供官方片段,企圖以「官媒」取代傳媒,更發生過把敏感字句(如李克強責成曾蔭權有所作為)刪掉的事件;
•就是在公開採訪的場合,也諸般刁難記者,例如採訪區離會場極遠、採訪記者被肆意搜查隨身物品包括銀包和卡片、拍攝時遭阻擋鏡頭,甚至指記者若然不合作便會直接找來大貨車阻礙拍攝視線、歡迎晚宴時報名採訪的記者被安排在場外另一房間觀看直播等等。 Continue reading 蔡子強 – 門常開,除了後樓梯那道門
Add secondary group to user.