2009年12月28日 星期一

Postgraduate Study 2010

Polyu:

Health Informatics - MSc
健康信息科技理學碩士學位
(Mixed-mode) 1 Mar 10
http://www28.polyu.edu.hk/aseprospectus/jsp/prog_detail.jsp?prog_id=6124&org_id=6124&scheme_id=200914&websiteId=1&schemeId=200914&langId=1

https://www28.polyu.edu.hk/aswadm/applLogout.do


Multimedia and Entertainment Technology - MSc
多媒體科藝理學碩士學位
(Mixed-mode) 1 Mar 10


HKU:

Master of Science in Library and Information Management [MSc(LIM)]
March 9, 2009 (for September intake)
Website for Details: http://web.edu.hku.hk/programme/mlim/


CUHK:
http://www2.cuhk.edu.hk/gss/postgraduate_prospectus_tp.php

UST:
http://publish.ust.hk/univ/cal0809/calendar/main.html?btn1=btn_nav_13&btn2=&layer=&main=course/index.html

MBA/MSc(ISM) MBA/MSc in Information Systems Management dual degree program


Advanced Certificate/ Advanced Diploma in Health Informatics
醫療資訊高級證書/高級文憑
http://cyber-i.hku.hk/courses/CI63-101-00/index.html

http://hkuspace.hku.hk/web_course/show_course.php?code=1598&seq=0&start=0&no_of_course=1&parent_seq=&col=&sort=ASC&keyword=Health Informatics

2009年12月25日 星期五

乘法 video

http://hk.video.yahoo.com/video/video.html?id=68725

Example 1:
---------------------------------------------
e.g. 24 x 12 = 288 (利用劃線形式) = AB x CD

Step 1: 4x2 = 8 (AxD)
Step 2: 2x2 + 4x1 = 8 (AxD + BxC)
Step 3: 2x1 = 2 (AxC)

Answer = 288


Example 2:
---------------------------------------------
If ask "123 x 251", change the question as "251 x 123".

e.g. 251 x 123 = 30,873 (ABC x DEF)

Step 1: 1x3 = 3 (CxF)
Step 2: 5x3 + 1x2 =17 (BxF + CxE)
--> Greater than 10, then plus 1 to step 3, keep as 7
Step 3: 2x3 + 5x2 + 1x1 = 17 (AxF + BxE + CxD)
--> Greater than 10, then plus 1 to step 3, be 8
Step 4: 2x2 + 5x1 = 9 (AxE + BxD), change as zero, plus 1 to step 5
Step 5: 2x1 = 2 (AxD)

Answer = 30,873

2009年12月19日 星期六

香港小學學習字詞表

http://www.edbchinese.hk/lexlist_ch/

2009年12月5日 星期六

Career Skills

a) Communicating with third-party vendor on API and system integration.
b) Proficient with HTML/CSS, AJAX, PHP and Flash

c) Search Engine Optimization

d) Javascript, XML, HTML, CSS, JSON, and AJAX
Proficient in Javascript frameworks: Prototype, jQuery

e) Proficient in Flash and Actionscript

f) PHP, Drupal, Django, Rails sites, Python, or Ruby.
Familiarity with social networking sites and implementation of third party API's and technologies
(eg, Google maps, Facebook, Paypal, Twitter, Facebook etc)

g) AJAX Framework such as Dojo, Yahoo! UI Library, Google Web Toolkit


h) Full knowledge of SEO and SEM online marketing schemes including
Yahoo SM, Google AdWords and CPC based advertising
i) E-Commerce

j) CSS frameworks (960 grid & blueprint)
k) Joomla, Wordpress, Drupal

2009年11月28日 星期六

Playgroup

1) 香港基督教服務處 - 幼兒潛能訓練課程

幼兒樂園
-------------------------
http://test.hkcschild.edu.hk/pec/activity.php?pkey=2
2009年9月12日至11月21日(逢星期六) 下午2:00-3:15 (1歲9個月-2歲3個月兒童)

http://test.hkcschild.edu.hk/pec/activity.php?pkey=7

地址: 中國香港特區九龍尖沙咀加連威老道33號4樓403室
電話: 27316374


2) 兒童無限 - 蒙特梭利
太子蒙特梭利 / JELIC中心
(開放時間: 9:30 a.m. - 6:00 p.m.,逢星期日及公眾假期休息)
http://infinitychildren.com/c_Program.aspx

地址: 香港九龍太子彌敦道794-802號
協成行旺角廣場6樓606-607室及9樓906-907室
(地鐵太子站A出口)

電郵: info@infinitychildren.com


3) Kiddikraft 童學學習中心 (重視英語學習)
http://www.kiddikraft.com/main.html

