Pure-Essence.Net

Archive for the ‘geeky’ Category

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 [...]

Upside down text with CSS

Posted by: pureessence on: December 4, 2008

It’s actually possible to print text upside down using a simple CSS property and works cross-browser today. The property to use is “text-gravity” with a value of “inverse”. … and this is the result: ʇxǝʇ uʍop ǝpısdn ǝʇıɹʍ I’m really surprised to learn that so few people know about this property, and I recommend you to continue reading [...]

Custom font

Posted by: pureessence on: October 28, 2008

I saw another custom font solution today: typeface Instead of creating images or using flash just to show your site’s graphic text in the font you want, you can use typeface.js and write in plain HTML and CSS, just as if your visitors had the font installed locally. A while ago, I blogged about the [...]

jQuery may just win

Posted by: pureessence on: October 27, 2008

I’m still unhappy how I lost the jQuery battle at work. Although I’m not banned from using it but hey this is encouraging! jQuery may just win the javascript framework battle at least in the popularity category. Other frameworks are just not as user friendly IMO.

Tags:

My most adorable Pomeranians

Categories

Archives

SocialVibe


Follow

Get every new post delivered to your Inbox.