上一页 1 ··· 37 38 39 40 41 42 43 44 45 ··· 69 下一页
摘要: 一切都是从最上方的user program开始的,user program链接了MapReduce库,实现了最基本的Map函数和Reduce函数。MapReduce库先把user program的输入文件划分为M份(M为用户定义),每一份通常有16MB到64MB,如图左方所示分成了split0~4(... 阅读全文
posted @ 2014-09-05 23:03 jihite 阅读(7802) 评论(0) 推荐(0)
摘要: 百科SSH 为 Secure Shell 的缩写, 为建立在应用层和传输层基础上的安全协议。SSH 是目前较可靠,专为远程登录会话和其他网络服务提供安全性的协议。利用 SSH 协议可以有效防止远程管理过程中的信息泄露问题。SSH在正确使用时可弥补网络中的漏洞。SSH客户端适用于多种平台。几乎所有UN... 阅读全文
posted @ 2014-09-03 14:14 jihite 阅读(920) 评论(0) 推荐(0)
摘要: 1. 字典(依赖文件)2. 可执行文件名字 阅读全文
posted @ 2014-09-02 19:30 jihite 阅读(644) 评论(0) 推荐(0)
摘要: #include #include using namespace std;int main(){ const char str1[] = "abc"; const char str2[] = "abc"; const char *p1 = "abc"; const ch... 阅读全文
posted @ 2014-08-30 14:17 jihite 阅读(212) 评论(0) 推荐(0)
摘要: 说明 点击标题可进入详细讲解的章节 0. 基本命令 linux 基本命令整理 1. 压缩 解压 只打包,不压缩 tar cvf a.tar a解压:tar xvf a.tar 注:zai mac 上默认会生成很多隐藏文件,去除设置: 可以在.bash_profile或.bashrc 或者是.zshr 阅读全文
posted @ 2014-08-28 20:00 jihite 阅读(3781) 评论(2) 推荐(5)
摘要: http://code.google.com/p/json-simple/wiki/EncodingExamples#Example_1-1_-_Encode_a_JSON_objectjavac -cp ./json-simple.jar SplitDemo.javajava -cp _CLASS... 阅读全文
posted @ 2014-08-28 18:05 jihite 阅读(3355) 评论(0) 推荐(0)
摘要: 1. ArrayList(参考)import java.util.*; public class Test{ public static void main(String [] args){ ArrayList list = new ArrayList(); lis... 阅读全文
posted @ 2014-08-28 15:25 jihite 阅读(756) 评论(0) 推荐(1)
摘要: import urllibrawurl=xxxurl=urllib.unquote(rawurl)所用模块:urllib所用函数:urllib.unquote()案例import urllibrawurl = "%E6%B2%B3%E6%BA%90"url = urllib.unquote(rawu... 阅读全文
posted @ 2014-08-28 13:58 jihite 阅读(90808) 评论(2) 推荐(4)
摘要: 搜索的是洛基亚,出来的结果,基本上都是诺基亚是大众需求覆盖小众需求的问题。思路:按 原始词 和 纠错词,一起查一遍。 对原始词 高匹配度的结果,按低密度提取(最多提取2-3条)。然后和 纠错词的结果,合并去重(把上面提取的结果排在前面)然后给出 。 阅读全文
posted @ 2014-08-28 13:35 jihite 阅读(345) 评论(0) 推荐(0)
摘要: 问题由来时间戳转换(时间戳:自 1970 年1月1日(00:00:00 )至当前时间的总秒数。)#include #include int main(int argc, const char * argv[]){ time_t t; struct tm *p; t=1408... 阅读全文
posted @ 2014-08-19 19:35 jihite 阅读(33848) 评论(0) 推荐(1)
上一页 1 ··· 37 38 39 40 41 42 43 44 45 ··· 69 下一页