Main Branch : 
Tel : 2338 5890
Address : G/F 107 Waterloo Road, Kowloon Tong.


4) 香港保護兒童會:
http://www.hkspc.org/newsroom/index.htm

5) Johnwing.net:
http://www.johnwing.net/clientfolder/johnwing/Library/Tree/Playgroup/playgroup_web.jpg
http://www.johnwing.net/

6) 香港小童群益會陽光家庭計劃 - 好玩幼兒樂園
龍蟠苑香港小童群益會
http://www.hkedcity.net/parent/network/activities/detail.phtml?radio_act_id=12082

2009年11月15日 星期日

劍橋英語 starter - YLE

小朋友足五歲自修考劍橋英語 starter - YLE

http://www.candidates.cambridgeesol.org/cs/Help_with_exams/Young_Learners_English/Starters

http://hk.myblog.yahoo.com/nokhimhim/index?l=f&id=11

http://www.britishcouncil.org/yle_word_list.pdf

http://www.britishcouncil.org/zh/hongkong-exams-yle.htm#what_are_the_yle_tests_zh

2009年11月7日 星期六

全港中學最新排名 ( 2007 )

http://www.maths1000.com/index.php?action=schoolranksdetail&id=6

全港中學最新排名
2007年全港中學最新排名頭227位

1 皇仁書院

2 拔萃男書院

3 拔萃女書院

4 喇沙書院

5 英皇書院

6 華仁書院(九龍)

7 瑪利諾書院

8 香港華仁書院

9 聖保羅男女中學

10 培正中學

11 聖士提反女子中學

12 聖士提反男子中學

13 伊利沙伯中學

14 嘉諾撒聖瑪利書院

15 聖保羅書院

16 聖士提反書院

17 聖若瑟英文書院

18 英華書院

19 金文泰中學

20 張祝珊英文中學

21 浸信會呂明才中學

22 嘉諾撒聖心書院

23 聖保祿學校(女)

24 荃灣官立中學

25 協恩中學

26 聖公會曾肇添中學

27 聖公會林護紀念中學

28 保良局百周年李兆忠紀念中學

29 順德聯誼總會梁銶琚中學

30 新界鄉議局元朗區中學

31 德望中學

32 趙聿紀念中學

33 元朗商會中學

34 可風中學(嗇色園主辦)

35 真光女書院

36 聖類斯中學

37 民生書院

38 九龍真光中學(女)

39 屯門官立中學

40 聖公會莫壽增會督中學

41 保良局第一張永慶中學

42 元朗公立中學

43 香港真光中學

44 銘賢書院

45 華英中學

46 聖芳濟書院(男)

47 中華宣道會陳瑞芝紀念中學

48 迦密中學

49 聖言中學

50 中華傳道會安柱中學

51 荃灣公立何傳耀紀念中學

52 保良局董玉娣中學

53 迦密柏雨中學

54 玫瑰崗學校(男女)

55 寶血會上智英文書院(女)

56 旅港開平商會中學

57 可立中學(嗇色園主辦)

58 協和書院

