Posted by: pureessence on: May 25, 2011
It’s always annoying when you do a search (ctrl+h) in Eclipse and it produces results from directories you do not care about. In my particular case, the project’s ant build expands the built war files into a directory named target. Since this directory duplicates the files in the regular WebContent directory, often times I end [...]
Posted by: pureessence on: May 23, 2011
So the schedule is in. We will be in Las Vegas from May 27th – June 3rd. Things we will be doing meeting the LV cabbie in person. Yay! I’ve been reading his blog for a long time. I’m so excited to meet him. going to the Hoover Dam. going to the Ron White standup. [...]
Posted by: pureessence on: May 21, 2011
I’m just went through all of my 10 years of posts on pure-essence.net one by one to correct its syntax so I can use this super awesome sourcecode shortcode on wordpress.com. Yea I know I’m crazily obsessed with my blog. Sentiment from going through all of my posts I’m proud that my oriental wordpress theme [...]
Posted by: pureessence on: May 20, 2011
Now hosted on wordpress.com with the domain mapping upgrade and custom CSS upgrade. Based on the support they provided, I really hope the guys here would know a lot more about wordpress hosting than my last generic web hosting company and I will have less headaches dealing with all of the down time. I’m just [...]
Posted by: pureessence on: May 18, 2011
A coworker and I were chatting regarding spring rowMappers and I did a little more research and found the following: Spring’s simpleJdbcTemplate deprecated methods with parameterizedRowMapper in spring 3. The class ParameterizedRowMapper is not deprecated. Spring’s jdbcTemplate however only has methods that take RowMapper<T> so it will continue to work with parameterizedRowMapper. But it seems [...]
Posted by: pureessence on: May 12, 2011
If you have a strange requirement in the rowMapper to check if a column exists or not, you could try to catch a SQLException of invalid column name or you could try:
Posted by: pureessence on: May 1, 2011
我知道我这样说最终会让别人误会。我现在的感受好似徐怀钰的那首《爱像一场重感冒》。不但像,要走时我还真生了一场重感冒 。如果说ISL是一场三个月的恋爱真不算夸张。我现在像刚和男友说了分手般心酸。人一生的感情真是微妙。事业和爱情原来可以相提并论。事业上的爱恨情仇也是可以刻骨铭心的。 分了或走了,甜蜜回忆却上心头。英语因该说是bittersweet。我知道雨过天晴后留下会是美好。一番人生体验。学习到了新的技术。交了好些新朋友。 哦,ISL,虽然我们未能一起走到最后。我会常常想念你。像想念我的初恋男友一样。 在这我留给读者在我脑中的歌词。 徐怀钰 《爱像一场重感冒》 词:姚若龙 曲:Eric Lee 写了封信给你 好像依依不舍 刚寄出去马上又后悔了 多希望邮差能把地址看错 或是弄丢了 因为你是真的 和别人不一样 不然我不会那么感伤 但是我已爱到不能爱 让到不能让 还能怎样 不如倔强 倒数三秒 我会开始努力把你忘掉 有时候爱情就像是一场重感冒 等烧退了就好 找一天将心情当房子好好地打扫 我喜欢每次丢掉多馀的东西 那种轻松美好
Eclipse 3.6 toggle comment findings
Posted by: pureessence on: May 20, 2011
Despite of the usual convention of using ctrl+/, I found ctrl+shift+c is actually the way to go if you want it to work on everything. I care mostly about being able to toggle comment in the following file types: source code – comment with // or /* and */ block markup e.g. xml/html – comment [...]