链表插入排序、链表归并排序 1.链表 1.1链表的存储表示 1 2 3 4 5 6 7 //链表的存储表示 typedef int ElemType; typedef struct LNode { ElemType data; struct LNode *next; }LNode, *LinkLis ...
分类:
编程语言 时间:
2016-11-01 19:20:26
阅读次数:
347
Linux下MongoDB服务安装 MongoDB是一个基于分布式文件存储的数据库。由C++语言编写。旨在为WEB应用提供可扩展的高性能数据存储解决方案。MongoDB是一个介于关系数据库和非关系数据库之间的产品,是非关系数据库当中功能最丰富,最像关系数据库的。他支持的数据结构非常松散,是类似jso ...
分类:
数据库 时间:
2016-11-01 09:29:39
阅读次数:
213
一. 官网的说明 http://download.oracle.com/docs/cd/E11882_01/server.112/e17110/initparams042.htm#REFRN10025 1.1 CURSOR_SHARING Property Description Parameter ...
分类:
数据库 时间:
2016-10-29 21:59:35
阅读次数:
313
1.判断问题 如果type存在就设置type的值为type,否则设置type为0: 原始的写法,使用 if else:if(type){type = type} 使用三元操作符:type : type ? type : 0 使用"或": type : type || 0 · if(a){alert( ...
分类:
Web程序 时间:
2016-10-29 18:38:23
阅读次数:
151
使用idea+maven构建spark的开发环境,遇到一点小坑,所幸最后顺利完成,使用maven管理项目还是十分必要的~~~ 1. 新建maven项目,选择scala类的项目,如图,并next 2. 填写groupID,artifactid,projectName,继续next,一路next,并填写 ...
分类:
其他好文 时间:
2016-10-26 22:37:25
阅读次数:
672
效果:话不多说直接上代码
dependencies {
compile fileTree(include: ['*.jar'], dir: 'libs')
androidTestCom...
分类:
其他好文 时间:
2016-10-25 14:47:25
阅读次数:
410
一、配置文件(fdfs_client.properties) 1 2 3 4 5 6 7 8 9 10 connect_timeout = 30 network_timeout = 60 charset = ISO8859-1 # nginx 存储器端口 http.tracker_http_port ...
分类:
其他好文 时间:
2016-10-25 14:20:53
阅读次数:
301
We all know the following fact: 1, RDD are immutable 2, Never modify RDD in place 3, Transform RDD to another RDD There are 2 different transformation ...
分类:
其他好文 时间:
2016-10-23 20:16:56
阅读次数:
206
安装php5.5; 下载源地址:rpm -Uvh rpm包安装:yum install php55w.x86_64 php55w-cli.x86_64 php55w-common.x86_64 php55w-gd.x86_64 php55w-ldap.x86_64 php55w-mbstring.x ...
分类:
Web程序 时间:
2016-10-22 12:17:08
阅读次数:
249