MongoDB 安装步骤总结:1、解压目录到d盘 mongodb 2、安装目录的下新建文件mongo.config文件##store data heredbpath=D:\mongodb\data##all output go herelogpath=D:\mongodb\log\mongo.log...
分类:
数据库 时间:
2014-07-23 12:16:36
阅读次数:
518
题目:Given a linked list, return the node where the cycle begins. If there is no cycle, return null.Follow up:Can you solve it without using extra spac....
分类:
编程语言 时间:
2014-07-23 12:02:46
阅读次数:
304
暴力搜索 1 #include 2 3 struct node 4 { 5 int x; 6 int y; 7 }s[10000]; 8 int main() 9 {10 //freopen("input.txt","r",stdin);11 int a,b,n,n...
分类:
其他好文 时间:
2014-07-23 11:58:36
阅读次数:
293
In one embodiment, a local node in a communication network determines a set of its neighbor nodes, and determines a respective occurrence frequency at...
分类:
移动开发 时间:
2014-07-23 11:37:16
阅读次数:
373
#ifndef QUEUE_HPP
#define QUEUE_HPP
#include
#include
template class Queue;
template
class Node{
friend class Queue;
public:
Node(T data = 0, Node *next = NULL)
:data...
分类:
其他好文 时间:
2014-07-23 00:05:17
阅读次数:
338
1.单向循环链表
区分单向链表和单向循环链表:单向循环链表的尾指针指向头结点。
2.单向循环链表的基本操作
#include
#include
#define NULL 0
typedef struct node {
int data;
struct node *next;
}ElemSN;
ElemSN * creat_link(int ms); //创建一个单向循环链表
...
分类:
其他好文 时间:
2014-07-22 23:50:48
阅读次数:
264
简单线段树插入和查询删除 1 #include 2 #include 3 #include 4 using namespace std; 5 int num[10000]; 6 int node[20000]; 7 int scale; 8 void clear(int n){ 9 scal...
分类:
其他好文 时间:
2014-07-22 23:30:27
阅读次数:
291
class Solution {public: UndirectedGraphNode *cloneGraph(UndirectedGraphNode *node) { UndirectedGraphNode *clone = dfs(node); dfs_clea...
分类:
其他好文 时间:
2014-07-22 23:05:52
阅读次数:
197
这些天看了mirantis中puppet的使用,对puppet的认识有了更深入的理解。mirantis公司的fuel主要是为了方便部署生产环境的openstack的工具。主要是在集群中自动化的安装openstack,避免繁琐的配置细节。fuel的安装要先安装Fuel server,再安装node s...
分类:
其他好文 时间:
2014-07-22 22:42:52
阅读次数:
202
不要在windows 2012 server上安装jenkins直接在jenkins master上添加Node,输入c:\jenkins作为目录,并且输入windows administrator用户名和密码然后启动报错,参考下面的文档打开windows的权限:https://issues.jenkins-ci.org/browse/JENKINS-16418?page=com.atlassia...