上一页 1 ··· 48 49 50 51 52 53 54 55 56 ··· 463 下一页
  2016年3月1日
摘要: Flume是Cloudera提供的一个高可用的,高可靠的。分布式的海量日志採集、聚合和传输的系统,Flume支持在日志系统中定制各类数据发送方,用于收集数据;同一时候,Flume提供对数据进行简单处理,并写到各种数据接受方(可定制)的能力。 Flume有两个版本号,Flume 0.9X或CDH3及更 阅读全文
posted @ 2016-03-01 10:04 gcczhongduan 阅读(441) 评论(0) 推荐(0) 编辑
摘要: // 查看局域网的ip地址 arp - a // 同一个网段。假设用虚拟机桥接则不行 sudo nmap -sS 192.168.1.* //或者sudo nmap -sS -p 22 192.168.1.0/24; if you ip address is in 192.168.1.1-255. 阅读全文
posted @ 2016-03-01 09:21 gcczhongduan 阅读(1086) 评论(0) 推荐(0) 编辑
摘要: 本章内容 ● iOS应用中的网络错误源 ● 检測网络的可达性 ● 错误处理的经验法则 ● 处理网络错误的设计模式 到眼下为止,我们所介绍的iPhone与其它系统的网络交互都是基于一切正常这个如果。本章将会放弃这个如果,并深入探究网络的真实世界。在真实世界中,事情是会出错的。有时可能是很严重的错误:手 阅读全文
posted @ 2016-03-01 08:19 gcczhongduan 阅读(231) 评论(0) 推荐(0) 编辑
  2016年2月29日
摘要: Problem Minesweeper is a computer game that became popular in the 1980s, and is still included in some versions of the Microsoft Windows operating sys 阅读全文
posted @ 2016-02-29 21:50 gcczhongduan 阅读(182) 评论(0) 推荐(0) 编辑
摘要: Swift操作符能够自行定义, 仅仅须要加上简单的标志符就可以. @infix 中置运算. 如+,-,*,/运算 @prefix 前置运算. 如- @postfix 后置运算. a++, a-- @assignment 赋值运算. +=, -=, --a, ++a // // main.swift 阅读全文
posted @ 2016-02-29 20:15 gcczhongduan 阅读(238) 评论(0) 推荐(0) 编辑
摘要: BOOST_FOREACH能够方便的遍历STL容器. 仅仅须要头文件: #include <boost/foreach.hpp> 然后遍历容器vector/list/set/deque/stack/queue都是类似的: vector<int32_t> _v; BOOST_FOREACH(int32 阅读全文
posted @ 2016-02-29 18:52 gcczhongduan 阅读(5725) 评论(0) 推荐(0) 编辑
摘要:  同事买了一个apple air。用不习惯,希望再装个win7,经过多次试验,得到例如以下操作方法: 1、在MAC系统里的“有用工具”中找到“Boot Camp 助理”。打开之后依照提示。有三项提示,这时候你要选择第二项目与第三项目。并且要插入一个空的U盘,一个带windows7(64位)系统的 阅读全文
posted @ 2016-02-29 17:37 gcczhongduan 阅读(265) 评论(0) 推荐(0) 编辑
摘要: apache Rewrite mod_rewrite的魔力 简单举例:创建三个文件。分别命名为 test.html,test.php和.htaccess test.html 输入: <h1>This is the HTML file.</h1> test.php输入: <h1>This is the 阅读全文
posted @ 2016-02-29 16:17 gcczhongduan 阅读(654) 评论(0) 推荐(0) 编辑
摘要: Best Time to Buy and Sell Stock Say you have an array for which the ith element is the price of a given stock on day i. If you were only permitted to 阅读全文
posted @ 2016-02-29 15:19 gcczhongduan 阅读(179) 评论(0) 推荐(0) 编辑
摘要: D. The Next Good String time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output In problems on s 阅读全文
posted @ 2016-02-29 15:07 gcczhongduan 阅读(402) 评论(0) 推荐(0) 编辑
上一页 1 ··· 48 49 50 51 52 53 54 55 56 ··· 463 下一页