- 浏览: 1324222 次
- 性别:
- 来自: 广州
-
最新评论
-
GuolinLee:
markmark
JVM调优总结 -Xms -Xmx -Xmn -Xss -
di1984HIT:
写的太好啊。
JVM调优总结 -Xms -Xmx -Xmn -Xss -
javajdbc:
javajdbc 写道
JVM调优总结 -Xms -Xmx -Xmn -Xss -
javajdbc:
...
JVM调优总结 -Xms -Xmx -Xmn -Xss -
alvin198761:
非常感谢,国外的被封杀了,你这里还有一份
How to Convert An Image-Based Guest To An LVM-Based Guest
文章列表
转自: www.chinaunix.net 特此感谢sed与unix 命令等价代码特此感谢转贴者:admirer
代码:
-------------------------------------------------------------------------------
cat | sed ':'
cat -s | sed '/./,/^$/!d'
tac | sed '1!G;h;$!d'
grep | sed '/patt/!d'
grep -v | sed ' ...
- 2009-10-21 22:02
- 浏览 1585
- 评论(0)
假设我们定义了一个变量为:
file=/dir1/dir2/dir3/my.file.txt
我们可以用 ${ } 分别替换获得不同的值:
${file#*/}:拿掉第一条 / 及其左边的字串:dir1/dir2/dir3/my.file.txt
${file##*/}:拿掉最后一条 / 及其左边的字串:my.file.txt
${file#*.}:拿掉第一个 . 及其左边的字串:file.txt
${file##*.}:拿掉最后一个 . 及其左边的字串:txt
${file%/*}:拿掉最后一条 / 及其右边的字串:/dir1/dir2/dir3
...
- 2009-10-21 21:48
- 浏览 11022
- 评论(0)
1. 基本介绍:
paoding :Lucene中文分词“庖丁解牛” Paoding Analysisimdict :imdict智能词典所采用的智能中文分词程序mmseg4j : 用 Chih-Hao Tsai 的 MMSeg 算法 实现的中文分词器ik :采用了特有的“正向迭代最细粒度切分算法“,多子处理器分析模式
2. 开发者及开发活跃度:
paoding :qieqie.wang, google code 上最后一次代码提交:2008-06-12,svn 版本号 132imdict :XiaoPingGao, 进入了 lucene contribute,lucene trunk 中 ...
- 2009-10-21 21:45
- 浏览 1513
- 评论(1)
SQL> alter user scott account unlock identified by 123456;alter user scott account unlock identified by 123456 *ERROR at line 1:ORA-00988: missing or invalid password(s)
SQL> alter user scott account unlock identified by "123456";
User al ...
- 2009-10-21 08:06
- 浏览 1290
- 评论(0)
在sqlplus中不能按上下键不能显示出之前的命令, 也许是出于安全考虑吧(可以调出之前输入的密码) , oracle 在11g的sqlplus中都没有这个功能, 很多oracle人都是save到文件中用vi 或notepad 改完再执行的,还是有些不方便.
用rlwrap 这个工具吧.
1. 安装 apt-get install rlwrap
2. 使用 rlwrap sqlplus /nolog
3. 为方便以后使用: 在.bashrc 中加入 alias sqlp="rlwrap sqlplus"
- 2009-10-21 07:50
- 浏览 2004
- 评论(0)
我的累积,从今天开始....
- 博客分类:
- English
2009-10-19:
The slow, tedious and difficult task of attracting visitors that has tormented
you for so long will become history.
名词 n.
1.
(肉体或精神上的)折磨, 痛苦
He has never suffered the torment of rejection.
他从未经受过遭人拒绝的痛苦。
2.
造成痛苦的事物[人]
His schooldays were a torment.
他的学生 ...
- 2009-10-19 13:47
- 浏览 1082
- 评论(0)
Tooltips in web design are becoming more and more commonplace. Even though I don’t think they are appropriate for every type of site, they can be a very useful addition when implemented correctly. If you are planning on using tooltips in your next project, the hardest part may be choosing the right s ...
- 2009-10-17 12:22
- 浏览 1255
- 评论(0)
You’ve probably noticed that a lot of websites lately have a featured area with content that slides or changes in some way. This is a great technique to show several pieces of content in a limited amount of space and a good way to engage the user. If you’ve been wondering how this is accomplished, he ...
- 2009-10-17 12:18
- 浏览 1505
- 评论(0)
I believe the navigation of a website should always be simple. However, if a website has many pages and sub pages, the thought of navigation simplicity goes out the window. This is where drop down menus come into play. A good and well executed drop down menu can make navigating a large site easy for ...
- 2009-10-17 12:16
- 浏览 1795
- 评论(0)
25 Stylish and Outstanding Login Forms
This time we will focus on one of the design elements - the Login Form. I have collected a list of login forms that are well styled and decorated and I'm pretty sure it'll inspire you!
Author: kevin | Source: queness
design, inspiration
<!--postR ...
- 2009-10-17 12:09
- 浏览 1376
- 评论(0)
MySQL DBA scripts
The following various scripts as used for various different tasks when reviewing MySQL installations.
Calculate Your MySQL Database Size
Calculate Your Individual MySQL Schema Size
Log various MySQL statistics
Analyze MySQL statistics
Automated MySQL Installation
C ...
- 2009-10-17 11:56
- 浏览 1858
- 评论(0)
Ajax适用场景
1.表单驱动的交互
传统的表单提交,在文本框输入内容后,点击按钮,后台处理完毕后,页面刷新,再回头检查是否刷新结果正确。使用Ajax,在点击sunmit按钮后,立刻进行异步处理,并在页面上快速显示了更新后 ...
- 2009-10-17 11:47
- 浏览 1058
- 评论(0)
http://java.sun.com/docs/hotspot/gc5.0/gc_tuning_5.html
Introduction
The JavaTM 2 Platform Standard Edition (J2SETM platform) is used for a wide variety of applications from small applets on desktops to web services on large servers. In the J2SE platform version 1.4.2 there were four garb ...
- 2009-10-16 11:55
- 浏览 1799
- 评论(0)
There are a lot of documentation about this part in the Internet. All you have to do is basically creating an annotation class like below:
public @interface Copyright { String info() default "";}
And that’s it. Now it’s ready to use! Now you can put copyright information to yo ...
- 2009-10-08 11:32
- 浏览 1260
- 评论(0)
http://www.howsthe.com/blog/2009/sep/15/12-tips-better-seo/
Advertising is very expensive, studies have shown that it is not as effective as being on the first page of search results. These SEO tips will help you rank higher on the search engines results, and who doesn't like free referrals.
...
- 2009-10-08 11:30
- 浏览 1139
- 评论(0)