hello cc

02 2017 档案

摘要:1. 安装locate工具 yum install mlocate 2. 安装netstat 和 ifconfig yum install net-tools 3. web server yum -y install httpd 配置/etc/httpd/conf/httpd.conf 后ok。。。 阅读全文

posted @ 2017-02-28 14:00 星际海盗

摘要:一 基本使用 rsync的配置是比较简单的。 参照以下两个基本没有问题, http://blog.csdn.net/zpf336/article/details/51659666 http://www.cnblogs.com/JohnABC/p/6203524.html http://www.tui 阅读全文

posted @ 2017-02-22 23:25 星际海盗

摘要:解析xml的库有: xml(python自带)、libxml2 、lxml 、xpath... 一:xml import xml.etree.ElementTree from StringIO import StringIO file = StringIO(data) doc = xml.etree 阅读全文

posted @ 2017-02-19 16:24 星际海盗

摘要:1.修改字段 1)修改原有字段长度: alter table news modify column title varchar(100); 修改news表的title字段长度为100. 2)增加一个新字段: alter table news add name char(20); 3)删除一个字段: 阅读全文

posted @ 2017-02-14 10:40 星际海盗 阅读(307) 评论(0) 推荐(0)

摘要:一:基本介绍 1. 介绍: Queue是python标准库中的线程安全的队列(FIFO)实现,提供了一个适用于多线程编程的先进先出的数据结构,即队列,用来在生产者和消费者线程之间的信息传递。 2. 类型: 队列按数据存放的类型分为:FIFO(First in First Out,先进先出)和LIFO 阅读全文

posted @ 2017-02-11 09:39 星际海盗 阅读(317) 评论(0) 推荐(0)

hello man