场景:解决TencentOpenAPI.framework与ZbarSDK中 _base64_encode 函数的冲突后来在网络上搜寻,删除掉 Other Linker Flag 的-all_load 就可以解决静态库冲突的问题,但是这样做的话,会使一些外部的静态库,使用objc扩展函数(catag...
分类:
移动开发 时间:
2015-07-14 15:00:10
阅读次数:
136
经验之谈:情况一:没有查询结果select * from t_Records where 1==1 and R_CheckInTime > '2015-7-12 18:47:00' and R_CheckInTime '2015-07-12 18:47:00' and R_CheckInTim...
分类:
数据库 时间:
2015-07-14 13:20:05
阅读次数:
249
用下面的语句肯定是行不通的,语句不支持truncate table t_Records方法:1.删除表数据delete from t_Records where 1==12.重置自动增长列update sqlite_sequence set seq=0 where name='t_Records' ...
分类:
数据库 时间:
2015-07-14 13:18:39
阅读次数:
160
题意:判断一个数组里是否有重复的数字思路:坑!用了最简单的办法,就是暴力比较,很明显,超时了。还是太年轻没想到好办法,其实很简单的一道题,只要了解STL里set的特性就1句话完事了。代码:bool containsDuplicate(vector& nums){ set s(nums.begi...
分类:
其他好文 时间:
2015-07-14 06:01:02
阅读次数:
120
FYI:
http://docs.oracle.com/cd/E11882_01/backup.112/e10643/rcmsynta020.htm#RCMRF126
rman duplicate database 必须是相同的平台,但是支持32bit\64bit 间复制,在复制完成后需要运行¥ORACLE_HOME/rdbms/admin/utlirp.sql
脚本来转换pl/sq...
分类:
其他好文 时间:
2015-07-13 20:40:40
阅读次数:
133
1.可以使用add(Ext.data.Record[] records)或者add(Ext.data.Record record)向store末尾添加一个或多个record。如:var newRecord=new PersonRecord({name:"Tom",age:22}); store.ad...
分类:
Web程序 时间:
2015-07-13 17:57:49
阅读次数:
137
Given an array of integers and an integerk, find out whether there there are two distinct indicesiandjin the array such thatnums[i] = nums[j]and the d...
分类:
其他好文 时间:
2015-07-13 10:06:31
阅读次数:
74
run {
allocate channel prmy1 type disk;
allocate channel prmy2 type disk;
allocate channel prmy3 type disk;
allocate channel prmy4 type disk;
allocate channel prmy5 type disk;
allocate channel p...
分类:
数据库 时间:
2015-07-12 15:49:43
阅读次数:
163
关于 rman duplicate from active database,具体操作实际为backup as copy ;会拷贝很多空块;对于那些数据库数据文件超过100G的都不是很建议用;在很大程度上会受到网络带宽的限制,一点出现异常,就要从头再来,非常痛苦;
在做dataguard 能不用duplicate from active database ,还是不要用了,最靠谱的还是用rman 先...
分类:
数据库 时间:
2015-07-12 14:18:14
阅读次数:
134
在今天的文章里,我想给你快速展示下当我们从表里删除记录时,在SQL Server里发生了什么。首先我们来创建一个简单的表,在8KB的页上刚好能插入4条记录。1 -- Create a simple table where 4 records fit onto 1 page2 CREATE TABLE...
分类:
其他好文 时间:
2015-07-12 09:32:35
阅读次数:
114