顯示文件
head: 顯示文件內容的前幾行head -n 10 readme
tail: 顯示文件內容的后幾行
tail -n 10 readme
通過grep查找文件內容
cat?readme | grep "intro"
posted @ 2007-03-26 20:52 waterye 閱讀(577) | 評論 (0) | 編輯 收藏
posted @ 2007-03-26 20:52 waterye 閱讀(577) | 評論 (0) | 編輯 收藏
posted @ 2007-03-25 15:28 waterye 閱讀(600) | 評論 (0) | 編輯 收藏
posted @ 2007-03-24 18:56 waterye 閱讀(660) | 評論 (0) | 編輯 收藏
中文輸入
在~\.inputrc,設置:
set meta-flag on
set convert-meta off
set output-meta on
set input-meta on
set completion-ignore-case on
中文顯示
在~\.bashrc中,設置:
alias ls='ls --show-control-chars --color=auto'
?
posted @ 2007-03-24 13:37 waterye 閱讀(6483) | 評論 (0) | 編輯 收藏
posted @ 2007-03-19 23:12 waterye 閱讀(565) | 評論 (0) | 編輯 收藏
好久沒有"光明正大的"玩玩新的開源框架了,因為是leader指定的,所以可以在工作時間專心學習.
Solr is an open source enterprise search server based on the Lucene Java search library, with XML/HTTP and JSON APIs, hit highlighting, faceted search, caching, replication, and a web administration interface. It runs in a Java servlet container such as Tomcat.
Solr has graduated from the Apache Incubator, and is now a sub-project of Lucene.
posted @ 2007-03-12 20:23 waterye 閱讀(711) | 評論 (0) | 編輯 收藏
上周換了新工作,主要做wap開發.由于還是采用java技術,基本上沒有什么變化,只是前端的html變成wml而已.
posted @ 2007-03-10 23:37 waterye 閱讀(451) | 評論 (0) | 編輯 收藏
posted @ 2006-05-30 21:15 waterye 閱讀(3850) | 評論 (5) | 編輯 收藏
The AJAX Tag Library is a set of JSP tags that simplify the use of Asynchronous JavaScript and XML (AJAX) technology in JavaServer Pages.
AjaxTag是通過一個Helper class(AjaxXmlBuilder)生成一段xml, 讓客戶端js(ResponseXmlParser)解析.
Latest Release: 1.2 beta2
下載ajaxtags-1.2-beta2.war, 在tomcat下deploy后即可看到各種tag的用法. 官方有詳細的Install, Quick Start, Usage文檔.
posted @ 2006-05-27 12:23 waterye 閱讀(1424) | 評論 (2) | 編輯 收藏
posted @ 2006-05-23 19:21 waterye 閱讀(1489) | 評論 (0) | 編輯 收藏