一.测试拓扑R1---Outside----ASA842----Inside-----R2|DMZ|R3二.测试思路利用ASA的twicenat实现访问DMZ的公网地址时转向DMZ的真实地址。三.基本配置A.R1:interfaceFastEthernet0/0ipaddress202.100.1.1255.255.255.0noshutB.R2:interfaceFastEthernet0/0ipaddress10.1.1.1255.2..
分类:
其他好文 时间:
2015-01-16 19:21:49
阅读次数:
218
parms:
parm
{ push_parm_decl ($1); }
/* This is what appears inside the parens in a function declarator.
Is value is represented in the format that grokdeclarator expects. */
pa...
分类:
其他好文 时间:
2015-01-14 22:55:48
阅读次数:
148
function fn() { echo "inside the function, \$var = ".$var.""; $var = "content 2"; echo "inside the function, \$var = ".$var."";}$var = "content 1";fn(...
分类:
其他好文 时间:
2015-01-13 23:00:28
阅读次数:
138
主要介绍如何实现ViewPager自动播放,循环滚动的效果及使用。顺便解决ViewPager嵌套(ViewPager inside ViewPager)影响触摸滑动及ViewPager滑动速度设置问题。项目已开源Android Auto Scroll ViewPager@Github,欢迎star和...
分类:
移动开发 时间:
2015-01-13 21:19:33
阅读次数:
218
http://weblogs.asp.net/infinitiesloop/Truly-Understanding-Viewstate http://aspalliance.com/articleViewer.aspx?aId=134&pId=-1
分类:
Web程序 时间:
2015-01-07 14:30:06
阅读次数:
139
效果图:算法:基本思路是检测圆和圆的交点,检测扇形边和圆的交点,其中圆和圆的交点还要判断点是否在扇形的角度内部。判断方法参考:http://stackoverflow.com/questions/13652518/efficiently-find-points-inside-a-circle-sec...
分类:
其他好文 时间:
2015-01-05 14:28:36
阅读次数:
170
当我们限定了用户不能跳出其主目录之后,使用该用户登录FTP时往往会遇到这个错误:500 OOPS: vsftpd: refusing to run with writable root inside chroot ()这个问题发生在最新的这是由于下面的更新造成的:- Add stronger checks for the configuration error of running with a...
分类:
其他好文 时间:
2015-01-05 09:27:11
阅读次数:
142
FTP服务器的搭建,我要实现的需求是: 不允许匿名访问,因为我的机器不想让谁都能登录上来,随便获取文件, 需要锁定一个目录,因为在家里,我需要给媳妇下载一些电影 韩剧之类的东西,媳妇会来我机器下载,但是我不想让他随意操作我的东西。 万一删除我的配置文件,我就惨了(吐槽一下韩剧:媳妇问我,你都没...
分类:
系统相关 时间:
2015-01-03 23:41:18
阅读次数:
484
“带有Default Constructor” 的 Member Class Object
(1)如果class A 内含有一个或一个以上的member-class-object, 那么class A 的每一个constructor必须调用每个member-classes的default-constructor; 编译器会扩张已存在的constructor, 在其中安插一些代码, 使得user-code在被执行前, 先调用必要的default-constructors.
(2)C++语言要求以”mem...
分类:
编程语言 时间:
2015-01-03 10:43:33
阅读次数:
248
Es6 provides "Set", it likes array but the data inside should be unqiue."Set" is a construct function, you should call:var s = new Set();Methods:1.add...
分类:
其他好文 时间:
2015-01-02 06:26:51
阅读次数:
223