Windows 版本的 egrep:
[下載]
到 Windows egrep 下載 egrep.exe。
[安裝]
將 egrep.exe 存入 C:\Windows\System32
[測試]
到命令列視窗(C:\Windows\System32\cmd)中, 執行
C:\>dir | egrep \d [enter]
2012年11月25日 星期日
2012年11月18日 星期日
安裝Eclipse及中文化
不喜歡英文操作環境的人,將 Eclipse 中文化是必要的,但網路上大部份都是用使用線上安裝的方式,過程有點複雜難懂,這裡提供一個簡便好用的方法,只要下載並解壓縮語言包到正確資料匣就可以了。
[操作版本]
Eclipse IDE for Java Developers
Version: Juno Service Release 1
Build id: 20120920-0800
[中文化方法]
[操作版本]
Eclipse IDE for Java Developers
Version: Juno Service Release 1
Build id: 20120920-0800
[中文化方法]
- 先下載 Eclipse 程式包,然後解壓縮到程式資料匣中,如 C:\Program Files\。(Eclipse是不用安裝的喔!)
- 下載語言包:
- 安裝語言包前,先不啟動Eclipse。
- 下載繁體中文的語言包
- 下載後會得到一個類似下列檔名的 zip 壓縮檔:
BabelLanguagePack-eclipse-zh_TW_4.2.0.v20120721043402.zip - 解壓縮語言包到正確資料匣中:
可利用7-zip 將語言包解壓縮到 Eclipse 所在的資料匣中,假設 Eclipse 位於 C:\Program Files\ 中,則要將語言包解壓縮到 C:\Program Files\,許多人解壓縮到 C:\Program Files\Eclipse\ 是不對的。 - 啟動 Eclipse
2012年11月16日 星期五
Pattern 和 Matcher 的使用範例
Java 的 Pattern 和 Matcher 不容易理解,這裡有一個很的棒的說明:
http://werdna1222coldcodes.blogspot.tw/2009/01/javautilregexpatternmatcher.html
使用 Matcher 類別的 find() 可以依序尋找符合的字串,使用 appendReplacement() 可以置換被找到的字串,而使用 appendTail() 可增補字串剩餘的部份。這裡有很好的範例:
http://docs.oracle.com/javase/7/docs/api/java/util/regex/Matcher.html#appendReplacement(java.lang.StringBuffer, java.lang.String)
http://werdna1222coldcodes.blogspot.tw/2009/01/javautilregexpatternmatcher.html
使用 Matcher 類別的 find() 可以依序尋找符合的字串,使用 appendReplacement() 可以置換被找到的字串,而使用 appendTail() 可增補字串剩餘的部份。這裡有很好的範例:
http://docs.oracle.com/javase/7/docs/api/java/util/regex/Matcher.html#appendReplacement(java.lang.StringBuffer, java.lang.String)
安裝 Regular Expression Tester
很多資料都已過時,只有這個可以用:
安裝 Regular Expression Tester:
http://hatemegalaxy.blogspot.tw/2012/06/eclipse-regex-tester-plugin-regular.html
安裝 Regular Expression Tester:
http://hatemegalaxy.blogspot.tw/2012/06/eclipse-regex-tester-plugin-regular.html
2012年11月15日 星期四
改變 Eclipse 編輯器字體大小
2012年9月28日 星期五
Facts about Psalms
- The book of Psalms is a song book. Jewish people sang these songs as part of their worship. Usually these songs were accompanied by stringed instruments.
- Psalms is the longest book in the Bible. There are 150 chapters and 2,461 verses in Psalms.
- The psalms were written over a period of about 1000 years.
- David may have written about one-half of the psalms. Some of the other writers were Moses, Solomon and Asaph.
- Psalms, chapter 117, has only two verses. It is the shortest chapter in the Bible.
- Psalms, chapter 119, has 176 verses. It is the longest chapter in the Bible.
- In the New Testament, Jesus quoted from Psalms more than any other Old Testament book.
- Psalms were written to praise God, to give thanks to God, to show sadness about something that happened, and to tell that sometime in the future God would send His Son, Jesus, to earth.
- Some favorite psalms are Psalm 1, Psalm 23, Psalm 100, Psalm 139 and Psalm 150.
(source: Daily Devotions for Deaf, October 2012)
2012年9月27日 星期四
Acrobat X Pro Stopped Working 無法啟動
For all the users who have faced a problem where Acrobat did not launch after 30 days of serializing with a suite serial number, please execute the following workaround:
- Make sure you are connected to the internet.
- Launch a regular CS6 product other than Acrobat or Flash Builder (for example: Photoshop, After Effects, Premier Pro, InDesign, Flash Professional, Illustrator, Dreamweaver.)
- Click on Help->Deactivate .
- Deactivate the application. Quit application.
- Launch a regular CS6 product other than Acrobat or Flash Builder (for example: Photoshop, After Effects, Premier Pro, InDesign, Flash Professional, Illustrator, Dreamweaver.)
- Accept Eula.
- Register trial by signing in. Let the app launch.
- Quit and relaunch the app. Wait for UI to come.
- Click on License This Software button on the UI.
- Click on Sign in .
- Serial number screen will come
- Enter the serial number in the serial number screen and click Next.
- Quit app and relaunch the app while connected on the internet .
After this if you launch Acrobat it will launch and run forever without trouble. In case you still face a problem , try relaunching the other CS6 app once more and then launch Acrobat.
訂閱:
文章 (Atom)