Pure-Essence.Net

Archive for the ‘geeky’ Category

Mystique Theme

Posted by: pureessence on: January 9, 2010

I spent most of the day customizing the Mystique wordpress theme. The theme is ridiculously great. It has all of the features I’d ever dream of. In fact, I got rid of some of my plugins + widgets because this theme covers them. Also, the theme author uses jQuery on all of the UI effects. [...]

Java List/Array syntax

Posted by: pureessence on: December 30, 2009

Something I always forget, a shortcut array syntax for Java:

SpringMVC generic errors

Posted by: pureessence on: December 29, 2009

I was looking around the net for this. Maybe I didn’t look hard enough but I wasn’t able to find it. Finally a coworker told me. If you use the SpringMVC framework and wish to show generic validation error messages at the top of the page, here’s how you do it: Obviously if you wish [...]

log4j properties loading problem + put ivy jar on classpath in ant

Posted by: pureessence on: October 6, 2009

I learned a few new tricks recently that I thought are pretty cool. If you use apache log4j, you can get very frustrated sometimes that it does not log based on what you defined in your log4j.properties file. This is because if your java web application contains other jars that also have log4j.properties, the log4j [...]

CSS 3-column layout

Posted by: pureessence on: April 8, 2009

Saw this link getting dugg today. Despite a huge CSS fan, I have to agree with one of the comments. The fact that getting a 3 column layout in CSS is a feat of wonder is an indication that something is terribly wrong with the standard. Building this layout should be obvious, intuitive, and in [...]

MacBook Wheel

Posted by: pureessence on: January 10, 2009

Instead of VAIO, I should have gotten the MacBook Wheel. What was I thinking………

New year greeting = spyware?!

Posted by: pureessence on: January 6, 2009

I got THIS SUCKER last week at work. I haven’t gotten spyware in hmmm like 4 or 5 years. I was really embarrassed that I got it at work so I did not want to ask their IT support for help. I don’t have full admin rights on my work computer so I cannot do [...]

Got a new laptop

Posted by: pureessence on: December 27, 2008

Christmass gift for myself Sony VAIO laptop Specs processor: 2.26ghz Intel Core2 Duo display: LCD widescreen display with XBRITE-ECO technology (1600 x 900 resolution) screen size: 16.4″ system bus: 1066MHz cache memory: 3MB on die Level 2 RAM: 4GB PC2-6400 hard drive: 320gb optical drive: Double-layer DVD RW/Blu-ray Disc/CD-RW weight: 6.4 lbs

Tags: ,

Java: static declaration of collection

Posted by: pureessence on: December 17, 2008

I don’t know if this is a new feature in Java 5 that I did not know before or I just did not know this is possible in Java. But I learned today that you can do static declaration of collection types as below:

Eclipse run java code easily

Posted by: pureessence on: December 11, 2008

Eclipse has a scrapbook function that allows you to run Java code on the fly. Sometimes you just want to test out a simple piece of code without having to create another Java class, execute it in the main method or create a junit to test it out. For example, today I wanted to make [...]


My most adorable Pomeranians

Categories

Archives

SocialVibe


Follow

Get every new post delivered to your Inbox.

Join 123 other followers