一.DStream的两类操作 DStream内部其实是RDD序列,所有的DStream操作最终都转换为RDD操作。通过分析源码,可以进一步窥探这种转换是如何进行的。 DStream有一些与RDD类似的基础属性: 依赖的其它DStream列表。 生成RDD的时间间隔。 一个名为compute的计算函数 ...
分类:
其他好文 时间:
2020-07-20 13:13:18
阅读次数:
64
华为交换机作为服务端备份配置文件一、在交换机上开启ftp服务,并创建ftp用户及相关设置,例如创建一个ftper用户;syftpserverenableaaalocal-userftperpasswordcipher7ujMko0local-userftperprivilegelevel15local-userftperftp-directoryflash:local-userftperservi
分类:
其他好文 时间:
2020-07-20 11:06:49
阅读次数:
120
参考: https://www.cnblogs.com/En-summerGarden/p/10145295.html //只能输入整数 function Integer(obj) { if (obj.value.length == 1) { obj.value = obj.value.replac ...
分类:
Web程序 时间:
2020-07-20 10:56:19
阅读次数:
153
VMware Inc.是一家软件公司。它开发了很多产品,尤其是各种云解决方案 。他的云解决方案包括云产品,数据中心产品和桌面产品等。 vSphere是在数据中心产品下的一套软件。vSphere类似微软的Office办公套件,Office办公套件包含了许多软件如Word、Excel、PPt 等。和Of ...
分类:
系统相关 时间:
2020-07-20 10:53:12
阅读次数:
159
Given a string S, return the number of substrings of length K with no repeated characters. Example 1: Input: S = "havefunonleetcode", K = 5 Output: 6 ...
分类:
其他好文 时间:
2020-07-20 10:52:27
阅读次数:
55
UGO(User/Group/Others) 目前在 Linux/Unix 文件系统中使用,也是使用最广泛的权限控制方式。是一种粗 粒度的文件系统权限控制模式。 ACL(Access Control List)访问控制列表 包括三个方面: 权限模式(Scheme) 1、IP:从 IP 地址粒度进行权 ...
分类:
其他好文 时间:
2020-07-20 10:42:00
阅读次数:
93
问题 import Mock from 'mockjs' var data = Mock.mock({ // 属性 list 的值是一个数组,其中含有 1 到 10 个元素 'list|1-10': [{ // 属性 id 是一个自增数,起始值为 1,每次增 1 'id|+1': 1 }] }) / ...
分类:
其他好文 时间:
2020-07-20 00:02:09
阅读次数:
246
https://leetcode-cn.com/problems/longest-increasing-subsequence/ 1、题目: 给定一个无序的整数数组,找到其中最长上升子序列的长度。 示例: 输入: [10,9,2,5,3,7,101,18]输出: 4 解释: 最长的上升子序列是 [2 ...
分类:
其他好文 时间:
2020-07-19 23:31:12
阅读次数:
70
表与序列化类准备 models.py from django.db import models # Create your models here. class Book(models.Model): name = models.CharField(max_length=32) price = mo ...
分类:
其他好文 时间:
2020-07-19 23:27:00
阅读次数:
62
class Solution { public int maxCoins(int[] nums) { int n = nums.length + 2; int[] points = new int[n]; points[0] = 1; points[n-1] = 1; for(int i = 1; ...
分类:
其他好文 时间:
2020-07-19 18:06:08
阅读次数:
64