Symmetric Tree:Given a binary tree, check whether it is a mirror of itself (ie, symmetric around its center). For example, this binary tree is symmetr...
分类:
其他好文 时间:
2016-03-01 20:40:52
阅读次数:
124
现象;执行yum命令的时候error:rpmts_HdrFromFdno:HeaderV3RSA/SHA1Signature,keyIDc105b9de:BAD问题:这个主要是在centos6上nss-softokn有bug解决方式:#把key删掉
rpm-qa|grepgpg
rpm-egpg-pubkey-c105b9de-4e0fd3a3
wgethttp://mirror.centos.org/centos/6/os/x86_64/Packag..
分类:
其他好文 时间:
2016-03-01 16:04:40
阅读次数:
186
下载 wget http://mirror.bit.edu.cn/apache/hadoop/common/stable/hadoop-2.7.2.tar.gz 解压到/usr/local/hadoop目录下(先创建此目录) 用root身份新建hadoop用户,并设定密码 useradd hadoo
分类:
其他好文 时间:
2016-02-22 11:59:34
阅读次数:
117
Docker加速器使用时不需要任何额外操作。就像这样下载官方Ubuntu镜像实际操作(添加镜像源):在/etc/sysconfig/docker下添加两条命令other_args="--registry-mirror=http://74ecfe5d.m.daocloud.io"
OPTIONS=‘--registry-mirror=
http://74ecfe5d.m.daocloud.io‘重启Docker服务..
分类:
其他好文 时间:
2016-02-21 18:45:32
阅读次数:
3319
1,安装第三方xenyum源#yuminstallhttp://au1.mirror.crc.id.au/repo/kernel-xen-release-6-5.noarch.rpm2,安装桥工具#yum-yinstallbridge-utils3,安装xen#yuminstallxen444,验证是否安装成功#ls-l/boot/xen.gz5,安装xen内核#yuminstallkernel-xen6,关闭对xen有影响的服务..
分类:
其他好文 时间:
2016-02-12 17:33:08
阅读次数:
365
1,安装第三方xenyum源#yuminstallhttp://au1.mirror.crc.id.au/repo/kernel-xen-release-6-5.noarch.rpm2,安装桥工具#yum-yinstallbridge-utils3,安装xen#yuminstallxen444,验证是否安装成功#ls-l/boot/xen.gz5,安装xen内核#yuminstallkernel-xen6,关闭对xen有影响的服务..
分类:
其他好文 时间:
2016-02-11 18:07:49
阅读次数:
357
Ubuntu 14.04 LTS于前天(2014.4.17)公布, 我今天将我的系统升级到最新, 体验了下最新的UI系统. 我选择了Ubuntu Gnome 的GUI界面.我曾经的系统是12.04lts也选择了Gnome Shell的图形界面. 1. 163更新源 deb http://mirror
分类:
系统相关 时间:
2016-02-09 08:57:09
阅读次数:
302
mave中repository 与mirror的区别 http://my.oschina.net/sunchp/blog/100634 参考文档 http://www.yiibai.com/maven/include-library-manully-into-maven-local-reposito
分类:
其他好文 时间:
2016-02-08 21:24:23
阅读次数:
201
bundle config 'mirror.https://rubygems.org' 'https://ruby.taobao.org'07 #0开始是8进制 0x 16进制 0b 二进制1_234 # 1234#{ expr } 替换任意 Ruby 表达式的值为一个字符串{'a'=>2}一般小写
分类:
其他好文 时间:
2016-02-06 18:18:59
阅读次数:
137
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 /
分类:
其他好文 时间:
2016-01-30 17:51:16
阅读次数:
113