一、克隆虚拟机更改虚拟级网卡 vi /ectc/udev/rules.d/70-persistent-net.rules 留“ech1”最大的网卡,记下ATTR==“。。。”一会儿需要更改 vi /etc/sysconfig/network-scripts/ifcfg-eth0 改“ONBOOT=Y ...
分类:
其他好文 时间:
2018-12-22 21:59:25
阅读次数:
238
Linters have two categories of rules: 代码修正一般有两种规则: Formatting rules: eg: max-len, no-mixed-spaces-and-tabs, keyword-spacing, comma-style... 格式化规则,例如:最 ...
分类:
其他好文 时间:
2018-12-21 21:10:51
阅读次数:
514
rules: 有经验的同学都知道它是一个列表,存储的元素时Rule类的实例,其中每一个实例都定义了一种采集站点的行为。如果有多个rule都匹配同一个链接,那么位置下标最小的一个rule将会被使用。 __init__: 在源码中可以看到,它主要就是执行了_compile_rules方法,这边暂时不讲。 ...
分类:
其他好文 时间:
2018-12-21 13:17:00
阅读次数:
217
A quick dip into javascipt The way JavaScript works HTML 用一系列的 markup 来呈现整个 content 的 structure.CSS 用一系列的 rules 来设置网页的 style.JavaScript 通过statement 达到 ...
分类:
编程语言 时间:
2018-12-20 14:19:44
阅读次数:
162
1.使用getFieldDecorator的rules规则 最简单的方法就是使用getFieldDecorator中的rules验证。rules中定义校验规则,message为校验不通过时的提示文字。 rules校验规则 rules校验规则 更多高级用法可研究 async-validator。 2. ...
分类:
其他好文 时间:
2018-12-18 14:36:41
阅读次数:
1335
代码: ? 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 $.extend($.fn.validatebox.defaults.rules, { / ...
分类:
其他好文 时间:
2018-12-15 19:47:46
阅读次数:
236
本篇博客主要讲解Drools常用的属性以及函数 属性 首先我们在resources\rules文件夹下创建一个Property.drl,还有一个DroolsApplicationPropertyTests 1. salience优先级 salience 属性的值默认为0,它的值越大执行的优先级就越高 ...
分类:
其他好文 时间:
2018-12-13 10:22:33
阅读次数:
239
It is hard to explain css selector specificty, to easy way to understand it is by playing around with it. To remember some rules can be helpful: inlin ...
分类:
Web程序 时间:
2018-12-11 11:23:55
阅读次数:
235
(占坑) A. Company Merging 签到题 B. LaTeX Expert 模拟 D. Similar Arrays 题意:构造两个长为 $n$ 的数组 $a,b$,元素取值范围是 $[1,n]$,$a$ 中的数互不相同,$b$ 中至少有一对相同的数,给出一些形如 $(x,y)$ 的限制 ...
分类:
其他好文 时间:
2018-12-10 11:42:33
阅读次数:
294
克隆192.168.138.130(主库),修改后的ip为192.168.138.130(从库),修改131机器的/etc/udev/rules.d/70-persistent-net.rules,将name=’eth0’行注释掉,name=’eth1’改成name=’eth0’,重启网络服务ser ...
分类:
数据库 时间:
2018-12-01 18:36:45
阅读次数:
218