http://www.cnblogs.com/ITAres/articles/2084794.html本文参考自官方的手册:http://www.mongodb.org/display/DOCS/Advanced+Queries#AdvancedQueries-ConditionalOperator...
分类:
数据库 时间:
2014-11-07 13:03:53
阅读次数:
246
递归方法int BinSearch(int Array[],int low,int high,int key/*要找的值*/){ if (lowArray[mid]) return BinSearch(Array,mid+1,high,key); } else return -1;} 非递归方...
分类:
其他好文 时间:
2014-11-07 12:57:21
阅读次数:
142
--1、数据表已经创建,Excel首行作为表头 --启用Ad Hoc Distributed Queries: exec sp_configure 'show advanced options',1 reconfigure exec sp_configure 'Ad Hoc Distribut...
分类:
数据库 时间:
2014-11-07 12:37:24
阅读次数:
163
英文原版:https://github.com/appium/appium/blob/master/docs/en/advanced-concepts/migrating-to-1-0.mdMigrating your tests from Appium 0.18.x to Appium 1.x把你...
分类:
移动开发 时间:
2014-11-06 17:00:55
阅读次数:
349
linux文件压缩工具工具文件扩展名描述bzip2.bz2使用burrows-wheeler块排序文本压缩算法compress.Z原UNIX文件压缩工具gzip.gzGNU项目压缩工具zip.zipUnix版本的windowsPKZIP程序1.bzip2工具bzip用于压缩文件bzcat用于显示已压缩文本文件内容bunzip2用于解压.bz2文件bzip2recover..
分类:
系统相关 时间:
2014-11-06 15:05:55
阅读次数:
236
1. 到官网下载MySQL解压版,然后将mysql解压到任意路径,本例放在:D:\Program Files\mysql-advanced-5.6.14-win32
2. 设置环境变量,在系统变量Path中添加:;D:\Program Files\mysql-advanced-5.6.14-win32\bin
3. 在根目录下面有以"my-"开头的ini文件,随意复制一个放在根目录,如...
分类:
数据库 时间:
2014-11-06 14:51:50
阅读次数:
267
二分查找,需要查找数组先有序,故先排列。二分代码1varBinarySeqrch=function(arr,low,high,key,value){2varmid=Math.floor((low+high)/2);34if(low>high){5return-1;6}else{78if(arr[mi...
分类:
其他好文 时间:
2014-11-06 12:21:28
阅读次数:
122
二分。情况讨论
class Solution {
public:
int findPos(int* p,int n,int x){
int low=0,high=n-1,mid;
while(low>1;
if(p[mid]<=x)low=mid...
分类:
其他好文 时间:
2014-11-06 00:47:00
阅读次数:
171
在android 4.4.4 机器上使用网友提供的GZipUtils方法进行GZip压缩,但是会一直报错Stream error。错误位置:
public static void compress(InputStream is, OutputStream os)
throws Exception {
GZIPOutputSt...
分类:
移动开发 时间:
2014-11-05 23:19:00
阅读次数:
375
转载自http://www.cnblogs.com/ggjucheng/archive/2012/11/05/2755683.htmlload的语法LOAD DATA [LOW_PRIORITY | CONCURRENT] [LOCAL] INFILE 'file_name.txt' [REP...
分类:
数据库 时间:
2014-11-05 22:59:18
阅读次数:
342