上一页 1 ··· 196 197 198 199 200 201 202 203 204 ··· 229 下一页
摘要: http://www.opensourcetesting.org/unit_c.phpAPI Sanity AutoTestDescription:An automatic generator of basic unit tests for a shared C/C++ library. It helps to quickly generate simple ("sanity" or "shallow"-quality) test cases for every function in an API using their signatures, dat 阅读全文
posted @ 2014-02-24 22:34 一天不进步,就是退步 阅读(582) 评论(0) 推荐(0) 编辑
摘要: http://snow-berry.iteye.com/blog/1991754从一台电脑virtual box克隆出来的centos.vdi复制到另外一台电脑,找不到网卡,提示Device eth0 does not seem to be present故障现象:service network restartShutting down loopback insterface: [ OK ]Bringing up loopback insterface: [ OK ]Bringing up interface eth0: Device eth0 does not seem to be pres 阅读全文
posted @ 2014-02-24 16:51 一天不进步,就是退步 阅读(650) 评论(0) 推荐(0) 编辑
摘要: http://blog.chinaunix.net/uid-25100840-id-302308.html这两天学习中的异步通知,其中有一个fcntl()函数,就是找不到,很气愤,在网上搜,也没有好的解决办法,最终,一个网友给我做了解答:是因为fcntl()是标准库,在内核源码中是找不到的,只能在系统中查找到,你可以用这个命令来实现:man fcntl所以,我才重新看看man的用法,发现确实有这么多的用处,咳,整理如下:什么是man手册首先,man是manual的简称,中文说法可以是手册。在Linux世界中,许多新手请教某条命令的用法时, 好多不耐心的老手通常会用一条命令来回答这位无助的新手, 阅读全文
posted @ 2014-02-23 23:00 一天不进步,就是退步 阅读(932) 评论(0) 推荐(0) 编辑
摘要: 前提:安装man的命令yum -y install man使用man报错[root@localhost objs]# man fcntlNo manual entry for fcntl[root@localhost objs]# cd [root@localhost ~]# man fcntlNo manual entry for fcntl[root@localhost ~]# which man/usr/bin/man解决报错的方法:yum install man-pages此时就ok了。 阅读全文
posted @ 2014-02-23 22:59 一天不进步,就是退步 阅读(5080) 评论(0) 推荐(2) 编辑
摘要: 1.CentOS - Installing Nginx from sourcehttp://articles.slicehost.com/2009/2/2/centos-installing-nginx-from-sourceVersionsAt the time of writing, the latest stable version of Nginx is 0.6.34. You can check the latest versions and change logs at the main nginx site.Building from source will allow you 阅读全文
posted @ 2014-02-23 22:40 一天不进步,就是退步 阅读(832) 评论(0) 推荐(0) 编辑
摘要: http://www.uml.org.cn/sjms/201009092.asp研磨设计模式之 策略模式2010-09-09 作者:云飞龙行 来源:云飞龙行的blog先感谢众多朋友的支持、评论和鼓励,只有多多努力,写点好的博文来回报大家的好意!接下来想写写另外一个虽然较简单,但是使用很频繁的模式——策略模式策略模式(Strategy)1 场景问题1.1 报价管理向客户报价,对于销售部门的人来讲,这是一个非常重大、非常复杂的问题,对不同的客户要报不同的价格,比如:(1)对普通客户或者是新客户报的是全价(2)对老客户报的价格,根据客户年限,给予一定的折扣(3)对大客户报的价格,根据大客户的累计消费 阅读全文
posted @ 2014-02-23 17:42 一天不进步,就是退步 阅读(547) 评论(0) 推荐(0) 编辑
摘要: (1)普通的XSS JavaScript注入(2)IMG标签XSS使用JavaScript命令(3)IMG标签无分号无引号(4)IMG标签大小写不敏感(5)HTML编码(必须有分号)(6)修正缺陷IMG标签">(7)formCharCode标签(计算器)(8)UTF-8的Unicode编码(计算器)(9)7位的UTF-8的Unicode编码是没有分号的(计算器)(10)十六进制编码也是没有分号(计算器)(11)嵌入式标签,将Javascript分开(12)嵌入式编码标签,将Javascript分开(13)嵌入式换行符(14)嵌入式回车(15)嵌入式多行注入JavaScript, 阅读全文
posted @ 2014-02-19 16:05 一天不进步,就是退步 阅读(516) 评论(0) 推荐(0) 编辑
摘要: 解决Eclipse error: “The import XXX cannot be resolved”eclipse中修改:1. 项目-->Properties-->java build path-->source-->add Folder.2. 将缺少的文件包加入source中。如出现exclusion filters have been added to nesting folders ,这样修改:1. 项目-->Properties-->java build path-->source2. 展开source下的目录,查看Exclude选项是否包 阅读全文
posted @ 2014-02-19 09:37 一天不进步,就是退步 阅读(998) 评论(0) 推荐(0) 编辑
摘要: eclipse使用import导入源代码到项目中或者通过svn检出等方式导入源码到项目中,控制台容易出现大量错误。但同时直接使用ant脚本进行编译则能编译成功。这个时候请不用担心,打开错误可以看到在很多类的开头部分:package出现错误,提示为:The declared package does not match the expected package错误的原因是:eclipse中包的定义一般是通过package包名产生,而不是通过文件的层次来定义。eclipse使用import导入源码时,导入的是文件结构而不是包形式,故报错。解决方法:点击> properties > ja 阅读全文
posted @ 2014-02-18 15:33 一天不进步,就是退步 阅读(53301) 评论(0) 推荐(3) 编辑
摘要: ByRohit T|July 23rd, 2012http://resources.infosecinstitute.com/ibm-rational-appscan/IBM Rational Appscan is one of the most widely used tools in the arena of web application penetration testing. It is a desktop application which aids security professionals to automate the process of vulnerability as 阅读全文
posted @ 2014-02-17 18:12 一天不进步,就是退步 阅读(610) 评论(0) 推荐(0) 编辑
上一页 1 ··· 196 197 198 199 200 201 202 203 204 ··· 229 下一页