2009年9月2日 星期三

I got a baby

Share my child's birth with you.

He was born on 2009/08/30 morning.

He was 3365g, 50cm.

 

To every male in this world,

Females are very great animal.

They bear huge pain then bear the babies.

 

I'd like to show my best salute to them! Red rose

2009年8月7日 星期五

How to know the code name of each Ubuntu version?

According to http://blog.websitestyle.com/index.php/2007/01/18/how-to-find-out-your-ubuntu-version-name/

1) Applications -> Accessories -> Terminal
2) Type the following at the prompt:
cat /etc/lsb-release
3) It should output something similar to mine, which looks like this:
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=6.10
DISTRIB_CODENAME=edgy
DISTRIB_DESCRIPTION="Ubuntu 6.10"

My result would be
eric@eric-asus-nb:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=8.04
DISTRIB_CODENAME=hardy
DISTRIB_DESCRIPTION="Ubuntu 8.04.3 LTS"
eric@eric-asus-nb:~$


2009年5月25日 星期一

cpio usage

Oracle usually will use the cpio format as the installation binary.

But I used to use cpio -idvm < *.cpio to extract the file .

But encountered the error

cpio: 0511-903 Out of phase!
cpio attempting to continue...

cpio: 0511-904 skipping 732944 bytes to get back in phase!
One or more files lost and the previous file is possibly corrupt!


This made me hate the cpio format.


Today I finally found the correct usage


cpio -idcmv < *.cpio


 

2009年5月8日 星期五

Remove file according to date

I always forgot the syntax.

So I decide to write it down in my Blog.

 

find . -name '<pattern>' -exec rm -f {} \;

 

find . -atime +<n day> -exec rm -f {} \;

 

 

2009年4月9日 星期四

敗犬的由來

「美麗又能幹的女人,只要過了適婚年齡還是單身,就是一隻敗犬;平庸又無能的女人,只要結婚生子,就是一隻勝犬。」─酒井順子

 「敗犬」二字頻頻出現。這當然是日本女作家酒井順子寫於2003年底的暢銷書-「敗犬的遠吠」

 

感謝Vincent的分享 ;)

2009年4月1日 星期三

How to make IE8 compatible with Oracle EBS R12

In IE8 when you access Applet form of R12 will show the following error.


Solution : Stop the XSS Filter to avoid the error