vi:w保存文件但不退出vi:w file将修改另外保存到file中,不退出vi:w!强制保存,不推出vi:wq保存文件并退出vi:wq!强制保存文件,并退出vi:q不保存文件,退出vi:q!不保存文件,强制退出vi:e!放弃所有修改,从上次保存文件开始再编辑i进入编辑状态esc推出编辑状态,进入命...
分类:
系统相关 时间:
2014-08-05 18:16:29
阅读次数:
258
package txt;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.FileReader;
impo...
分类:
其他好文 时间:
2014-08-05 15:50:59
阅读次数:
287
Today, I’d like to take a quick moment to demonstrate how to make a simple file server usingRewrite, and any Servlet Container, such as Tomcat, Wildfl...
分类:
其他好文 时间:
2014-08-05 15:35:29
阅读次数:
282
Eclipse的设置window->preferences->general->editors->text editors->spelling->encoding->UTF-8,编辑器的编码格式window->preferences->workspace->text file encoding->U...
分类:
系统相关 时间:
2014-08-05 15:18:29
阅读次数:
267
一,Git删除代码库中的文件 ????????最近看到新人过来以后,虽然对git的基本操作还能掌握,但是对于一些细节还是有不足之处. ????????比如这次要说的:在本地用$ rm file_name 命令删除了某些文件,提...
分类:
其他好文 时间:
2014-08-05 14:32:29
阅读次数:
207
Redirect "all" output to a single file: Run: test.bat?>?test.txt?2>&1 and you‘ll get this text on screen (we‘ll never get rid of this line on screen, as it is sent to the Console and cannot be r...
在数据库没有启动之前,数据库内建用户是无法通过数据库来验证身份的口令文件中存放sysdba/sysoper用户的用户名及口令允许用户通过口令文件验证,在数据库未启动之前登陆从而启动数据库如果没有口令文件,在数据库未启动之前就只能通过操作系统认证.使用Rman,很多时候需要在nomount,mount...
分类:
数据库 时间:
2014-08-05 14:03:29
阅读次数:
385
1 #include 2 using std::cout; 3 using std::endl; 4 #define new New (__FILE__, __LINE__) 5 6 void * operator new (size_t size, const char * filen...
分类:
编程语言 时间:
2014-08-05 13:53:49
阅读次数:
184
这是3月份某客户的情况,原因是server硬件故障后进行更换之后,业务翻译偶尔出现提交缓慢的情况。我们先来看下awr的情况。我们能够看到,该系统的load profile信息事实上并不高,每秒才21个transaction。先来看看top5events:从top 5event,我们能够发现,log ...
分类:
其他好文 时间:
2014-08-05 13:48:49
阅读次数:
387
解决方案一这是因为JDK配置错误所导致的现象。一般说来,新购笔记本会预装64位的windows系统,而在网上下载软件时,32位会优先出现在页面中(现在来说是这个情况,但我认为未来64位会越来越普及)。如果你是64位的系统,却安装了32位的JDK,就会导致上面的情况。解决办法如下:卸载掉原来安装的32...
分类:
系统相关 时间:
2014-08-05 13:46:19
阅读次数:
286