59 聖傑靈女子中學 (St. Catharine\'s School For Girls)

60 賽馬會體藝中學

61 佛教善德英文中學

62 荃灣聖芳濟中學

63 天主教崇德英文書院

64 王肇枝中學

65 何明華會督銀禧中學

66 天主教母佑會蕭明中學(女)

67 道教合會鄧顯紀念中學

68 聖馬可中學

69 觀塘官立中學

70 基督教中華宣道會鄭榮之中學

71 聖母無玷聖心書院

72 南屯門官立中學

73 聖母玫瑰書院(女)

74 東華三院黃笏南中學

75 聖母書院

76 聖公會林裘謀中學

77 保祿六世書院(女)

78 順德聯誼總會譚伯羽中學

79 元朗信義中學

80 瑪利曼中學

81 長沙灣天主教英文中學

82 德貞女子中學

83 陳瑞祺(喇沙)書院

84 嘉諾撒聖家(英文)書院

85 培道中學

86 銘基書院

87 五旬節林漢光中學

88 沙田培英中學

89 沙田循道衛理中學

90 沙田蘇浙公學

91 順德聯誼總會李兆基中學

92 妙法寺劉金龍中學

93 聖嘉勒女書院

94 慈幼英文學校(男)

95 香港四邑黃棣柵紀念中學

96 伍華書院

97 順利天主教中學

98 梁球芝書院(女)

99 聖安當女書院

100 聖公會白約翰會督中學

101 沐恩中學

102 東華三院甲年總理中學

103 聖公會陳融中學

104 田家炳中學

105 迦密主恩中學

106 高主教書院

107 寶血女子中學

108 蘇浙公學

109 聖公會呂明才中學

110 樹仁中學

111 基督教女青年會丘佐榮中學

112 聖羅撒學校

113 何文田官立中學

114 德愛中學

115 中華基督教會全完中學

116 仁愛堂田家炳中學

117 屯門天主教中學

118 宣道中學

119 路德會呂祥光中學

120 中華基督教會基朗中學

121 東華三院李嘉誠中學

122 將軍澳官立中學

123 香港聖瑪加利女書院(堅道)

124 佛教黃鳳翎中學

125 筲基灣官立中學

126 東華三院李潤田紀念中學

127 衛理中學

128 佛教大雄中學

129 五旬節中學

130 新法書院

131 基督教香港信義會信義中學

131 東莞工商總會劉百榮中學

133 梁文燕紀念中學(沙田)

134 東華三院馮黃鳳亭中學

135 佛教葉紀南紀念中學

136 寶安商會王沙清中學

137 聖公會鄧肇堅中學

138 聖保祿中學

139 嘉諾撒聖方濟各書院(女)

140 聖馬利亞堂中學

141 聖貞德中學(男)

142 嶺南中學

143 新會商會陳白沙紀念中學

144 瑪利諾神父教會學校

145 德雅中學

146 東華三院張明添中學

147 路德會協同中學

148 天主教南華中學

149 順德聯誼會總會胡兆熾中學

150 香島中學

151 文理書院(九龍)

152 彩虹天主教英文中學

153 聖文德書院

154 中華基督教會扶輪中學

155 慕光英文書院

156 李惠利中學

157 東華三院伍若瑜夫人紀念中學

158 樂善堂顧超文中學

159 路德會呂明才中學

160 中華基督教會何福堂書院

161 佛教梁植偉中學

162 迦密唐賓南紀念中學

163 崇真書院

164 中華基督教會基元中學

165 天水圍官立中學

166 恩主教書院

167 羅定邦中學

168 鳳溪第一中學

169 港澳信義會慕德中學

170 中華基督教青年會中學

171 明愛聖方濟各職業先修中學

172 孔聖堂中學

173 何東中學(女)

174 寶覺女子中學

175 香港中國婦女會中學

176 張掁興伉儷書院

177 聖公會李福慶中學

178 漢基國際學校

179 福建中學(小西灣)

180 嶺南衡怡紀念中學

181 聖伯多祿中學

182 嘉諾撒培德書院(女)

183 加拿大國際學校

184 培英中學

185 九龍工業學校(男)(官)

186 中聖書院

187 德仁書院

188 中華基督教會燕京書院

189 九龍塘學校英文中學部

190 英皇佐治五校

191 德蘭中學

192 鄧鏡波學校

193 賽馬會官立中學

194 耀中國際學校

195 新亞中學

196 禮賢會彭學高紀念中學

197 新民書院

198 聖公會諸聖中學

199 世界龍岡學校劉皇發中學

200 樂善堂余近卿

201 潔心林炳炎中學(女)

202 龍翔官立中學

203 聖公會聖本德中學

204 樂善堂王仲銘中學

205 地利亞修女紀念學校(協和)

206 藍田聖祿中學

207 觀塘瑪利諾書院

208 威靈頓英文中學

209 基督教聖約教會堅樂中學

210 新生命教育協會呂郭碧鳳中學

211 聖公會基孝中學

212 香港道教聯合會青松中學

213 寧波公學

214 中華基督教會基智中學

215 聖公會基孝中學

216 香港道教聯合會青松中學

217 寧波第二中學

218 天主教郭得勝中學

219 五育中學

220 佛教黃允畋中學

221 保良局胡忠中學

222 香港中國婦女會馮堯敬紀念中學

223 琤肭蚞ヴ扆|

224 聖羅撒書院

225 樂善堂楊葛小琳中學

226 中華傳道會李賢堯紀念中學

227 東華三院陳兆民中學

2009年10月23日 星期五

PC Softwares Installation List

A) Browsers:
------------
1) Internet Explorer
2) Firefox
3) Google Chrome
4) Opera
5) Mac Safari
6) Maxthon
7) Netscape

B) FTP, SSL & Text Editors:
---------------------------
1) FTP:
a) CuteFTP / CuteHTML
b) FileZilla

2) SSL:
a) SecureCRT
b) Putty
c) VNC

3) Text Editor:
a) Crimson Editor
b) UltraEdit
c) CuteHTML
d) Notepad ++


C) File Handling:
-----------------
1) FileSplit
2) WinZip
3) WinRAR
4) PPT Minimizer
5) CutePDF - convert excel into PDF
6) Extreme Thumbnail Generator
7) Eraser and Recovery
-- Sure Delete 5.11
-- Randora Recovery 2

