where($map)->find(); if($user){ if($user['state']==1){ session($client_ip...
分类:
其他好文 时间:
2015-02-14 16:08:06
阅读次数:
119
storm-hdfs 这个插件支持 Rotation Actions 这个功能,官方文档解释是这样的,
### File Rotation Actions
Both the HDFS bolt and Trident State implementation allow you to register any number of `RotationAction`s.
What...
分类:
其他好文 时间:
2015-02-14 11:02:20
阅读次数:
185
单链表比较简单,写起来也没费什么事。
下面奉上代码。如有 bug,欢迎指出。
// SingleList.cpp : 定义控制台应用程序的入口点。
//
#include "stdafx.h"
#include
enum E_State
{
E_State_Error = 0,
E_State_OK = 1,
};
typedef int ElementType;
struct si...
分类:
其他好文 时间:
2015-02-13 16:45:18
阅读次数:
174
??
先在drawable目录下建立xml文件:
<item android:state_expanded="false"
android:drawable="@drawable/d...
分类:
其他好文 时间:
2015-02-12 22:52:47
阅读次数:
232
#include "StdAfx.h"#include "LuaEx.h"lua_State *L=NULL;CFun Lua_Fun;CLuaEx::CLuaEx(void){}CLuaEx::~CLuaEx(void){}static int Lua_Xun(lua_State *L){ ...
分类:
其他好文 时间:
2015-02-12 20:02:05
阅读次数:
195
微信公众平台,使用Ruby On Rails + Win7 在取得OpenID时,如果简单的使用http.get方法,会出现如下SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate ver....
分类:
微信 时间:
2015-02-12 17:50:14
阅读次数:
584
JavaScript技巧篇:1》状态机 var state = function () { this.count = 0; this.fun = null; this.nowcount = 0; ...
分类:
编程语言 时间:
2015-02-12 16:01:42
阅读次数:
169
原文:JavaScript技巧&写法JavaScript技巧篇: 1》状态机 var state = function () { this.count = 0; this.fun = null; this.nowcount = 0; }; ...
分类:
编程语言 时间:
2015-02-12 15:26:01
阅读次数:
192
1,C:\>%windir%\system32\inetsrv\appcmd.exelistsitesSITE"DefaultWebSite"(id:1,bindings:net.tcp/808:*,net.pipe/*,net.msmq/localhost,msmq.formatname/localhost,http/*82:,state:Stopped)SITE"mysite"(id:2,bindings:http/*:80:,state:Stopped)2..
分类:
其他好文 时间:
2015-02-11 19:07:38
阅读次数:
221
admin = Context.Request.Cookies["user"].Values["username"].ToString(); Hashtable hash = new Hashtable(); hash.Add("p2", admin); hash.Add("p_state", 2)...
分类:
其他好文 时间:
2015-02-11 18:00:39
阅读次数:
122