编辑fansik_cron.sls文件: 内容如下: 说明:*需要用单引号引起来,也可以使用file.managed模块来管理cron,因为系统的cron都是以配置文件的形式存在的; present:是增加任务计划; absent:是删除任务计划。 执行:salt '*' state.sls fan ...
分类:
其他好文 时间:
2017-09-26 11:13:00
阅读次数:
166
$课文92 自找麻烦 1016. It must have been about two in the morning when I returned home. 我回到家时,肯定已是凌晨两点左右了。 1017. I tried to wake up my wife by ringing the d ...
分类:
其他好文 时间:
2017-09-24 09:51:34
阅读次数:
195
606. Construct String from Binary Tree 【easy】 You need to construct a string consists of parenthesis and integers from a binary tree with the preorder ...
分类:
其他好文 时间:
2017-09-23 20:25:55
阅读次数:
176
$课文86 失控 940. As the man tried to swing the speedboat round, the steering wheel came away in his hands. 当那人试图让快艇转弯时,方向盘脱手了。 941. He waved desperately ...
分类:
其他好文 时间:
2017-09-22 10:15:08
阅读次数:
186
HashSet 的底层实现是 HashMap public HashSet() { map = new HashMap<>(); } public boolean add(E e) { return map.put(e, PRESENT)==null; 》所以可以放入null,但只能放入一个null ...
分类:
其他好文 时间:
2017-09-21 17:53:49
阅读次数:
133
原文:背水一战 Windows 10 (59) - 控件(媒体类): Image, MediaElement[源码下载] 背水一战 Windows 10 (59) - 控件(媒体类): Image, MediaElement 作者:webabcd介绍背水一战 Windows 10 之 控件(媒体类)... ...
原文:背水一战 Windows 10 (58) - 控件(集合类): ListViewBase - ListView, GridView[源码下载] 背水一战 Windows 10 (58) - 控件(集合类): ListViewBase - ListView, GridView 作者:webabc... ...
Design a data structure that supports all following operations in average O(1) time. Note: Duplicate elements are allowed. insert(val): Inserts an ite ...
分类:
其他好文 时间:
2017-09-20 10:11:42
阅读次数:
204
Given a non-negative integer represented as a non-empty array of digits, plus one to the integer. You may assume the integer do not contain any leadin ...
分类:
其他好文 时间:
2017-09-19 23:11:55
阅读次数:
320
Spark的配置项分为三部分 Spark properties control most application parameters and can be set by using a SparkConf object, or through Java system properties. Env ...
分类:
其他好文 时间:
2017-09-19 17:51:23
阅读次数:
115