2010年6月9日 星期三

WINE - LOVE VIGILANTES

Oh' I'v just come
噢,我正好來自

From the land of the sun
豔陽的國度裡

From a war that must be won
來自那場我們必得勝出的戰役

In the name of truth
以真理之名

With our soldiers so brave
將士們英勇無懼

your freedom we will save
你的自由讓我們來援濟

With our rifles and grenades
以我們的槍林彈雨

And some help from God
還有一點上帝賜予的運氣

I want to see my family
我想探視我的家庭

My wife and child waiting for me
我的妻兒正等著我回去

I've got to go home
我必須回家去

I've been so alone, you see
如你所見,我是如此孤寂

You just can't believe
你絕對無法相信

The joy I did receive
我有多麼欣喜

When I finally got my leave
當我終於獲准離去

And I was going home
於是我回家去

Oh I flew through the sky
噢,我飛越了天際

my convictions could not lie
我的信心堅定、毫不懷疑

For my country I would die
為了祖國我能犧牲自己

And I will see it soon
而我就要見到他們了,立即

I want to see my family
我想探視我的家庭

My wife and child waiting for me
我的妻兒正等著我回去

I've got to go home
我必須回家去

I've been so alone, you see
如你所見,我是如此孤寂

When I walked through the door
當我跨越了門檻

My wife she lay upon the floor
看見我的妻子倒臥在地上哭泣

And with tears her eyes were sore
她的雙眼盈滿了眼淚與悲淒

I did not know why
我卻不明所以

Then I looked into her hand
直到我看見她手裡

And I saw the telegram
她手裡的那張電訊

That said that I was a brave, brave man
那上面說,我是如此英勇無敵

But that I was dead
但也告知了我已死去

I want to see my family
我想探視我的家庭

My wife and child waiting for me
我的妻兒正在等著我回去

I've got to go home
我必須回家去

I've been so alone, you see
如你所見,我是如此孤寂

I want to see my family
我想探視我的家庭

My wife and child waiting for me
我的妻兒正在等著我回去

I've got to go home
我必須回家去

I've been so alone, you see
如你所見,我是如此孤寂

2010年6月1日 星期二

賈伯斯佳言錄

I didn't see it then, but it turned out that getting fired from Apple was the best thing that could have ever happened to me. The heaviness of being successful was replaced by the lightness of being a beginner again, less sure about everything. It freed me to enter one of the most creative periods of my life.
我當時並未察覺,不過被蘋果炒魷魚後來成為我人生中最佳的遭遇。重新創業的輕盈取代了持盈守城的重擔,所有事情都多了一些迴旋的空間,讓我進入人生中最具創作的階段。


I'm convinced that the only thing that kept me going was that I loved what I did. You've got to find what you love. And that is as true for your work as it is for your lovers.
我確信唯一能讓我繼續下去的理由就是喜愛自己所做的事情。所以各位必須找到自己所愛,對工作和愛情都適用。

Your time is limited, so don't waste it living someone else's life. Don't be trapped by dogma — which is living with the results of other people's thinking. Don't let the noise of others' opinions drown out your own inner voice. And most important, have the courage to follow your heart and intuition.
各位的時間有限,所以別浪費時間為別人而活。別給教條困住,活在別人的定論裡。不要讓旁人的雜音淹沒了自己內在的聲音,最重要的是,勇敢追隨自己的心靈與直覺。

Stay hungry. Stay foolish.
永遠求知若渴,別怕被笑傻瓜

2010年5月30日 星期日

arg & arg max

if s = {0,1,2},f(s=0) = 5 ; f(s=1) = 20 ; f(s=2) = 8
y = max f(s) = 20
y = arg max f(s) = 1

2010年5月24日 星期一

How to setup Subversion

1. Install Apache
Download Apache2.2.X (httpd-2.2.15-win32-src-r2.zip from) from http://httpd.apache.org

2. Install Subversion
Download SVN1.6.4 upper (Setup-Subversion-1.6.6.msi) from http://subversion.tigris.org/servlets/ProjectDocumentList?folderID=8100&expandFolder=8100&folderID=91

3. Copy Files
Copy mod_dav_svn.so, mod_authz_svn.so libdb4X.dll、libeay32.dll and ssleay32.dll from Subversion/bin/ to Apache2.2/manual/

4. Enviroment Variable
Add svn path in %PATH%, such as .....;D:\svnrepos\bin;

5. Config httpd.conf
[Remove]: #
#LoadModule dav_module modules/mod_dav.so --> LoadModule dav_module modules/mod_dav.so
#LoadModule dav_fs_module modules/mod_dav_fs.so --> LoadModule dav_fs_module modules/mod_dav_fs.so

[Add]:add those line after all LoadModule*
LoadModule dav_svn_module modules/mod_dav_svn.so
LoadModule authz_svn_module modules/mod_authz_svn.so

[Setup]:
<-- "repos" is what the users see
DAV svn
SVNListParentPath on
SVNParentPath d:\svnrepos <-- "d:\svnrepos" is svn


6. Restart Appache
If you can't restart Appache, you should check:
a. environment variable %PATH%
b. check step3
c. check step4

2010年5月20日 星期四

How to setup Tomcat

Step1. Installatin Java Environment
* Install Java JDK and JRE

Step2. Install Tomcat
* Download Tomcat (suggest zip format) from http://tomcat.apache.org/
* Unzip to your CATALINA_HOME


Step3. New Environment Variables
* New an environment variable "JAVA_HOME" such as: C:\Program Files\Java\jdk1.6.0_18
* New an environment variable "CATALINA_HOME" such as: D:\SoftwareDevelopment\apache-tomcat-5.5.28
* New an environment variable "PATH" and set "%JAVA_HOME%\bin;%CATALINA_HOME%\bin"

Step4. Startup Tomcat
* Double click %CATALINA_HOME%/bin/startup.bat

2010年5月17日 星期一

每天早上30分 鐘-讀書心得PART7

● 只知道學習法的人,需要的是實際行動。
● 錢要花在擠出時先的作業上,而不是花在教材、服務上。
● 如果自己沒辦法提供對方好處,建立人脈就完全無濟於事了。
● 如果有多餘的時間建立人脈,不如努力學習,培養實力,累積實績要來的實際些。
● 不學習、不努力的人光靠自我形象、自我暗示是沒有用的。

每天早上30分 鐘-讀書心得PART6

● 運氣指出現在準備好的人面前。
● 在人生的過程當中想要掌握運勢,就必須持續孜孜不倦地學習。
● 你的思考方式的成果就是現在你自己本身。
● 不想正視現實的人總是帶者有色眼鏡,以扭曲的角度看現實。
● 使用特殊解答時,成功的機會幾乎是零。
● 只要烙印在無意識(潛意識)當中,你的習慣自動地就會改變。
● 即使閱讀同一本書,看一遍跟反覆看好幾次所的到的成果是截然不同的。
● 「知道」跟「學習」這兩件事的差異有如天壤之別。
● 只要把具生產性的行動烙印在無意識當中,自動地就會從事具生產性的活動。
● 沒有反覆學習、反覆練習,就成就不暸該領域的達人。
● 如果學習或練習的量沒有別人的三~五倍之多,就無法顯得出差距。
● 如果想要提升某個領域的知識和技能,就在該領域投注時間、勞力、金錢。
● 只要慢慢展露頭角,好工作中就會找上門。