kafka:(./kafka-server-start.sh ../config/server.properties &)flume:(bin/flume-ng agent -n agent -c conf -f conf/flume-node -Dflume.monitoring.type=htt...
分类:
其他好文 时间:
2015-11-16 10:46:09
阅读次数:
126
<!DOCTYPE?html?PUBLIC?"-//W3C//DTD?HTML?4.01?Transitional//EN"?"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta?http-equiv="Content-Type"?content="text/html;?charset=UTF-8">
<...
分类:
Web程序 时间:
2015-11-16 09:31:45
阅读次数:
132
安装就不说了,上篇有写 location /chat/sub { #ngx.header.content_type = "text/html"; default_type 'text/html'; content_by_lua_file /data/www/lua/sub.lua; ...
分类:
其他好文 时间:
2015-11-15 19:04:14
阅读次数:
464
HTTP是一个适用于分布式超媒体信息系统的应用层协议。 特点:1. 支持C/S模式2. 简单快速。 客户向服务器请求服务时,只需传送请求方法和路径。 每种方法规定了与服务器联系的不同类型3. 灵活。 HTTP允许传输任意类型的数据对象. 由Content-Type加以标记.4. 无连接。 限制每次连...
分类:
Web程序 时间:
2015-11-15 17:31:45
阅读次数:
199
把.net 1.1的项目升级到4.0,遇到了原来反射方法获取不到参数的情况,原来是1.1中 Type.GetField(string)可以随意获取非public成员,而在4.0中必须使用GetField(String, BindingFlags)来指定。
声明一变量 ? ? ? ? ? ? ?module_param(name, type, perm); name既是用户看到的参数名,又是模块内接受参数的变量; type表示参数的数据类型,是下列之一:byte, short, ushort, int, uint, lon...
分类:
其他好文 时间:
2015-11-15 14:56:37
阅读次数:
173
主题文件构成:主页:home.phpindex.php文章页:single-{post_type}.php – 如果文章类型是videos(即视频),WordPress就会去查找single-videos.php(WordPress 3.0及以上版本支持)single.phpindex.php页面自...
分类:
其他好文 时间:
2015-11-15 14:40:14
阅读次数:
213
unit HookMain;interfaceuses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ExtCtrls;type THookForm = class(TFo...
分类:
移动开发 时间:
2015-11-15 07:31:41
阅读次数:
374
unit Main;interfaceuses SysUtils, WinTypes, WinProcs, Messages, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls;type TMainForm = class(TForm)...
分类:
移动开发 时间:
2015-11-15 07:31:19
阅读次数:
386
今天遇到这么几个问题:1.$().map(); map() 把每个元素通过函数传递到当前匹配集合中,生成包含返回值的新的 jQuery 对象。2 选择器(: >) :是指定type :input 元素 .radio type="radio"的元素3.$('div :check...
分类:
其他好文 时间:
2015-11-15 00:52:57
阅读次数:
365