告警日志介绍 告警日志文件是一类特殊的跟踪文件(trace file)。告警日志文件命名一般为alert_.log,其中SID为ORACLE数据库实例名称。数据库告警日志是按时间顺序记录message和错误信息。 告警日志位置 在ORACLE 10g中,BACKGROUND_DUMP_DEST参数确...
分类:
数据库 时间:
2014-08-08 17:38:26
阅读次数:
451
在IE下由于安全的策略,没法通过$(":file").val('')来清空里面上传的值。那我们只能通过克隆节点的方法来实现清空。如下:var file = $(":file");file.after(file.clone().val(""));file.remove();这样就可以清空里面的值了。
分类:
其他好文 时间:
2014-08-08 17:27:46
阅读次数:
154
#!/bin/sh#authbyyx20140808#purgenginxcacheCACHE_DIR="/data/web/cache"FILE="$*"if[$#-eq0];thenecho"pleaserun\"sh$0index.htmlindex.jsp....\""exitfiforiin`echo$FILE`dogrep-ra$i${CACHE_DIR}|awk-F":"‘{print$1}‘>./cache_list.txtforjin`cat./cache_list.txt`do rm..
分类:
其他好文 时间:
2014-08-08 16:33:27
阅读次数:
197
jar包:lucene-core-2.3.2.jar到相关官网下载//建立线程通用类LuceneUtilimportjava.io.File;importjava.io.IOException;importjava.util.ArrayList;importjava.util.List;importorg.apache.lucene.analysis.Analyzer;importorg.apache.lucene.analysis.standard.StandardAnaly..
分类:
其他好文 时间:
2014-08-08 16:28:26
阅读次数:
256
通过Schema来校验File格式的正确与否...
分类:
其他好文 时间:
2014-08-08 16:13:46
阅读次数:
196
看下面两段代码,
typedef pairVirObjTYPE, std::listCheckID>*> VirObj_CheckID_pair;class LangChecker{public: LangChecker(); //completed in an auto-generated file ../parser/LangChecker_init.cpp which init...
分类:
其他好文 时间:
2014-08-08 16:06:26
阅读次数:
247
Edit the following file manually and change the path to the icons folder (it appears 2 times in the file)File to edit:\wamp\bin\apache\apache2.2.6\con...
分类:
其他好文 时间:
2014-08-08 16:00:36
阅读次数:
192
iOS 国际化。根据系统不同的语言自动切换。首先。选择项目 Add new file -->iOS -->Resource -->Strings File . 命名为Localizable.strings打开Localizable.strings。它的格式是这样的"KEY"="CONTENT";请按...
分类:
移动开发 时间:
2014-08-08 15:51:16
阅读次数:
260
Log4J的配置文件(Configuration File)就是用来设置记录器的级别、存放器和布局的,它可接key=value格式的设置或xml格式的设置信息。通过配置,可以创建出Log4J的运行环境。1. 配置文件Log4J配置文件的基本格式如下:#配置根Loggerlog4j.rootLogge...
分类:
其他好文 时间:
2014-08-08 15:50:46
阅读次数:
223
对一批文件进行压缩处理,采用system 调用linux 压缩命令进行文件压缩。命令公用代码:function addZip($webdocs, $zipfile, $param, $file){ system("cd $webdocs; tar $param $zipfile \"".$fi...
分类:
Web程序 时间:
2014-08-08 15:41:46
阅读次数:
279