Archive for November, 2009

SCJP 任務達成!

挨左幾日, 終於攪掂了… 放心晒…

No Comments

以銅為鏡,可以正衣冠。以古為鏡,可以知興替。以人為鏡,可以明得失。

唐太宗李世民說的

魏徵看到該說的就說,從不畏懼。他的膽識和卓見,為“貞觀之治”作出了不可磨滅的貢獻。魏徵病逝時,太宗親臨痛哭,並罷朝舉哀五日,後來太宗臨朝時流著淚對羣臣說:“以銅為鏡,可以正衣冠。以古為鏡,可以知興替。以人為鏡,可以明得失。朕當常保此三鏡,以防己過。今魏徵殂逝,朕遂亡一鏡矣!”

No Comments

magic…

PB280338

No Comments

Introduction to the Spring Framework

Introduction to the Spring Framework

No Comments

三年又三年

umum… 都唔記得寫blog…

十一月十一號… 又3年喇…
同老婆仔係埋左一齊3年 good~

今年老婆有花收喎… 好似好開心咁喎… hehe…

跟住又去左中環食晚飯, sweet~~

http://www.openrice.com/restaurant/sr2.htm?shopid=18854

P1030717

P1030741

P1030750

No Comments

Handling 2 Projects in Java

Let’s say you’re working on Project1, which is your main TiVo app.  You want to create a second project, Project2, that maybe has a piece of functionality you want to work on (or maybe have someone else work on) but you want to use it in your main app.

  • If both Project1 and Project2 are in your Eclipse workspace, simply select Project1, right-click it and do ‘Properties’, then ‘Java Build Path’.  Click the ‘Projects’ tab, then add ‘Project2’.  Now you may use any Project2 classes in Project1.
  • To simplify things, you can create a JAR file out of Project2, then reference it externally from Project1.  Once the Project2 JAR is created, you can add a reference to it in Project1.  Select Project1, right-click it and do ‘Properties’, then ‘Java Build Path’.  Click the ‘Libraries’ tab, then ‘Add External JARs…’  Add the Project2 JAR file.
  • You may also choose to go one step further and actually make Project2’s JAR file a part of Project1.  One way to do this is to make a new folder in Project1 called ‘lib’ (right click the project, do ‘New – Folder’).  Then, drag Project2’s JAR file onto that ‘lib’ folder in Eclipse’s Package Explorer.  The JAR will be copied into the project.  Then, right-click on Project1, do ‘Properties’, then ‘Java Build Path’.  Click the ‘Libraries’ tab, then ‘Add JARs…’  Add the JAR file from the ‘lib’ directory.

,

No Comments

PHOTOSHOP 模擬移軸鏡攝影效果

PHOTOSHOP 模擬移軸鏡攝影效果

No Comments