D) MultiMedia:
--------------
1) Adobe Creative Studio:
Photoshop, ImageReady, Illustrator
Dreamweaver, Flash, Firework, FlashPaper, Flash AIR
Acrobat, Adobe Reader

Flash Applications:
SWF sothink Decompiler

Cursor / Icon Creation:
Cursorarts, IconForge7

2) Codec:
a) K-Lite Codec Pack

3) Multimedia Players:
a) Media Player Classic
b) VLC Media Player
c) RealPlayer
d) QuickTime

4) Screen Capture:
a) HyperSnap
b) SnagIT
c) Firefox Plugin: Fireshot
d) WINK - capture workflow
e) Screenshot Captor


E) Desktop Applications:
------------------------
1) Fences - http://stardock.com/products/fences/index.asp (grouping desktop shortcuts)
2) Microsoft Office
3) Google Desktop
4) Simulator : VMware workstation
5) Fonts (for Windows)


F) Downloader:
--------------
1) Foxy
2) FlashGET
3) Bittorrent

G) AntiVirus:
-------------
1) Symantec Endpoint Protection
2) MSN Virus Cleaner
3) 木馬清除大師
4) Trend Micro HijackThis 2.0.2 (clean spyware)
5) 系統清淨工具CCleaner

H) Offline Reader / Web Archive:
--------------------------------
1) Offline Explorer
2) Firefox Plugin

I) Web Development:
-------------------
1) Firefox Plugin: Firebugs, Web Developer, Tamper Data, MeasureIT
2) appserv - Apache, PHP, MYSQL
3) xampp server - Apache, PHP, MYSQL, Perl, Python
4) Microsoft Expression Web Designer

J) Monitoring:
--------------
1) CPUZ
2) HTTP Watch
3) Fiddler

K) Others:
----------
1) Microsoft AppLocale
2) 中文字速查寶典
3) FinePrint
4) Nero Burner
5) Partition Magic

2009年10月8日 星期四

HTML : set iframe background as transparent

HTML - background-color: transparent;

iFrame - allowtransparency="true"

2009年10月7日 星期三

Flash ActionScript + PHP : file upload appliaction using the FileReference API




URL : http://markshu.ca/imm/flash/tutorial/fileReference.html
AddThis Social Bookmarking Sharing Button Widget:



http://www.addthis.com/

http://www.addthis.com/bookmark.php

Cookie Handling Routines in JavaScript

These routines are not rocket science, but they do provide a complete set of easy-to-use cookie handling routines in JavaScript. You will find below demonstrations of all the routines, together with the calling sequences used.

(Session Cookies + Persistent Cookies)

The following routines are provided in the zip file:

1) Test to see if session cookies are enabled.
2) Test to see if persistent cookies are enabled.
3) Write a session cookie
4) Write a persistent cookie
5) Get value of a named cookie
6) Delete a persistent cookie

URL : http://www.braemoor.co.uk/software/cookies.shtml

2009年9月23日 星期三

JQuery : Browser Detection and Version

Demo : http://ads.sina.com.hk/demo/200909/browser_detection.html



var userAgent = navigator.userAgent.toLowerCase();

// Figure out what browser is being used
jQuery.browser = {
version: (userAgent.match( /.+(?:rv|it|ra|ie|me)[\/: ]([\d.]+)/ ) || [])[1],
chrome: /chrome/.test( userAgent ),
safari: /webkit/.test( userAgent ) && !/chrome/.test( userAgent ),
opera: /opera/.test( userAgent ),
msie: /msie/.test( userAgent ) && !/opera/.test( userAgent ),
mozilla: /mozilla/.test( userAgent ) && !/(compatible|webkit)/.test( userAgent )
};

var is_chrome = /chrome/.test( navigator.userAgent.toLowerCase() );

$(document).ready(function(){
$.each($.browser, function(i, val) {
$("
" + i + " : " + val + "
")
.appendTo(document.body);
});
});

2009年9月21日 星期一

Book : Website Optimization (O'Reilly)


By Andrew B. King
O'Reilly Media, $39.99
Pages: 367
ISBN: 0596515081 order from Amazon.com
ISBN 13: 9780596515089 Order from O'Reilly
Due: July 16, 2008





With Website Optimization Secrets you'll learn the secrets of website success, including:

a) Search engine optimization best practices
b) Pay-per-click optimization techniques
c) Real world case studies
d) How to optimize your conversion rates
e) Web page optimization tips
f) CSS optimization tricks including CSS sprites, drop down menus, and CSS shorthand
g) Ajax optimization techniques that clean your code and improve robustness
h) Advanced web tuning techniques, including HTTP compression, caching, and URI rewriting
i) Website optimization metrics to measure and progressively improve success metrics

