添加yum仓库Base#cobblerrepoadd--name=CentOS-Base--mirror=http://mirrors.aliyun.com/repo/Centos-7.repo--arch=x86_64--breed=yumupdate#cobblerrepoadd--name=update--mirror=http://mirrors.aliyun.com/centos/7.2.1511/updates/x86_64/--arch=x86_64--breed=yumEple#cob..
分类:
其他好文 时间:
2016-01-15 17:58:57
阅读次数:
154
题目描述: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 ...
分类:
编程语言 时间:
2016-01-13 19:16:50
阅读次数:
145
1》 下载php源代码 #wget http://cn2.php.net/get/php-5.4.30.tar.gz/from/this/mirror 官网5.2的版本号貌似没提供 为了php-5.2.13-fpm php-5.2.13.tar.gz兼容 去我百度分享地址下载 http://pan....
分类:
Web程序 时间:
2016-01-13 10:51:31
阅读次数:
207
实现要求:三级菜单可依次选择进入各子菜单所需知识点:列表、字典 1 #!/usr/local/env python3 2 # -*- coding:utf-8 -*- 3 ''' 4 Author:@Alvin Lv 5 Blog:http://www.cnblogs.com/Xiaolong-Lv...
分类:
其他好文 时间:
2016-01-13 01:59:29
阅读次数:
178
#!/usr/bin/envpython//程序开始
#Date:2016-01-12
importsys
wide=51
title=‘shoplist‘
none=(wide-len(title)-2)//2
Goods=[‘Iphone‘,‘Quecao‘,‘LV‘,‘Trival‘,‘watch‘]
Prices=[5000,99,999,19999,3000]
print‘*‘*wide
print‘*‘*none+‘‘+title+‘‘+‘*‘*none
printGoods
prin..
分类:
编程语言 时间:
2016-01-13 00:48:26
阅读次数:
217
题目: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 / ...
分类:
其他好文 时间:
2016-01-10 11:34:47
阅读次数:
142
ListView可以显示多种类型的条目布局,这里写显示两种布局的情况,其他类似这是MainActivity:,MainActivity的布局就是一个ListViewpublic class MainActivity extends Activity { private ListView lv;...
分类:
其他好文 时间:
2016-01-08 13:18:52
阅读次数:
183
openstackRPM同步到本地:wget-m-c-np--reject=html,gif,A,D-nH--cut-dirs=4-P/data0/src/openstack-havana/http://repos.fedorapeople.org/repos/openstack/openstack-havana/epel-6/PuppetRPM同步到本地:wget-m-c-np--reject=html,gif,A,D-nH--cut-dirs=4-P/data0/src/puppe..
分类:
其他好文 时间:
2016-01-07 18:27:04
阅读次数:
396
具体使用的CADisplayLink和贝塞尔曲线效果://// DisplayView.m// CustomAnimation//// Created by LV on 16/1/6.// Copyright © 2016年 Wieye. All rights reserved.//#imp...
分类:
移动开发 时间:
2016-01-06 20:00:11
阅读次数:
215
LVM扩容、缩减和删除常用命令:lvextend:LV扩容vgextend:VG扩容lvreduce:LV缩减vgreduce:VG缩减lvremove:LV删除vgremove:VG删除pvmove:PV数据移动到所属逻辑卷的其它物理卷pvremove:PV删除vgchange:VG状态改变一、LVM扩容1、LV扩容之前,先查看LV和所属VG可用容量(VF..
分类:
其他好文 时间:
2016-01-06 06:52:13
阅读次数:
293