参考链接: mgr balancer模式探索及配置方法1 mgr balancer模式探索及配置方法2 1.ceph mgr module enable balancer [root@controller ~]# ceph mgr module enable balancer module 'bal ...
分类:
其他好文 时间:
2020-04-27 15:41:11
阅读次数:
182
DecimalFormat df =new DecimalFormat(",##0.00"); df.format("123456.12556") // 结果: 123,456.13 // freemarker写法 // ${plan.premium?string(",##0.00")} ...
分类:
其他好文 时间:
2020-04-26 19:11:15
阅读次数:
59
LINK: "Spiders Evil Plan" 非常巧妙的题目。 选出k条边使得这k条边的路径覆盖x且覆盖的边的边权和最大。 类似于桥那道题还是选择2k个点 覆盖x那么以x为根做长链剖分即可。 不过这样过不了。 还是考虑树的直径 可以发现覆盖x的那些点一定有一个是树的直径的两端之一。 所以我们直 ...
分类:
其他好文 时间:
2020-04-24 22:11:17
阅读次数:
65
本文介绍如何安装和升级使用rancher搭建的k8s 2020/04/23更新 rke 1.1.0 版新增了重大功能,无需停机即可更新 k8s 集群,详情参见: "how upgrades work" 1. 下载 rke 在 "rke release note" 页面下载需要的版本 2. 查看 rk ...
分类:
其他好文 时间:
2020-04-23 22:53:56
阅读次数:
81
int focuseHandle = gv.FocusedRowHandle; GridColumn column = gv.Columns["plan_id"]; if (column != null) { if (focuseHandle >= 0) { var topRow = gv.GetR ...
分类:
其他好文 时间:
2020-04-23 12:10:14
阅读次数:
253
Latest: Support Plan and Cloud Manager Access Cloud Manager: https://cloud.mongodb.com/ Access Mongo Support https://support.mongodb.com Tuning https: ...
分类:
其他好文 时间:
2020-04-21 16:46:29
阅读次数:
54
Problem : Given an unsorted array of integers, find the length of longest continuous increasing subsequence (subarray). Example 1: Example 2: Note: Le ...
分类:
其他好文 时间:
2020-04-18 14:06:13
阅读次数:
59
Problem : You are given n pairs of numbers. In every pair, the first number is always smaller than the second number. Now, we define a pair (c, d) can ...
分类:
其他好文 时间:
2020-04-18 10:09:19
阅读次数:
67
Given a binary tree, return the values of its boundary in anti-clockwise direction starting from root. Boundary includes left boundary, leaves, and ri ...
分类:
其他好文 时间:
2020-04-15 21:10:31
阅读次数:
65
Concentrated on the listed 3 things PCIe total solutions, especially the cutting-edge technology ... Coding quality, matrurity and efficiency (C,Bash, ...
分类:
其他好文 时间:
2020-04-08 18:47:52
阅读次数:
74