2009年9月20日 星期日

CSS : background repeat-x


http://ads.sina.com.hk/images/ads_menu1.gif) bottom repeat-x; padding:4px;">Full Page Crazy Ad
+ Large Rectangular

2009年9月19日 星期六

Career

創新科技署 http://www.itc.gov.hk/ch/about/recruitment.htm
政府資訊科技總監辦公室 http://www.ogcio.gov.hk/chi/jobvac/cjobvac.htm
土地註冊處 http://www.landreg.gov.hk/tc/vacancy/vacancy.htm
知識產權署 http://www.ipd.gov.hk/chi/about_us/employment.htm
政府統計處 http://www.censtatd.gov.hk/about_us/vacancies_and_career_opportunities/index_tc.jsp
康樂及文化事務署 http://www.lcsd.gov.hk/b5/jobs.php

廉政公署 http://www.icac.org.hk/tc/career_in_icac/jv/index.html
電訊管理局 http://www.ofta.gov.hk/zh/vacancy/main.html
審計署 http://www.aud.gov.hk/chi/recruitment/recruit.htm
學生資助辦事處 http://www.sfaa.gov.hk/tc/job/index.htm
環境保護署 http://www.epd.gov.hk/epd/tc_chi/business_job/job_opp/vacancies.html
衛生署 http://www.dh.gov.hk/tc_chi/vacancies/vacancies.html
司法機構 http://www.judiciary.gov.hk/tc/other_info/recruit_ad.htm
市區重建局 http://www.ura.org.hk/html/c1012000t1e.html
申訴專員公署 http://www.ombudsman.gov.hk/tc/recruitment.html
地產代理監管局 http://www.eaa.org.hk/ch_jobvacancies.htm
西九文化區管理局 http://www.wkcdauthority.hk/tc/job/jobOpp.htm
投訴警方獨立監察委員會 http://www.ipcc.gov.hk/tc/job.html
建造業工人註冊管理局 http://www.cwra.org.hk/JobVacancies/crecruit.asp
香港互聯網註冊管理有限公司 https://www.hkirc.hk/company_info/vacancy.jsp?lang=zho
香港生產力促進局 http://www.hkpc.org/html/eng/job_vacancies/job_vacancy.jsp
香港交易所 http://www.hkex.com.hk/exchange/job/job.htm

香港考試及評核局 http://www.hkeaa.edu.hk/tc/career/
香港房屋協會 http://www.hkhs.com/chi/gm/recruit.asp
香港金融管理局 http://www.info.gov.hk/hkma/chi/careers/recruitment_index.htm
香港按揭證券有限公司 http://www.hkmc.com.hk/eng/ahr/thecompany/vacancy.html
香港科技園公司 http://www.hkstp.org/HKSTPC/job.jsp?lan=en&typeId=JT_01&mode=html
香港個人資料私隱專員公署 http://www.pcpd.org.hk/chinese/about/jobvacan.html
香港旅遊發展局 http://partnernet.hktb.com/pnweb/jsp/comm/index.jsp?charset=en&pageContent=/jsp/hr/recruit_list.jsp
香港學術及職業資歷評審局 http://www.hkcaavq.edu.hk/zh/about_recruit.asp
香港應用科技研究院 http://www.astri.org/en/career.php
香港藝術中心 http://www.hkac.org.hk/hkac_vacancy_en.php
香港藝術發展局 http://www.hkadc.org.hk/tc/content/web.do?page=career
香港體育學院 http://www.hksi.org.hk/hksdb/html/big5/index.jsp?pagename=c_co1_hksdbco2.html
消費者委員會 http://www2.consumer.org.hk/cc_data/admin/recruit.nsf/Frame01?OpenFrameSet
港鐵公司 https://www.mtr.com.hk/eng/career/hrms/job_display.php3
僱員再培訓局 http://www.erb.org/Corp/home/hrjob_list/zh_TW/
職業安全健康局 http://www.oshc.org.hk/tchi/about_us/career.asp
職業訓練局 http://www.vtc.edu.hk/vtc/web/template/job.jsp?fldr_id=382
醫院管理局 http://www.ha.org.hk/visitor/ha_visitor_index.asp?content_id=2010&Page=ha_browse_act_jv&lang=ENG
證券及期貨事務監察委員會 http://www.sfc.hk/sfc/html/EN/aboutsfc/employment/employment.html

2009年9月12日 星期六

Typing : typingweb.com

http://www.typingweb.com/tutor/

2009年9月10日 星期四

JavaScript: screen resolution and window width

