geeky · non php code

CSS Positions

A coworker asked me about CSS positions. I admit I’m no expert in this topic. However, I want to illustrate my brief understanding. Maybe you will find them helpful. Position: static Default, you don’t have to set it. Position: relative It’s like a ghost image. Setting the corresponding properties of top, left, right, or bottom… Continue reading CSS Positions

chinese · personal

幸福是什么感觉

幸福是什么?其实幸福没有绝对的答案,关键在于你的生活态度。善于抓住幸福的人才懂得什么是幸福。一直以为感受幸福是件很困难的事,那是一种灯火阑珊处的境界。经过岁月的流年以后,才明白,幸福其实很简单,只要心灵有所满足、有所慰藉就是幸福。 幸福就是一种满足感。 健康的活着就是一种莫大的幸福!! 幸福无处不在 只要用心细细体会 你就能感觉到。

geeky · personal · rants

Daily wtf Watson story: Active Directory

A coworker of my husband’s, let’s call him Watson, has some interesting ways of dealing with situations. As a system administrator, he has unique powers. Two days ago my husband received a support ticket regarding a temporary employee unable to log into her machine. My husband updated her password and verified and he could log… Continue reading Daily wtf Watson story: Active Directory

geeky · non php code

jQuery read only elements

There is a business requirement on a project I have at work to only allow a certain number of properties editable at a certain stage of the domain object’s life cycle. And like always, the properties defined to be editable could change in the future. I already have a page that allows the user to… Continue reading jQuery read only elements

geeky

jQuery.each vs Javascript for loop

Being a big jQuery fan, I use jQuery.each method a lot in my Javascript code. Until recently I didn’t think too hard what jQuery.each really is. Its description says it’s an iterator but it certainly is NOT a true iterator. For example: Let me know what you expect the code below to return. Before I… Continue reading jQuery.each vs Javascript for loop

geeky · java · plug

2011 nfjs Central Iowa Software Symposium

My survey responses to the 2011 nfjs Central Iowa Software Symposium event for my company. Benefits to you and the company from attending this event: Keep up to date regarding the current technologies and development in the Java community. Information that your co-workers / the company should be aware of: Functional programming is making a… Continue reading 2011 nfjs Central Iowa Software Symposium

geeky · non php code

QUnit – test your javascript

After over ten years of javascript programming, I’m finally seriously considering writing at least unit tests for my javascript. Since I’m such a big fan of jQuery, QUnit seems like the obvious choice. It’s sad but better late than never. The truth is, in my opinion, the fact that javascript test frameworks do not yet… Continue reading QUnit – test your javascript

chinese · love n family · personal · rants

My father’s Gui Lin experience

Gui Lin (Chinese: 桂林; pinyin: Guìlín;) is a prefecture-level city in China, situated in the northeast of the Guangxi Zhuang Autonomous Region on the west bank of the Li River. Its name means “forest of Sweet Osmanthus”, owing to the large number of fragrant Sweet Osmanthus trees located in the city. The city has long… Continue reading My father’s Gui Lin experience

geeky · java

SPEL! I conquered you on a Friday!

Today is my first attempt at using SPEL. After a mighty struggle, I was able to conquer it! Background: I needed a year variable for some work on a jsp page. It’s not always defined. I know for our routable datasource, a default year is required in order for it to work. I wanted to… Continue reading SPEL! I conquered you on a Friday!

freebies · plug · recipes

Andy’s meatball recipe

My husband Andy made these meatballs last night. They were soooooo good. I had to share the recipe since it’s his ORIGINAL creation with inspiration from Robert Irvine. Ingredients ½ lb Ground Beef ½ lb Ground Pork 1 Bratwurst Patty (approx. 1/3 lb ground bratwurst) 1 cup panko bread crumbs 2 eggs ½ cup fresh… Continue reading Andy’s meatball recipe