在AWS里用Elastic Map Reduce 开一个Cluster然后登陆master node并编译以下程序:import java.io.IOException;
import java.util.StringTokenizer;
import org.apache.hadoop.conf.Configuration;
import org.apache.hadoop.fs.Path;
...
分类:
其他好文 时间:
2014-07-22 23:01:32
阅读次数:
405
2014年5月1日
18:48:01安装:系统是centos,里边的python版本是2.4,但是node.js 源码tar包安装要求是 2.6 或者 2.7下载python
2.7编译安装,注意,可以不卸载原有系统中的python,编译安装2.7时,默认安装,不要在配置时指定安装路径默认安装的时候...
分类:
Web程序 时间:
2014-07-22 22:59:55
阅读次数:
346
1 package com.example.sqlitetest; 2 3 import
java.util.ArrayList; 4 import java.util.List; 5 import
android.content.ContentValues; 6 import and...
分类:
移动开发 时间:
2014-05-02 20:35:24
阅读次数:
540
1 /* PRESET CODE BEGIN - NEVER TOUCH CODE BELOW */
2 3 #include 4 #include 5 6 typedef struct node 7 { int coef, exp; //coe...
分类:
其他好文 时间:
2014-05-01 20:33:27
阅读次数:
342
先用bfs预处理出层次图,然后在层次图上用dfs找增广路径,理论复杂度O(n*n*m)const
int INF=0xfffffff ;struct node{ int s,t,cap,nxt ;}e[200005] ;int
m,n,head[10005],level[10005],cnt ...
分类:
其他好文 时间:
2014-05-01 20:05:16
阅读次数:
379
>原文标题:Global Variables in Node.js
原文链接:[http://www.hacksparrow.com/global-variables-in-node-js.html](http://www.hacksparrow.com/global-variables-in-.....
分类:
Web程序 时间:
2014-05-01 19:46:09
阅读次数:
490
1、环境: Maven :3.1.1 开发工具:Spring Tool Suite 数据库 :
Mysql 5.62、项目文件结构文件代码:2.1 、pom.xml 4.0.0 hibernate hibernate 0.0.1-SNAPSHOT jar
hibe...
分类:
系统相关 时间:
2014-05-01 19:43:40
阅读次数:
695
输入 1500 3150 300100 200 输出结果470 471100 200150
300470 471 #include #includeusing namespace std;struct node{ int a ; int
b;}s[100];int compare(const voi...
分类:
其他好文 时间:
2014-05-01 19:12:33
阅读次数:
358
目录
javascript与node.js
javascript与你
由于javascript真正意义上有两种,甚至可以说是三种形态(从最早的作为DHTML进行增强的小工具,到像jQuery那样严格意义上的前端技术,再到现在的服务端技术),因此,比较难找到一个”正确“的方式来学习JavaScript,使得让你书写Node.js应用的时候感觉自己是在真正开发它而不仅仅是使用它。...
分类:
Web程序 时间:
2014-05-01 18:45:36
阅读次数:
614
sql(结构化查询语言)有数据定义功能,数据查询功能,数据操作功能,数据控制功能。我们平常所说的增删改查就是sql这些功能的更加简洁的说法。现在就"查"来介绍几种常用的连接方式。...
分类:
数据库 时间:
2014-04-30 22:38:38
阅读次数:
298