A) Screen Resolution:

if(screen.width>1279)
{

}


B) Window Width:

document.body.clientWidth

JavaScript: Regular Expression on Domains (2 methods)

Method 1:

//-- section = 0 : index+sub-index, 1 : content --//
var section="0";
var str = document.location.href;

var url_pattern=new Array(
"^news.sina.com.hk$",
"^news.sina.com.hk/$",
"^news.sina.com.hk/index.html$",
"^/cgi-bin/nw/realtime.cgi$",
"^/cgi-bin/nw/main.cgi[?]cat=2$",
"^/cgi-bin/nw/main.cgi[?]cat=19$",
"^/cgi-bin/nw/international.cgi$",
"^/cgi-bin/nw/china.cgi$",
"^/cgi-bin/nw/main.cgi[?]cat=15$",
"^/cgi-bin/nw/main.cgi[?]cat=22$",
"^/cgi-bin/nw/main.cgi[?]cat=23$",
"^/cgi-bin/vote/index.cgi$",
"^/cgi-bin/nw/special.cgi$"
);

for(var i=0; i{
if(new RegExp(url_pattern[i]).test(str))
{
section="0";
}
else
{
section="1";
}
}

if(section=="0") {
alert("index");
}
else {
alert("content");
}



Method 2:

var as_section='ros'; //all page are ros except match the following
var as_curr_url = document.location.href;
as_curr_url= as_curr_url.replace(RegExp("^http://"+location.hostname), '');

var as_exact_match = new Array(
"/",
"/index.html",
"/cgi-bin/nw/realtime.cgi",
"/cgi-bin/nw/main.cgi?cat=2",
"/cgi-bin/nw/main.cgi?cat=19",
"/cgi-bin/nw/international.cgi",
"/cgi-bin/nw/china.cgi",
"/cgi-bin/nw/main.cgi?cat=15",
"/cgi-bin/nw/main.cgi?cat=22",
"/cgi-bin/nw/main.cgi?cat=23",
"/cgi-bin/vote/index.cgi",
"/cgi-bin/nw/special.cgi"
);

var as_pattern = new Array(
//"/test/regex.html$"
);

for ( var i = 0; i < as_exact_match.length; i++) {
if (as_exact_match[i] == as_curr_url) {
as_section='index'; break;
}
}

if (as_section == "ros"){
for ( var i = 0; i < as_pattern.length; i++) {
if (as_curr_url.match(as_pattern[i])) {
as_section='index'; break;
}
}
}

if(as_section == 'index'){
alert("index");
}else {
alert("content");
}

JavaScript: detect browser width and align layer to center

Equation:

var x = (document.body.clientWidth/2) - 364;

P.S. Banner Width (728)/ 2 = 364

Demo: http://ads.sina.com.hk/demo/200909/sample20090909_ET_exBanner4.html

2009年9月8日 星期二

神話賣家:天價難以置信 (2009-09-08)

URL : http://news.sina.com.hk/cgi-bin/nw/show.cgi/2/1/1/1257419/1.html

醉心慈善事業的鄭兆財表示,今次賣鋪做好遺囑,為三名子女打算,右為女兒鄭麗。

(綜合報道)(星島日報報道)一名低調老牌家族業主,日前沽出銅鑼灣自用老鋪址,作價一億六千萬元,三十八年間勁賺,升幅逾四百五十六倍,締造物業升值神話,昨日神話主角現身了,八十九歲的業主「鄭伯」鄭兆財,半世紀以來看着白沙道蛻變,他直言:「我覺得天價,老實說,真的難以相信這個價錢!」

鄭伯表示,當他簽署售出銅鑼灣白沙道十三號鋪位後,另有一家代理來電,說有客戶願意追價一億九千萬元,「我並不心動,老實說,我覺得這已是天價,從來沒想過以這價錢賣鋪。」他謙稱:「我的知識不豐富,但總算有人生閱歷,現時內地來了許多資金,銀行息口低,但只要加息,物業價格恐怕掉頭回落!」

他又說,該鋪位早於一九六五年承租下來,每月九百元租金,經營毛冷店及百貨公司,一九七一年業主話賣鋪,開價三十五萬元,由於志在必得,他沒還價,立即拍板,已故太太梁梅更在此地投入許多心血,本來很不捨得,但自從去年他自己大病一場,高燒不退,心想赴黃泉見太太。「不料,有中醫朋友為我檢回老命,之後,我決心要處理遺囑,才決定賣鋪。」

他續說,生意會繼續下去,毗鄰現鋪址的白沙道十五號一樓,面積一千七百方呎,毛冷店明年五月遷往該處,「那是我們舊居,近年則當貨倉儲存毛冷。」那是白沙道與恩平道單邊物業,他岳父於一九五四年以十一萬購下。

鄭家曾是典型白手興家新移民,他於一九二一年生於江蘇漣水,受過抗戰洗禮,據鄭伯引述,一九四八年攜同太太子女來港,住九龍青福華村板間房,他在工地打工,太太在家賣小食,一九五一年,工地老闆嚴雲龍及丁福明幫助他,借出五千元給他創業,承租銅鑼灣軒尼詩道五一九號經營機織冷衫公司,一九六○年擴充店面發展成巴黎百貨,一九六二年在旺角彌敦道六二八號開設分店,「當年除了機織毛衣外,還聘來上海師傳做西裝銷售到歐洲去,並售賣皮鞋毛巾等等用品。試過最旺星期日,一天營業額達二十萬元!」鄭伯回憶道。

發迹後,鄭家於九龍寶靈街及美國加州置業,並熱衷慈善事業,他最遺憾的事,是太太梁梅於八一年因食道癌病故,終年僅五十七歲,為一圓亡妻回鄉建校心願,他多年來於漣水創辦幼兒院、小學及高中,女兒鄭麗透露:「爸爸熱衷買股票,於九七年間手上二千多萬元,輸剩幾百萬元,為繼續完成學校建設,被逼賣掉加州的物業。」

鄭伯與子女也經常風塵僕僕回鄉,鄭麗續說:「因為父親要看着每筆資金到位,用得妥當,慈善事業設立委員會參與,恍如香港保良局,即使他百年歸老,仍會運作下去,過去十年捐款一億三千萬元!」

是次賣鋪所得,會如何安排?鄭麗回說不知道。老伯則幽幽地向記者透露道:「是次要顧及我的三個孩子!」

2009年9月6日 星期日

Book : Foundation XML and E4X for Flash and Flex

URL : http://www.friendsofed.com/book.html?isbn=9781430216346
http://www.friendsofed.com/download.html?isbn=1430216344



Published: 12th January 2009
ISBN-10: 1-4302-1634-4
ISBN-13: 978-1-4302-1634-6

2009年9月3日 星期四

Flash Caching - use FlashVars to pass values

Don't pass parameters to flash by query string, change it as follows.

Passing parameters by query string will made the flash not cachable. Here's an sample:
Please change from

<param name="movie" value="a.swf?s=#NAV#">

to

<param name="movie" value="a.swf" >
<PARAM NAME=FlashVars VALUE="s=#NAV#" >

2009年8月25日 星期二

Flash Local Connection

Flash Local Connection:
------------------------
http://www.ahrooga.com/2008/08/how-to-communicate-between-multiple-flash-files-with-localconnection/

http://board.flashkit.com/board/archive/index.php/t-614540.html

http://www.kirupa.com/forum/archive/index.php/t-192383.html

2009年8月19日 星期三

Windows shortcut

http://support.microsoft.com/kb/126449

http://www.seoconsultants.com/windows/key/

http://www.worldstart.com/guides/shortcuts.htm

Ctrl + F5 --> complete refresh

2009年8月18日 星期二

Flash Uninstall and Player Archive for Testing Purposes

A) How to uninstall the Adobe Flash Player plug-in and ActiveX control:
http://kb2.adobe.com/cps/141/tn_14157.html

