Base Rules指的是所有元素的默认styles,比如说默认的link style,font styles,body backgrounds等等,也可以理解为为了屏蔽浏览器的差异,而对所有元素重新定义的一类CSS。 Normalize.css 和 Reset.css 是典型的Base Rules...
分类:
Web程序 时间:
2015-04-19 21:05:22
阅读次数:
209
有两种方式实现,一种方式是在html中验证,一种方式是在js中进行验证
方式一:
备注
方式二:
备注
// 长度校验
$.extend($.fn.validatebox.defaults.rules,{
maxLength: {
validator: function(value, param){
if(value.length > param[0]){...
分类:
Web程序 时间:
2015-04-18 23:46:41
阅读次数:
306
Time Limit: 1000MS
Memory Limit: 10000K
Total Submissions: 3316
Accepted: 2118
Description
The most exciting space discovery occurred at the end of the 20th century. In 1999, scie...
分类:
其他好文 时间:
2015-04-18 22:03:20
阅读次数:
181
近日做实验时,搞到w3af扫描工具时,用到discoverywebSpider命令,发现怎么也找不到discovery模块,文件搜不到,官网也没有discovery下载,后来发现,新版本的discovery改名为Crawl,如果有用到一些discovery发现模块,直接改去Crawl执行就好。
分类:
其他好文 时间:
2015-04-17 15:56:11
阅读次数:
172
‘urlManager‘=>[‘enablePrettyUrl‘=>true,//路由的路径化‘showScriptName‘=>false,//隐藏index.php‘enableStrictParsing‘=>true,//请求应匹配至少一个规则不能访问没有在规则中列出的路由‘rules‘=>[‘/mobile/<source:(user|doctor)>/<action:\w+>‘=..
分类:
其他好文 时间:
2015-04-16 20:04:16
阅读次数:
107
问题描述This English game is a simple English words connection game.
The rules are as follows: there are N English words in a dictionary, and every word has its own weight v. There is a weight if the corre...
分类:
其他好文 时间:
2015-04-16 14:24:45
阅读次数:
185
使用axis(版本1.4)调用cxf服务端一直调用不成功,郁闷了一上午啊。经过google之后,嘻嘻~终于得以解决,讲述一下我的代码和解决过程
---使用了bboss mvc集成的cxf作为ws服务端
axis需要的jar包:axis.jar,axis-ant.jar,commons-discovery-0.2.jar,commons-logging-1.0.4.jar,jaxrpc.jar,...
分类:
其他好文 时间:
2015-04-15 17:11:00
阅读次数:
128
Space AntTime Limit:1000MSMemory Limit:10000KTotal Submissions:3316Accepted:2118DescriptionThe most exciting space discovery occurred at the end of th...
分类:
其他好文 时间:
2015-04-14 21:28:34
阅读次数:
671
#首先要保证udev-post启动
chkconfig--list|grepudev
udev-post0:off1:on2:on3:on4:on5:on6:off
serviceudev-poststart
#将原有的eth0那一行注释,然后将生成的eth1改为eth0
vim/etc/udev/rules.d/70-persistent-net.rules
#PCIdevice0x8086:0x100f(e1000)
#SUBSYSTEM=="net"..
分类:
系统相关 时间:
2015-04-14 20:07:05
阅读次数:
155
摘要:做一名禅修程序员意味着什么?那意味着,你要持守我从禅宗 习得的10条戒律,它们与计算机程序员的现代世界息息相关。 查看英文原文:The 10 rules of a Zen programmer 早晨,外面下着雨,我发觉自己正坐在办公桌上琢磨有关高效率工作(efficient working.....
分类:
其他好文 时间:
2015-04-13 18:02:09
阅读次数:
155