leetcode 1005 Sort the array first. The negation rules are quite simple: 1. execute negation for K times,so use a for loop 2. after negation, if the n ...
分类:
其他好文 时间:
2019-03-14 01:04:19
阅读次数:
196
#(1)修改promethues的configmap文件,添加告警规则1)修改prometheus的configmap,配置告警规则rule_files:-/etc/prometheus/rules.ymlrules.yml:|+groups:-name:noah_pod.rulesrules:-alert:Pod_all_cpu_usageexpr:(sumby(name)(irate(cont
分类:
微信 时间:
2019-03-13 21:39:12
阅读次数:
449
使用element-ui自带的表单校验,注意几个点: 1.el-form通过rules属性,绑定校验规则 2.el-form-item的prop属性,设置为需要校验的字段名 3.提交后二次校验 element-ui文档:http://element-cn.eleme.io/#/zh-CN/compo ...
分类:
其他好文 时间:
2019-03-08 17:02:15
阅读次数:
928
Little Petya likes to play a lot. Most of all he likes to play a game «Holes». This is a game for one person with following rules: There are N holes l ...
分类:
其他好文 时间:
2019-03-05 18:46:47
阅读次数:
163
1109 Group Photo (25 分) Formation is very important when taking a group photo. Given the rules of forming K rows with N people as the following: The n ...
分类:
其他好文 时间:
2019-02-27 01:03:44
阅读次数:
175
1016 Phone Bills (25 分) A long-distance telephone company charges its customers by the following rules: Making a long-distance call costs a certain am ...
分类:
其他好文 时间:
2019-02-25 18:52:46
阅读次数:
141
前面讲过 将css文件引入到js文件中,然后一起打包成js文件,现在我们学习单独提取分离css并且打包。 安装插件 配置 引入插件 rules 设置 ? plugins 设置 截图 运行命令打包 ...
分类:
Web程序 时间:
2019-02-24 10:38:00
阅读次数:
190
37. Sudoku Solver Write a program to solve a Sudoku puzzle by filling the empty cells. A sudoku solution must satisfy all of the following rules: Empt ...
分类:
Web程序 时间:
2019-02-21 21:37:51
阅读次数:
232
rules = ( Rule(LinkExtractor(allow=r'/films/\d+'),process_links='deal_links' ,callback='parse_maoyan',follow=False), ) def deal_links(self,links): for... ...
分类:
其他好文 时间:
2019-02-19 15:02:42
阅读次数:
191
A long-distance telephone company charges its customers by the following rules: Making a long-distance call costs a certain amount per minute, dependi ...
分类:
其他好文 时间:
2019-02-16 15:16:03
阅读次数:
176