B) Archived Flash Players available for testing purposes:
http://kb2.adobe.com/cps/142/tn_14266.html

Google AJAX API

http://code.google.com/intl/zh-TW/apis/ajax/documentation/

HTML elements and their attributes : SitePoint

HTML : http://reference.sitepoint.com/html

CSS : http://reference.sitepoint.com/css

JavaScript : http://reference.sitepoint.com/javascript

SWFObject

http://code.google.com/p/swfobject/

http://www.adobe.com/devnet/flashplayer/articles/swfobject.html

http://www.adobe.com/devnet/flashplayer/articles/alternative_content.html

Traditional publishing mechanisms for rich media content created for Adobe Flash Player often rely on the twice-cooked method to embed SWF files into HTML pages. One major drawback of this method is that it is based on old-fashioned, vendor-specific markup that doesn't comply with modern web standards and also doesn't allow you to nest fallback content inside of it.

To solve this problem, we created SWFObject 2, which offers multiple standards-friendly methods to embed rich media content into web pages. It supports the use of alternative (substitute) content to display content to people who browse the web without plug-ins, to help search engines index your content, and to point visitors to the Adobe Flash Player download page.

投資網址及股票書籍

投資網址
http://www.8nn8.com/gpsj.htm

股票書籍
http://uwants.com/viewthread.php?action=printable&tid=1542138

2009年8月15日 星期六

Kindergarten

