etcd提供了多种部署集群的方式,在「 "通过静态发现方式部署etcd集群" 」 一文中我们介绍了如何通过静态发现方式部署集群。 不过很多时候,你只知道你要搭建一个多大(包含多少节点)的集群,但是并不能事先知道这几个节点的ip,从而无法使用 参数。 这个时候,你就需要使用discovery的方式来搭 ...
分类:
其他好文 时间:
2019-12-05 18:37:26
阅读次数:
105
pygame中获取鼠标位置:pos = pygame.mouse.get_pos() 把一连串的位置添加到一个列表中 points = [ ] points.append(pos) 用这个列表在窗口中连线 连线有三个方法 :1.pygame.draw.lines(要画的平面,线的颜色,是否闭合(Tr ...
分类:
其他好文 时间:
2019-11-27 23:49:35
阅读次数:
211
题目如下: On a plane there are n points with integer coordinates points[i] = [xi, yi]. Your task is to find the minimum time in seconds to visit all point ...
分类:
其他好文 时间:
2019-11-25 11:35:41
阅读次数:
61
11月19日,业界应用最为广泛的Kubernetes管理平台创建者Rancher Labs(以下简称Rancher)宣布Rio发布了beta版本,这是基于Kubernetes的应用程序部署引擎。它于今年5月份推出,现在最新的版本是v0.6.0。Rio结合了多种云原生技术,从而简化了将代码从测试环境发 ...
分类:
其他好文 时间:
2019-11-25 11:31:15
阅读次数:
77
Fall 2019Assignment 2Assigned on 13 November 2019Due on 9 December 2019 Total Points: 150This assignment focuses on clustering study, and in particula ...
分类:
其他好文 时间:
2019-11-24 19:19:12
阅读次数:
91
地址 https://leetcode-cn.com/problems/minimum-time-visiting-all-points/submissions/ 题目描述平面上有 n 个点,点的位置用整数坐标表示 points[i] = [xi, yi]。请你计算访问所有这些点需要的最小时间(以秒 ...
分类:
其他好文 时间:
2019-11-24 15:36:29
阅读次数:
53
链接: https://vjudge.net/problem/LightOJ 1058 题意: There are n distinct points in the plane, given by their integer coordinates. Find the number of paral ...
分类:
其他好文 时间:
2019-11-19 01:09:33
阅读次数:
70
前言 前段时间部门搭建新系统,需要出异常后统一接口的返回格式,于是用到了Spring的注解@RestControllerAdvice。现在把此注解的用法总结一下。 用法 首先定义返回对象ResponseDto 1 package com.staff.points.common; 2 3 import ...
分类:
编程语言 时间:
2019-11-16 23:37:57
阅读次数:
126
pointnet pointnet++ pointcnn pointconv DGCNN pointsift ...
分类:
其他好文 时间:
2019-11-16 21:40:25
阅读次数:
222
```yaml deployments: - apiVersion: apps/v1beta1 kind: Deployment metadata: labels: system_serviceUnit: bas-biz-manage-app system_workload: bas-biz-man... ...
分类:
Web程序 时间:
2019-11-15 22:30:54
阅读次数:
119