為了學習的方便性, 把操作介面中文化, 對新手的來說有很大的幫助; 但仍然有很多單詞解釋,
不太適合以中文的方式去表達, 初期學習很方便, 但有可能造成進階學習上的障礙。
1. 執行 Eclipse, 起動完畢後, 點選工具列 Help 內容的 Install New Software...
2. 點選右方的 Add... 按鈕, 在跳出視窗輸入以下網址:
Name: 輸入名稱, 如: (Eclipse語言包)
Location: 輸入以下網圵(Indigo, Helios, Galileo挑選你的 Eclipse版本)
Babel Language Pack Update Site for Indigo
http://download.eclipse.org/technology/babel/update-site/R0.9.1/indigo
Babel Language Pack Update Site for Helios
http://download.eclipse.org/technology/babel/update-site/R0.9.1/helios
Babel Language Pack Update Site for Galileo
http://download.eclipse.org/technology/babel/update-site/R0.9.1/galileo
Eclipse Babel Project Downloads
3. 等待 Pending...
4. 以繁中化為例, 打開 Babel Language Packs for eclipse, 選取 in Chinese (Traditional)(84.44%)
5. Next, Next, I accept the terms of the license agreement, Finish
6. 將 Eclipse 的捷徑按右鍵, 點選內容
7. 修改起動參數, 如:
eclipse.exe -nl zh_CN (切換簡中)
eclipse.exe -nl zh_TW (切換繁中)
eclipse.exe -nl en_US (切換英文)
8. 收工!
2012年3月14日 星期三
2012年2月8日 星期三
The Bing Bang Theory 歌詞
這首歌的歌詞實在太有趣了, 順便練練一輩子也用不到幾次的英文單字吧!!
Our whole universe was in a hot dense state,
我們的整個宇宙以前是在一個炎熱稠密的東西,
Then nearly fourteen billion years ago expansion started. Wait...
差不多近140億年前開始擴張。然後..
The Earth began to cool,
地球開始降溫,
The autotrophs began to drool,
自營型生物開始流口水(想要進食),
Neanderthals developed tools,
尼安德特人研發了工具,
We built a wall (we built the pyramids),
我們建立了萬里長城(我們建造了金字塔),
Math, science, history, unraveling the mysteries,
數學,科學,歷史,所有已經解開的奧秘,
That all started with the big bang!
這一切都始於大爆炸!
"Since the dawn of man" is really not that long,
"人類生命的演化" 其實沒有很久,
As every galaxy was formed in less time than it takes to sing this song.
每個銀行系形成的時間都比唱這首歌的時間還短,
A fraction of a second and the elements were made.
所有的元素都幾分之一秒的時間內誕生了,
The bipeds stood up straight,
雙足動物們站了起來,
The dinosaurs all met their fate,
恐龍們面對了牠們的命運,
They tried to leap but they were late
牠們試著渡過可是太晚了,
And they all died (they froze their asses off)
牠們都滅亡了(牠們屁股都凍僵啦),
The oceans and pangea
海洋與盤古(大陸),
See ya, wouldn't wanna be ya
看吶,它們都不在那兒啦,(板塊移動)
Set in motion by the same big bang!
這些動作都是始於同一個大爆炸!
It all started with the big BANG!
這一切都始於大爆炸!
It's expanding ever outward but one day,
某一天它們開始往外擴張了,
It will cause the stars to go the other way,
每個星星都往不同的地方去了,
Collapsing ever inward, we won't be here, it wont be heard
如果它們爆炸了,我們不會在這裡,也不會聽到,
Our best and brightest figure that it'll make an even bigger bang!
我們最好和最光明的就是另一個更大的爆炸!(這句翻的好爛啊~)
Australopithecus would really have been sick of us
南方古猿們(最早被發現在的靈長類化石)對我們很厭煩,
Debating out while here they're catching deer (we're catching viruses)
他們毫不遲疑追捕鹿的時候 (我們正在抓病毒)
Religion or astronomy, Encarta, Deuteronomy
宗教、天文學、(微軟)百科全書、申命記(以色列生活行為準則),
It all started with the big bang!
這一切都始於大爆炸!
Music and mythology, Einstein and astrology
音樂、神話、愛因斯坦、占星術,
It all started with the big bang!
這一切都始於大爆炸!
It all started with the big BANG!
這一切都始於大爆炸!砰!
Our whole universe was in a hot dense state,
我們的整個宇宙以前是在一個炎熱稠密的東西,
Then nearly fourteen billion years ago expansion started. Wait...
差不多近140億年前開始擴張。然後..
The Earth began to cool,
地球開始降溫,
The autotrophs began to drool,
自營型生物開始流口水(想要進食),
Neanderthals developed tools,
尼安德特人研發了工具,
We built a wall (we built the pyramids),
我們建立了萬里長城(我們建造了金字塔),
Math, science, history, unraveling the mysteries,
數學,科學,歷史,所有已經解開的奧秘,
That all started with the big bang!
這一切都始於大爆炸!
"Since the dawn of man" is really not that long,
"人類生命的演化" 其實沒有很久,
As every galaxy was formed in less time than it takes to sing this song.
每個銀行系形成的時間都比唱這首歌的時間還短,
A fraction of a second and the elements were made.
所有的元素都幾分之一秒的時間內誕生了,
The bipeds stood up straight,
雙足動物們站了起來,
The dinosaurs all met their fate,
恐龍們面對了牠們的命運,
They tried to leap but they were late
牠們試著渡過可是太晚了,
And they all died (they froze their asses off)
牠們都滅亡了(牠們屁股都凍僵啦),
The oceans and pangea
海洋與盤古(大陸),
See ya, wouldn't wanna be ya
看吶,它們都不在那兒啦,(板塊移動)
Set in motion by the same big bang!
這些動作都是始於同一個大爆炸!
It all started with the big BANG!
這一切都始於大爆炸!
It's expanding ever outward but one day,
某一天它們開始往外擴張了,
It will cause the stars to go the other way,
每個星星都往不同的地方去了,
Collapsing ever inward, we won't be here, it wont be heard
如果它們爆炸了,我們不會在這裡,也不會聽到,
Our best and brightest figure that it'll make an even bigger bang!
我們最好和最光明的就是另一個更大的爆炸!(這句翻的好爛啊~)
Australopithecus would really have been sick of us
南方古猿們(最早被發現在的靈長類化石)對我們很厭煩,
Debating out while here they're catching deer (we're catching viruses)
他們毫不遲疑追捕鹿的時候 (我們正在抓病毒)
Religion or astronomy, Encarta, Deuteronomy
宗教、天文學、(微軟)百科全書、申命記(以色列生活行為準則),
It all started with the big bang!
這一切都始於大爆炸!
Music and mythology, Einstein and astrology
音樂、神話、愛因斯坦、占星術,
It all started with the big bang!
這一切都始於大爆炸!
It all started with the big BANG!
這一切都始於大爆炸!砰!
使用 Syntax Highlighting 在 Blog 中加入程式碼
以Blogger為例,首先進入設定頁面,打開「設計」,「修改HTML」:
1. 找到<b:skin>標籤,在標籤前加入以下代碼:
2. 找到</body>標籤,在標籤前加入以下代碼。
3. 修改後儲存。
4. 接下來只要新增/編輯文章時,切換「修改HTML」,並使用 <pre> 標籤來呈現程式碼即可;class 屬性則設為「brush: (小寫Brush name)」。SyntaxHighlighter已支援程式語言列表
Example:
打完收工。
1. 找到<b:skin>標籤,在標籤前加入以下代碼:
<!-- SyntaxHighlighter 3.0.83-->
<link href='http://alexgorbatchev.com/pub/sh/current/styles/shCore.css' rel='stylesheet' type='text/css'/>
<link href='http://alexgorbatchev.com/pub/sh/current/styles/shThemeDefault.css' rel='stylesheet' type='text/css'/>
<script src='http://alexgorbatchev.com/pub/sh/current/scripts/shCore.js' type='text/javascript'/>
<script src='http://alexgorbatchev.com/pub/sh/current/scripts/shAutoloader.js' type='text/javascript'/>
<script src='http://alexgorbatchev.com/pub/sh/current/scripts/shBrushAS3.js' type='text/javascript'/>
<script src='http://alexgorbatchev.com/pub/sh/current/scripts/shBrushBash.js' type='text/javascript'/>
<script src='http://alexgorbatchev.com/pub/sh/current/scripts/shBrushColdFusion.js' type='text/javascript'/>
<script src='http://alexgorbatchev.com/pub/sh/current/scripts/shBrushCSharp.js' type='text/javascript'/>
<script src='http://alexgorbatchev.com/pub/sh/current/scripts/shBrushCpp.js' type='text/javascript'/>
<script src='http://alexgorbatchev.com/pub/sh/current/scripts/shBrushCss.js' type='text/javascript'/>
<script src='http://alexgorbatchev.com/pub/sh/current/scripts/shBrushDelphi.js' type='text/javascript'/>
<script src='http://alexgorbatchev.com/pub/sh/current/scripts/shBrushDiff.js' type='text/javascript'/>
<script src='http://alexgorbatchev.com/pub/sh/current/scripts/shBrushErlang.js' type='text/javascript'/>
<script src='http://alexgorbatchev.com/pub/sh/current/scripts/shBrushGroovy.js' type='text/javascript'/>
<script src='http://alexgorbatchev.com/pub/sh/current/scripts/shBrushJScript.js' type='text/javascript'/>
<script src='http://alexgorbatchev.com/pub/sh/current/scripts/shBrushJava.js' type='text/javascript'/>
<script src='http://alexgorbatchev.com/pub/sh/current/scripts/shBrushJavaFX.js' type='text/javascript'/>
<script src='http://alexgorbatchev.com/pub/sh/current/scripts/shBrushPerl.js' type='text/javascript'/>
<script src='http://alexgorbatchev.com/pub/sh/current/scripts/shBrushPhp.js' type='text/javascript'/>
<script src='http://alexgorbatchev.com/pub/sh/current/scripts/shBrushPlain.js' type='text/javascript'/>
<script src='http://alexgorbatchev.com/pub/sh/current/scripts/shBrushPowerShell.js' type='text/javascript'/>
<script src='http://alexgorbatchev.com/pub/sh/current/scripts/shBrushPython.js' type='text/javascript'/>
<script src='http://alexgorbatchev.com/pub/sh/current/scripts/shBrushRuby.js' type='text/javascript'/>
<script src='http://alexgorbatchev.com/pub/sh/current/scripts/shBrushScala.js' type='text/javascript'/>
<script src='http://alexgorbatchev.com/pub/sh/current/scripts/shBrushSql.js' type='text/javascript'/>
<script src='http://alexgorbatchev.com/pub/sh/current/scripts/shBrushVb.js' type='text/javascript'/>
<script src='http://alexgorbatchev.com/pub/sh/current/scripts/shBrushXml.js' type='text/javascript'/>2. 找到</body>標籤,在標籤前加入以下代碼。
<!-- SyntaxHighlighter 3.0.83-->
<script type='text/javascript'>
SyntaxHighlighter.all()
</script>
3. 修改後儲存。
4. 接下來只要新增/編輯文章時,切換「修改HTML」,並使用 <pre> 標籤來呈現程式碼即可;class 屬性則設為「brush: (小寫Brush name)」。SyntaxHighlighter已支援程式語言列表
<pre class="brush: java">
Hello Android程式碼
</pre>
Example:
package com.example.helloandroid;
import android.app.Activity;
import android.os.Bundle;
import android.widget.TextView;
public class HelloAndroid extends Activity {
/** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
TextView tv = new TextView(this);
tv.setText("Hello, Android");
setContentView(tv);
}
打完收工。
訂閱:
意見 (Atom)