Part A: 鑽石山 / 黃大仙

1) 香港靈糧堂幼稚園
http://www.lingliang.org.hk/
鑽石山龍蟠街三號星河明居二樓平台
電話:2955 9797
開始接受申請日期: Aug 17

2) 張祝珊幼兒園幼稚園
http://www.ccsn.edu.hk
電話:2327 3317

3) 保良局金卿幼稚園
http://www.plkkhkg.edu.hk/home.php
電話:2322 0133

4) 基督教香港崇真會安強幼兒學校
http://www.ttmssd.org/Child/OK/ok.php
電話:2321 0580

5) 聖母幼稚園
http://www.olk.edu.hk/home.html
電話:2320 7544
開始派表日期: 2009年11月03日

Part B: 九龍城 / 九龍塘

1) 香港創價幼稚園
http://www.soka.edu.hk/
電話:2336 6090
開始接受申請日期: 2009年10月1日

2) 迦南幼稚園
http://www.cannan.edu.hk/
http://www.cannan.edu.hk/enrolment/enrolment_frame.html
http://www.cannan.edu.hk/pdf/application_form.pdf
a) 九龍迦南中英文幼稚園 -- 九龍城嘉林邊道28號B地下 2336-2096
b) 迦南幼稚園(九龍塘) -- 九龍塘金巴倫道9-11號 2338-3262
c) 迦南幼稚園(窩打老道) -- 九龍塘窩打老道111號 2336-0006
開始接受申請日期: 2009年9月7日

3) 基督教中心幼稚園暨幼兒園
http://www.cyckg.edu.hk
電話:2337 0072

4) 又一村學校(幼稚園)
http://www.yycskg.edu.hk/
地址:又一村壽菊路2號
電話:2381 2949

5) 九龍禮賢學校暨幼稚園
http://krs.school.hk/~kindergarten/
地址:九龍 又一村 石竹路 2號A
電話:2380 3936
開始接受交表日期: 2009年10月28日

6) 民生書院幼稚園
http://munsang.edu.hk/kindergarten/
地址:九龍城東寶庭道八號
電話:3655 3500
截止日期:2009年11月7日(星期六)

7) 德信幼稚園
地址:九龍柯士甸道103號
電話:2724 1674
http://www.taksunkg.edu.hk/index.do

8) 啟思幼稚園幼兒園(九龍塘正校)
地址:九龍九龍塘律倫街6號地下
http://www.creative.edu.hk/school-recruit.html

9) 香港培正小學幼稚園
地址:九龍九龍城窩打老道80號
http://www.pcps.edu.hk/2008kindergarten/kindergarten.html

10) 聖羅撒幼稚園
地址 : 九龍界限街104A號地下
http://www.roselima.edu.hk

11) 崇真小學暨幼稚園
電話:2777 3679
地址 : 九龍大埔道五十八號
http://www.ttpskg.edu.hk/chi/51k.htm


學校搜尋:
http://www.edb.gov.hk/index.aspx?langno=2&nodeid=510

http://kgp.proj.hkedcity.net/chi/parser.php?file=chi/search.htm&district_id=5&sch_type=Non-profit-making&voucher=Yes&sch_name=

http://www.edu-kingdom.com/custompage/edu/kinder_list.php

2009年8月8日 星期六

Perl : A perl script to execute another perl

system("2.pl");

Perl : To compare two files and print differences between them

#!/usr/bin/perl -W

open F1, "< FileA.txt";
open F2, "< FileB.txt";

my %hash1;
my %hash2;

while () { $hash1{$_} = 1; }
while () { $hash2{$_} = 1; }

print "words are in FileA but not in FileB are:\n";
foreach (keys %hash1) { print if !defined($hash2{$_}); }

print "words are in FileB but not in FileA are:\n";
foreach (keys %hash2) { print if !defined($hash1{$_}); }

close F1;
close F2;

2009年8月5日 星期三

IT Skills

Certified Information Security Manager (CISM) certification, CISSP
Solaris UNIX, LPI, Apache,
PHP, JSP, JavaScript, XML
MS SQL Server, Oracle, MySQL
Crystal Report
Flash, Actionscript

2009年7月12日 星期日

2009年7月6日 星期一

香港基督教服務處 - 幼兒潛能訓練課程

http://test.hkcschild.edu.hk/pec/activity.php?pkey=7


幼兒樂園
-------------------------
http://test.hkcschild.edu.hk/pec/activity.php?pkey=2
2009年9月12日至11月21日(逢星期六) 下午2:00-3:15 (1歲9個月-2歲3個月兒童)

地址: 中國香港特區九龍尖沙咀加連威老道33號4樓403室
電話: 27316374