1、在windows下安装nginx,解压之后,在此目录下,dos进去,start nginx2、配置文件:http { include mime.types; default_type application/octet-stream; sendfile on; keepalive_timeou....
分类:
其他好文 时间:
2015-09-09 19:07:21
阅读次数:
158
grep:Linux文本处理三剑客:grep:文本过滤工具;sed:文本编辑器(行);streameditorawk:文本报告生成器;Linux上awk的实现为gawkgrep:GlobalsearchREgularexpressionandPrintouttheline.作用:文本搜索工具,根据用户指定的“模式(pattern)”逐行去搜索目标文本,打印匹配到的..
分类:
其他好文 时间:
2015-09-09 14:53:53
阅读次数:
219
What's the difference between map and flatmap? First, let's show what map is. To show that, I need a source stream, so I'm going to make an interval. ...
分类:
Web程序 时间:
2015-09-07 21:08:21
阅读次数:
498
Higher order Array functions such as filter, map and reduce are great for functional programming, but they can incur performance problems.var ary = [1...
分类:
Web程序 时间:
2015-09-07 19:31:19
阅读次数:
256
public static T Copy(T RealObject) { using (Stream objectStream = new MemoryStream()) { //利用 System.Runtim...
分类:
其他好文 时间:
2015-09-07 09:26:43
阅读次数:
151
环境: Windows 2008 服务器,Oracle 11g ?r2 数据库 任务要求: 有三个数据库实例,一个实例供管理子系统使用,一个实例供利用子系统使用,还有一个实例专门做备份。 选择的技术: Oracle Stream Replication(...
分类:
数据库 时间:
2015-09-06 18:42:37
阅读次数:
345
转自: http://confluent.io/blog/stream-data-platform-2 http://www.infoq.com/cn/news/2015/03/apache-kafka-stream-data-advice/ 在《流数据平台构建实战指南》第一部分中,Confluen...
分类:
Web程序 时间:
2015-09-05 16:18:16
阅读次数:
212
转自: http://www.confluent.io/blog/stream-data-platform-1/ These days you hear a lot about "stream processing", "event data", and "real-time", often rel...
分类:
Web程序 时间:
2015-09-05 16:11:57
阅读次数:
289
5.I/O流————对象和类入门 a.流和基本文件 流 是一个由字符构成的流(flow)。如果流向程序,被称为输入流。如果流出程序,则称为输出流。输入流可能由键盘或文件提供,输出流可以流向屏幕或文件。 cin和cout就是输入输出流的例子。 如果定义了一个输入流:in_stream 这个流来源与某个...
分类:
编程语言 时间:
2015-09-05 09:47:29
阅读次数:
299
编译时出现下列问题时:In file included from /usr/local/src/php-5.4.6/ext/gd/gd.c:103:/usr/local/src/php-5.4.6/ext/gd/gd_ctx.c: 在函数‘_php_image_stream_putc’中:/usr/...
分类:
Web程序 时间:
2015-09-04 18:37:11
阅读次数:
175