1、IE6 幽灵文本(Ghost Text bug)在我写本文之前,我遇到了这个bug。它相当的古怪和滑稽。一块不知哪来的重复的文本,被IE6显示在靠近原文本的下面。(译注:也可以参看Explorer 6 Duplicate Characters Bug获得bug演示)。我无法解决它,所以我搜索它,...
分类:
其他好文 时间:
2014-10-14 13:38:28
阅读次数:
203
Given a set of distinct integers, S, return all possible subsets.
Note:
Elements in a subset must be in non-descending order.The solution set must not contain duplicate subsets.
For exa...
分类:
其他好文 时间:
2014-10-12 18:17:08
阅读次数:
242
Given a sorted linked list, delete all nodes that have duplicate numbers, leaving only distinct numbers from the original list.
For example,
Given 1->2->3->3->4->4->5, return 1->2->5.
Given 1->1-...
分类:
其他好文 时间:
2014-10-12 15:51:58
阅读次数:
190
1.使用 RMAN 创建数据库副本
使用 RMAN 的 DUPLICATE 命令可根据目标数据库备份创建数据库副本。
创建数据库副本:
1.创建辅助实例的 Oracle 口令文件。
2.
建立到辅助实例的 Oracle Net 连接。
3.
创建辅助实例的初始化参数文件。
4.在 NOMOUNT 模式下启动辅助实例。
5.
装载或打开目标数据库。
6.确保备份和归档...
分类:
数据库 时间:
2014-10-10 13:33:34
阅读次数:
266
class Solution {
public:
int removeDuplicates(int A[], int n) {
int duplicate = 0;
int i = 0;
for(i = 0; i < n - 1; i++){
if(A[i] == A[i + 1]){
dupli...
分类:
其他好文 时间:
2014-10-05 22:23:09
阅读次数:
183
Given a set of distinct integers, S, return all possible subsets.
Note:
Elements in a subset must be in non-descending order.The solution set must not contain duplicate subsets.
For example,
I...
分类:
其他好文 时间:
2014-10-03 22:24:55
阅读次数:
273
三路快排(3-way quicksort)可以提升重复元素排序的效率
分类:
其他好文 时间:
2014-10-02 14:08:22
阅读次数:
132
今天上传文件的时候用了MultipartEntityBuilder,添加了httpcore等2个依赖库,编译运行的时候,studio出现一个奇怪的错误提示:Duplicate files copied in APK META-INF/DEPENDENCIESFile 1: /home/bluelif...
分类:
移动开发 时间:
2014-09-30 14:00:19
阅读次数:
219
mysql主键设置成auto_increment时,进行并发性能测试出现主键重复Duplicate entry 'xxx' for key 'PRIMARY'
解决方法:
在my.cnf的[mysqld]片段中添加设置innodb_autoinc_lock_mode=0
同时注意调大jdbc的活跃链接数,如设置 jdbc.maxActive=300,因为设置innodb_autoinc_lo...
分类:
数据库 时间:
2014-09-28 19:51:05
阅读次数:
209
mysql insert语法注意事项(ON DUPLICATE KEY UPDATE ) ? INSERT语法 INSERT [LOW_PRIORITY | DELAYED | HIGH_PRIORITY] [IGNORE] ? ? ? [INTO] tbl_name [(col_name,...)] ? ? ? VALUES ({expr | DEFAULT}...
分类:
数据库 时间:
2014-09-25 16:57:29
阅读次数:
289