一塊破紀錄,一塊送愛心~
2008/06/11 by mclee
2008/06/11 by mclee
Posted in:
recordcup,
work
|
0
comments
|
Links to this post
|
2008/05/02 by mclee
#!/bin/sh後面就是拿 $yesdate 繼續去跑 script 需要做的事情。當然,任何人都看的出來,問題就出在上面紅字的月份上面,把 May 打錯打成 Mar 了。
mon=`date -d "-1 day" "+%m"`
if [ $mon = 01 ]; then
mon='Jan';
elif [ $mon = 02 ]; then
mon='Feb';
elif [ $mon = 03 ]; then
mon='Mar';
elif [ $mon = 04 ]; then
mon='Apr';
elif [ $mon = 05 ]; then
mon='Mar';
elif [ $mon = 06 ]; then
mon='Jun';
elif [ $mon = 07 ]; then
mon='Jul';
elif [ $mon = 08 ]; then
mon='Aug';
elif [ $mon = 09 ]; then
mon='Sep';
elif [ $mon = 10 ]; then
mon='Oct';
elif [ $mon = 11 ]; then
mon='Nov';
elif [ $mon = 12 ]; then
mon='Dec';
else exit;
fi
yesdate=`date -d "-1 day" "+%d/$mon/%Y"`
yesdate=`date -d yesterday "+%d/%b/%Y"`一行就好了。
Posted in:
mood,
thoughts,
work
|
1 comments
|
Links to this post
|
2008/04/30 by mclee
Posted in:
internet,
patent,
recordcup,
trademark,
uspto,
work
|
1 comments
|
Links to this post
|
2007/04/19 by mclee

桓公曰:「如何而害霸乎?」管仲曰:「不能知人,害霸也;知而不能任,害霸也;任而不能信,害霸也;既信而又使小人參之,害霸也。」
子路問於孔子曰:「治國何如?」孔子曰:「在於尊賢而賤不肖。」子路曰:「范中行氏尊賢而賤不肖,其亡何也?」曰:「范中行氏尊賢而不能用也,賤不肖而不能去也;賢者知其不己用而怨之,不肖者知其賤己而讎之。賢者怨之,不肖者讎之;怨讎並前,中行氏雖欲無亡,得乎?」
Posted in:
brain,
business,
enron,
knowledge,
ltcm,
management,
resources,
talent,
work,
worker,
國學
|
4
comments
|
Links to this post
|
2007/03/21 by mclee
Posted in:
absent,
ethics,
funny,
humor,
joke,
leave,
organization,
work
|
0
comments
|
Links to this post
|
Copyright 2007 | All Rights Reserved.
MistyLook made free by Web hosting Bluebook. Port to Blogger Templates by Blogcrowds