一.参数意义说明 输出级别的种类 ERROR、WARN、INFO、DEBUG ERROR
为严重错误 主要是程序的错误 WARN 为一般警告,比如session丢失 INFO 为一般要显示的信息,比如登录登出 DEBUG 为程序的调试信息配置日...
分类:
其他好文 时间:
2014-05-17 21:52:40
阅读次数:
586
PrerequisiteHadoop 2.2 has been installed (and
the below installation steps should be applied on each of Hadoop node)Step 1.
Install R (by yum)[hadoop...
分类:
系统相关 时间:
2014-05-17 21:51:24
阅读次数:
671
//扩展方法$.GM.Format = function (source, params) { if
(arguments.length == 1) return function () { var args = $.makeArra...
分类:
Web程序 时间:
2014-05-17 21:49:16
阅读次数:
333
hash做法:#include#includeconst int Max =
100010;int home[Max],away[Max],hash[Max];int main(){ int n,sum,total; int i,j;
while(scanf("%d",&n)!=E...
分类:
其他好文 时间:
2014-05-17 21:44:37
阅读次数:
504
Servlet中的监听器分为三种类型Ⅰ
监听ServletContext、Request、Session作用域的创建和销毁 (1)ServletContextListener
(2)HttpSessionListener (3)ServletRequestListenerⅡ 监听Servl...
分类:
其他好文 时间:
2014-05-17 21:43:56
阅读次数:
292
既有环境:1)下载安装p4merge2)安装git下面是配置p4merge为git
mergetool的步骤1. /usr/local/bin下创建extMerge文件:$ cat >>
/usr/local/extMerge#!/bin/sh/Applications/IDE/p4merge.ap...
分类:
其他好文 时间:
2014-05-17 21:41:46
阅读次数:
354
因为项目需要使用Linq来查询数据,但是在多条件查询时,需要使用一大堆if(...!=string.empty)等判断条件感觉不是很优雅。网上搜索以下,大概找到了两种办法,一种是老外写的一个类,感觉用着麻烦;还有就是提供一扩展个方法,参数为某个类型,当调用该方法时,用反射去遍历这个类型的属性,再拿....
分类:
其他好文 时间:
2014-05-17 21:39:19
阅读次数:
356
istringstream对象可以绑定一行字符串,然后以空格为分隔符把该行分隔开来。添加头文件
#include 1 #include 2 #include 3 #include 4 using namespace std; 5 6 int main()
7 { 8 char...
分类:
其他好文 时间:
2014-05-17 18:13:03
阅读次数:
247