参考文档: Ceph: http://docs.ceph.com/docs/master/start/intro/ 十六.Cinder计算节点 在采用ceph或其他商业/非商业后端存储时,建议将cinder-volume服务部署在控制节点,通过pacemaker将服务运行在active/passiv ...
分类:
其他好文 时间:
2018-07-19 21:17:30
阅读次数:
189
max(iterable) 求最大值,可以传入key。 例子: min(iterable) 求最小值,支持传入key。 例子: match(regular expression, string) 字符串正则表达式复杂匹配。 例子: merge(iterable, iterable..) heapq的 ...
分类:
编程语言 时间:
2018-07-19 21:04:01
阅读次数:
145
class Solution { public TreeNode mergeTrees(TreeNode t1, TreeNode t2) { if (t1 == null && t2 == null) return null; if(t1 == null) return t2; if(t2 == ... ...
分类:
其他好文 时间:
2018-07-19 13:34:02
阅读次数:
118
Git fetch和git pull的区别, 解决Git报错:error: You have not concluded your merge (MERGE_HEAD exists). Git fetch和git pull的区别, 解决Git报错:error: You have not conclu ...
分类:
其他好文 时间:
2018-07-19 12:01:21
阅读次数:
617
HTTP Cookie Manager Clear cookie each iteration?(每次迭代时清除自己会话区域的所有cookie); Implementation:实现方式; Cookie Policy:cookie的管理策略,建议选择compatibility,兼容性强; PS:对于 ...
分类:
Web程序 时间:
2018-07-17 20:41:04
阅读次数:
350
主要是创建文件:#!/bin/bash#-*-coding:utf-8-*-importparamikoimportosssh=paramiko.SSHClient()key=paramiko.AutoAddPolicy()ssh.set_missing_host_key_policy(key)pkey=paramiko.RSAKey.from_private_key_file(‘/root/.s
分类:
编程语言 时间:
2018-07-17 18:10:27
阅读次数:
243
14、Which command is used to display files that no longer conform to the backup retention policy? A) REPORT OBSOLETE B) SHOW DATAFILE BACKUP COPIES C) ...
分类:
其他好文 时间:
2018-07-17 12:45:06
阅读次数:
190
远程分支类似于本地分支,是指向远程仓库中的文件的指针。 1.远程分支抓取 @git fetch origin dev :拉取远程dev内容 fetch不会对本地仓库内容进行更新,只更新远端commitId 如果要把远端的分支内容也更新下来需要执行,git merge git pull=git fet ...
分类:
其他好文 时间:
2018-07-17 00:43:31
阅读次数:
114
学习目标: 在linux 上安装Git 服务器 在windows 上安装 Git 客户端 创建Git仓库,git用户 在windows 中获取项目,对项目进行增删改查,更新到服务器 创建两个分支,进行分支修改和代码合并 1. 在linux上安装git服务器 使用指令:sudo apt-get ins ...
分类:
其他好文 时间:
2018-07-15 23:18:22
阅读次数:
206
这题比较简单,思路和之前做过的Merge Two Trees类似,都是对树的遍历进行简单运用,这里选择的递归的前序遍历。 ...
分类:
其他好文 时间:
2018-07-15 12:04:30
阅读次数:
170