参考http://blog.csdn.net/feng88724/article/details/6198446,http://blog.chinaunix.net/uid-26898698-id-3896769.html与互联网众所周知,通过PackageManager可以获取手机端已安装的apk...
分类:
其他好文 时间:
2014-11-24 18:36:36
阅读次数:
201
本文数据库的名称为ProjectControl public static SqlConnection conn = new SqlConnection("server=(local);uid=sa;pwd=000;database=ProjectControl");//备份 pub...
分类:
数据库 时间:
2014-11-24 11:48:05
阅读次数:
201
[$inc]作用:修改器$inc可以对文档的某个值为数字型(只能为满足要求的数字)的键进行增减的操作。Example: db.b.update({"uid":"201203"},{"$inc":{"size":1}})Array:array(‘$inc=>array(“size”=>1))[$set...
分类:
其他好文 时间:
2014-11-24 11:38:35
阅读次数:
217
c++拷贝构造函数(深拷贝,浅拷贝)详解2013-11-05 20:30:29分类:C/C++原文地址:http://blog.chinaunix.net/uid-28977986-id-3977861.html一、什么是拷贝构造函数 首先对于普通类型的对象来说,它们之间的复制是很简单的,例如: ....
分类:
编程语言 时间:
2014-11-24 00:52:34
阅读次数:
349
有两张表(商品表和订单表,结构如下)CREATE TABLE goods ( gid int(11) DEFAULT NULL, name varchar(20) DEFAULT NULL, num smallint(6) DEFAULT NULL);CREATE TABLE ord ( o...
分类:
其他好文 时间:
2014-11-23 01:54:37
阅读次数:
151
来自:http://blog.chinaunix.net/uid-29532375-id-4144615.html索引和优化查询恰当的索引可以加快查询速度,可以分为四种类型:主键、唯一索引、全文索引、普通索引。主键:唯一且没有null值。create table pk_test(f1 int not...
分类:
数据库 时间:
2014-11-21 20:27:30
阅读次数:
335
原文地址:http://blog.chinaunix.net/uid-15811445-id-176318.html Shell shell 测试表达式 -a file 检查文件是否存在(与-e同) -b file 检查文件是否为特殊块设备 -c file 检查文件是否为特殊字符设备 -d fil ...
分类:
系统相关 时间:
2014-11-21 18:30:00
阅读次数:
368
转载:http://blog.chinaunix.net/uid-27022856-id-3236257.html 说明:以下内容参考了抚琴煮酒的《构建高可用Linux服务器》第六章内容.搭建负载均衡高可用环境相对简单,主要是要理解其中原理。此文描述了三种负载均衡器的优缺点,以便在实际的生产应用中,...
分类:
其他好文 时间:
2014-11-21 15:38:30
阅读次数:
290
关于in和or的效率对比:http://blog.chinaunix.net/uid-20639775-id-3416737.htmlSQL语句效率:http://wenku.baidu.com/link?url=NE6iSwPibvMjL1y8dOJExUO31KkdgP5LgIg2hI9dIgo...
分类:
数据库 时间:
2014-11-21 12:34:15
阅读次数:
176
转:http://www.devdiv.com/home.php?mod=space&uid=50901&do=blog&id=50856在XCode的以前版本中,如果遇到了[代码]c#/cpp/oc代码:1message sent to deallocated instance 0x6d564f0...
分类:
数据库 时间:
2014-11-20 23:22:10
阅读次数:
321