这个就不说了就是一个类 public static class EncryptionConfig { /* 加密配置节点 * Response.Write(EncryptionConfig.Encryption("connectionStrings"))...
分类:
其他好文 时间:
2014-07-18 16:35:37
阅读次数:
193
Given a binary tree, find its maximum depth.The maximum depth is the number of nodes along the longest path from the root node down to the farthest le...
分类:
其他好文 时间:
2014-07-17 23:27:12
阅读次数:
216
#define EV_TIMER_RESOLUTION 1 /* 1 msec */#define EV_READ_EVENT EPOLLIN#define EV_WRITE_EVENT EPOLLOUTstruct ev_event;struct ev_timer;typedef void ...
分类:
其他好文 时间:
2014-07-17 22:37:16
阅读次数:
276
七月 17, 2014 4:56:01 下午 org.apache.catalina.core.StandardWrapperValve invokeSEVERE: Servlet.service() for servlet [dispatcher] in context with path [] ...
分类:
数据库 时间:
2014-07-17 22:28:55
阅读次数:
777
1.配置Java的环境
1)JAVA_HOME配置:
2)C:\Program Files\Java\jdk1.7.0_51;CLATHPATH配置:C:\Program Files\Java\jdk1.7.0_51\lib\dt.jar;C:\Program Files\Java\jdk1.7.0_51\lib\tools.jar;.注意:最后有“.”
3)path配置:C:\Progra...
分类:
其他好文 时间:
2014-07-17 21:04:07
阅读次数:
252
今天用eclipse,当打算run一个带有main函数的class时,出现editor does not contain a main type的错误框。
baidu了一下,迅速解决问题:原来这个class所在包没有被添加到build path中。
解决方法:在左侧的package explorer中右击这个class所在包的上一级目录--build path--use as source f...
分类:
其他好文 时间:
2014-07-17 20:36:18
阅读次数:
225
scheme://login:password@address:port/path/to/resource?query_string#fragmentscheme:协议名称//:层级URL标记符号login@password:访问资源需要的凭证address:获取数据的服务器port:连接的端口号/...
分类:
其他好文 时间:
2014-07-17 17:34:11
阅读次数:
279
当系统中有一个命令的时候,通过rpm-qf/path/to/command可以查到这个命令是由哪个软件包安装的。但是,如果说需要用的这个命令不存在呢,该如何找到能提供这个命令的软件包。通过yum能够解决这个问题#yumhelp|grepprovides
providesFindwhatpackageprovidesthegivenvalue比如,..
分类:
其他好文 时间:
2014-07-17 16:35:46
阅读次数:
237
读写分离(Read/Write Splitting)。1.原理:让主数据库处理事务性增、改、删操作(INSERT、UPDATE、DELETE),而从数据库处理SELECT查询操作。2.诞生原因:2.1 为了确保数据库产品的稳定性,很多数据库拥有双机热备功能。也就是,第一台数据库服务器,是对外提供增删...
分类:
数据库 时间:
2014-07-17 14:24:57
阅读次数:
264
Given a triangle, find the minimum path sum from top to bottom. Each step you may move to adjacent numbers on the row below.For example, given the fol...
分类:
其他好文 时间:
2014-07-17 14:03:41
阅读次数:
293