摘要:
http://tecadmin.net/steps-to-install-hadoop-on-centosrhel-6/#TheApache Hadoopsoftware library is a framework that allows for the distributed processing of large data sets across clusters of computers using simple programming models.Read MoreThis article will help you for step by step install and con
阅读全文
posted @ 2014-02-25 19:25
一天不进步,就是退步
阅读(968)
推荐(0)
摘要:
http://blog.csdn.net/brainkick/article/details/7176405前言: 服务器程序通常都会通过相应的配置文件来控制服务器的工作。很多情况下,配置文件会经常地被修改,在使其生效时,我们都希望不重启程序,不影响服务器的正常服务。所以所谓的配置文件”热加载”就成了一项非常重要的功能,而这方面,nginx给我们树立了非常好的榜样,值得我们去学习和借鉴。分析: 在nginx正常服务时,我们在nginx的程序程序目录执行./nginx –sreload,来实现重新加载配置文件。-s的作用是向master进程发送信号,除了reload功能之外,还可以使用stop,
阅读全文
posted @ 2014-02-24 23:03
一天不进步,就是退步
阅读(4501)
推荐(0)
摘要:
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
一天不进步,就是退步
阅读(639)
推荐(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
一天不进步,就是退步
阅读(685)
推荐(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
一天不进步,就是退步
阅读(960)
推荐(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
一天不进步,就是退步
阅读(5191)
推荐(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
一天不进步,就是退步
阅读(900)
推荐(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
一天不进步,就是退步
阅读(583)
推荐(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
一天不进步,就是退步
阅读(551)
推荐(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
一天不进步,就是退步
阅读(1143)
推荐(0)