香港人,你知道投票的意義嗎?
選舉對有些人o黎講可能係一個政治Show…
“d 候選人,講就無敵,做就無能為力。”
“佢地為o左選票,無所不用其極,到最後咪有係為o左自己利益。”
“開頭話50%投票率就係公投成功,而家又話30%,你講哂啦。”
“無一個真係為香港人做野,投票都冇意思。”
會講上面說話的人,當然不會去投票,甚至無去登記做選民。我相信造成這個現象的其中一個原因同香港的公民教育有關,運用第一因論證: Continue reading 香港人,你知道投票的意義嗎?
香港人,你知道投票的意義嗎?
選舉對有些人o黎講可能係一個政治Show…
“d 候選人,講就無敵,做就無能為力。”
“佢地為o左選票,無所不用其極,到最後咪有係為o左自己利益。”
“開頭話50%投票率就係公投成功,而家又話30%,你講哂啦。”
“無一個真係為香港人做野,投票都冇意思。”
會講上面說話的人,當然不會去投票,甚至無去登記做選民。我相信造成這個現象的其中一個原因同香港的公民教育有關,運用第一因論證: Continue reading 香港人,你知道投票的意義嗎?
Recently i am working on XSLT.
i got an xsl_variable which can be retrieved by <xsl:value-of select=”./xsl_variable” /> in the .xsl. i would like to pass this variable to a Javascript function called popup() inside the <a href>.
Continue reading XSLT – Using XSL Variable inside <a href>
When you have modified the database during the iPhone Application Development, you have to remove the application in the iPhone Simulator so as to remove the outdated database. Then build and run you latest code and that will apply the new database to the iPhone Simulator.
Continue reading iPhone – Delete Database Cache in iPhone Simulator
Adding an application icon to your iPhone Application is simple and straight forward except you need to pay attention to the following few notes before you start working on the your app icon.
Continue reading iPhone – Add The Application Icon
In Java JPA, you can define composite keys of using the @EmbeddedId annotation. For example, you have a table called contact and you want to use the columns firstname and lastname as the composite keys.
Continue reading Java JPA – Using Composite Keys
There is nothing so easy but that it becomes difficult when you do it reluctantly.
Pythagoras
If you want to copy a Maven project dependency to a specific location, the maven-dependency-plugin could help.
For example. if you want to copy the log4j-1.2.15.jar to the project target folder during mvn install. you can use the following piece of code.
Continue reading Maven – Copy A Dependency
At the age of seven, a young boy and his family were forced out of their home. The boy had to work to support his family. At the age of nine, his mother passed away. When he grew up, the young man was keen to go to law school, but had no education.
At 22, he lost his job as a store clerk. At 23, he ran for state legislature and lost. The same year, he went into business. It failed, leaving him with a debt that took him 17 years to repay. At 27, he had a nervous breakdown.
Continue reading Failure Is The Mother Of Success
Update @ 2012-11-10: This solution in this post is outdated. please refer to the comment made by Jonny for the solution in iOS 6.
When you try to use the UIKeyboardTypeNumberPad for a UITextField, you will release that there is no return key and so the UIKeyboardTypeNumberPad cannot be dismissed.
Luckily, i find out a very good article which talk about the solution of the missing return key. It makes use of the NSNotification and NSNotificationCenter such that a DONE button image will pasted on the bottom left of the UIKeyboardTypeNumberPad. Here is the code for returning from the number pad after editing a UITextField.
*Update on 2010-09-11: The approach does not work in iOS SDK >= 4.0. if your are using 4.0, you can take a look at iPhone – Add the Return Key for UIKeyboardTypeNumberPad in iPhone SDK 4.
Continue reading iPhone – Add the Return Key for UIKeyboardTypeNumberPad