题目:
Given a binary tree, check whether it is a mirror of itself (ie, symmetric around its center).
For example, this binary tree is symmetric:
1
/ 2 2
/ \ / 3 4 4 3
...
分类:
编程语言 时间:
2015-07-20 23:43:46
阅读次数:
199
Given a binary tree, check whether it is a mirror of itself (ie, symmetric around its center).For example, this binary tree is symmetric: 1 / \ ...
分类:
其他好文 时间:
2015-07-20 18:38:42
阅读次数:
93
eclipse的 preferences -> maven -> User Settings 你就可以看到你的setting.xml文件的地址了。然后将setting.xml文件打开。修改里面的mirror节点 。url指向远程仓库的地址。 这样设置之后你的所有项目都有作用。 central_mir...
分类:
其他好文 时间:
2015-07-19 23:17:42
阅读次数:
178
OS:CentOS 6.5 [GNU/Linux 2.6.32-504.23.4.el6.x86_64]Zookeeper版本:zookeeper-3.4.61. 下载zookeeper安装包wgethttp://mirror.bjtu.edu.cn/apache/zookeeper/zookeep...
分类:
其他好文 时间:
2015-07-19 01:26:15
阅读次数:
164
OS:CentOS 6.5 [GNU/Linux 2.6.32-504.23.4.el6.x86_64]HBase Version :hbase-0.94.271. get the distrubution of habse# wgethttp://mirror.bjtu.edu.cn/apache...
分类:
其他好文 时间:
2015-07-19 01:25:40
阅读次数:
159
Docker registry 工具现在已经很好的支持了 mirror 功能,使用它可以配置一个本地的 mirror 服务,将 pull 过的镜像 cache 在本地,这样其它主机再次 pull 的时候会极大提高响应速度。
使用 docker-compose 启动 registry mirror 服务
以 ubuntu 为例,首先要安装 docker 和 docker-compose。...
分类:
其他好文 时间:
2015-07-16 22:22:24
阅读次数:
134
测试配置yum仓库的http镜像一、基础环境
1、在tvm-base的基础上,复制一个镜像为tvm-yum来测试。
2、网络:
eth0:host-only(用于虚拟内网,手动固定IP,这样从宿主机可以直接连接到这个vm)
eth1:NAT(用于上外网,动态IP)
[root@tvm-yum~]#cd/etc/sysconfig/network-scrip..
分类:
Web程序 时间:
2015-07-15 13:30:09
阅读次数:
281
Given a binary tree, check whether it is a mirror of itself (ie, symmetric around its center).For example, this binary tree is symmetric: 1 / \ ...
分类:
其他好文 时间:
2015-07-15 10:42:31
阅读次数:
111
1、卸载RHEL6自带的yum源rpm-qa|grepyum|xargsrpm-e--nodeps2、下载对应的安装包#wget
http://mirror.centos.org/centos-6/6.5/os/x86_64/Packages/python-iniparse-0.3.1-2.1.el6.noarch.rpm
#wget
http://mirror.centos.org/centos-6/6.5/os/x86_64/Packages/yum-3.2.29-40...
分类:
其他好文 时间:
2015-07-14 20:40:21
阅读次数:
149
Question:Given a binary tree, check whether it is a mirror of itself (ie, symmetric around its center).For example, this binary tree is symmetric: ...
分类:
其他好文 时间:
2015-07-14 17:08:38
阅读次数:
69