今日设置iptables时,自己手动到/etc/sysconfig/iptables 添加了一条规则,并且把INPUT策略设置为丢 :INPUT DROP [0:0]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [0:0]
-A INPUT -m state --state ESTABLISHED,REL...
分类:
其他好文 时间:
2014-08-31 18:53:41
阅读次数:
145
【1】什么是状态模式?不同的状态,不同的行为。或者说,每个状态有着相应的行为。【2】状态模式的代码示例:代码示例: 1 #include 2 #include 3 using namespace std; 4 5 class Work; 6 class State; 7 class Foren...
分类:
其他好文 时间:
2014-08-30 21:35:10
阅读次数:
332
这是《Lua程序设计》中的例子,做个简单记录。
#include
#include
#include
static void stackDump(lua_State *L){
int i;
int top = lua_gettop(L);
for(i = 1; i <= top; i++){
int t = lua_type(L, i);
...
AppTransition是一个Activity过渡动画控制类,“ State management of app transitions. ”。提供了创建缩小、放大动画接口,加载动画等接口。1、mConfigShortAnimTime
过渡动画持续时长。这个值只有在创建缩小(createThumbnailAnimationLocked ()、放大(createScaleUpAnimat...
分类:
移动开发 时间:
2014-08-29 20:10:48
阅读次数:
489
Attribute
SSD (Solid State Drive)
HDD (Hard Disk Drive)
Power Draw / Battery Life
(功耗/电池寿命)
Less power draw, averages 2 – 3 watts, resulting in 30+ minute battery boost√
(更...
分类:
其他好文 时间:
2014-08-29 20:07:18
阅读次数:
335
24 Use Cases24.1 适合场景? Archiving and event logging? 归档和日志记录? Document and Content Management Systems - as a document-oriented (JSON) database, MongoDB...
分类:
数据库 时间:
2014-08-29 20:01:58
阅读次数:
314
eXosip2 INVITE and Call Management SIP messages and call control API Functions int eXosip_call_set_reference (struct eXosip_t *excontext, int id, void...
分类:
其他好文 时间:
2014-08-29 20:00:48
阅读次数:
607
SIP messages and call control API The SIP messages and call control API. More... Modules eXosip2 INVITE and Call Management eXosip2 request outside of...
必须。必须是根元素。包含一个或多个元素。 Attributes:xmlns:androidString,必须。定义XML的命名空间,必须是“http://schemas.android.com/apk/res/android”. android:state_pressed ...
分类:
移动开发 时间:
2014-08-29 19:45:48
阅读次数:
230
本文对如何诊断RAC环境中节点重启问题进行了介绍。适用于10gR2和11gR1.
首先我们对能够导致节点重启的CRS进程进行介绍。
1.ocssd : 它的主要功能是节点监控(Node Monitoring)和组管理(Group Management),它是CRS的核心进程之一。节点监控是指监控集群中节点的健康,监控的方法是通过网络心跳(network heartbeat)和磁盘心跳(...
分类:
其他好文 时间:
2014-08-29 18:24:08
阅读次数:
272