[注意],当前的测试环境仅仅是一台服务器.部署测试的tungten版本是2.1.2-xxxx;Requirements:mysql配置To change the Tungsten user to use the new password format complete the following s...
分类:
数据库 时间:
2014-06-29 06:37:28
阅读次数:
394
里氏替换原则(Liskov Substitution Principle)表述为 "使用基类对象指针或引用的函数必须能够在不了解衍生类的条件下使用衍生类的对象。(Functions that use pointers or references to base classes must be abl...
分类:
其他好文 时间:
2014-06-19 07:24:20
阅读次数:
297
Given an index k, return the kth row of the Pascal's triangle.
For example, given k = 3,
Return [1,3,3,1].
Note:
Could you optimize your algorithm to use only O(k) extra space?
思路:最简单的方法就是按...
分类:
其他好文 时间:
2014-06-18 12:40:54
阅读次数:
265
题目
Given a linked list, swap every two adjacent nodes and return its head.
For example,
Given 1->2->3->4, you should return the list as 2->1->4->3.
Your algorithm should use only const...
分类:
其他好文 时间:
2014-06-18 11:53:39
阅读次数:
138
注入引用类型:对象
必须保障该对象以Bean形式存在于IoC容器,受Spring控制
1. 提供对应要注入的属性
public class Bean2User {
public void Test() {
System.out.println("bean2 use obj ...");
}
}
2. 为每个要注入的属性提供对应的标准封装se...
分类:
编程语言 时间:
2014-06-18 00:29:00
阅读次数:
311
做法如下:1. 取消xib的Use Autolayout属性的勾选:2. 将xib中每一个子控件(没错,每一个控件,包括UIButton、UILabel等等),将它们的Y Frame的值全部增加20。然后将它们的ΔY值全部设为-20。就是这样。
分类:
移动开发 时间:
2014-06-17 21:26:44
阅读次数:
440
Use‘svnupdate’asmuchaspossible第一次发布的时候,会把工作目录下的所有文件清空,然后check-out一份完整的项目到工作目录下;以后更新的时候,不会判断已有文件是否在svn里存在。比如工作目录下的文件123在svn里不存在,那么更新的时候不会删除123。不会判断工作目录下的文..
分类:
其他好文 时间:
2014-06-17 18:07:43
阅读次数:
6157
安装时出现configure.ac:17: error: possibly undefined macro: AC_PROG_LIBTOOL
If this token and others are legitimate, please use m4_pattern_allow.
See the Autocon...
分类:
其他好文 时间:
2014-06-17 16:36:01
阅读次数:
1500
ocp 053648.Note the following statements that use flashback technology:1. FLASHBACK TABLE TO SCN ;2. SELECT * FROM AS OF SCN 123456;3.FLASHBACKTABLE.....
分类:
其他好文 时间:
2014-06-17 16:01:01
阅读次数:
220
很多会议投稿都会要求提交的pdf文件用的是type1字体,因为type1字体是矢量字体,无论怎么放大缩小都不会失真。一旦pdf里嵌入了其他非矢量字体,例如type3字体,就会通不过测试,一个典型的例子就是Origin导出的.eps图片。Origin的默认导出设置是:Use Outlines Fo.....
分类:
其他好文 时间:
2014-06-17 15:47:32
阅读次数:
249