Objective-C Protocols 1.1 Formal Protocols A formal protocol (like an informal protocol) is a named list of methods and properties. formal protocol (像...
分类:
其他好文 时间:
2015-05-11 10:31:26
阅读次数:
115
Mr. B has recently discovered the grid named "spiral grid".Construct the grid like the following figure. (The grid is actually infinite. The figure is...
分类:
其他好文 时间:
2015-05-10 20:26:16
阅读次数:
121
安装bindyum install -y bind bind-chroot bind-utis如果是Centos 5# yum -y install bind caching-nameserver文件结构# ll /etc/named.*-rw-r----- 1 root named 1021 Ma...
分类:
其他好文 时间:
2015-05-09 16:17:37
阅读次数:
138
遇到Error loading MySQLdb module: No module named MySQLdb
最容易想到的做法是#sudo pip install MySQLdb
但是实际是这样的sudo pip install python-mysqldb
如果会出现如下提示’EnvironmentError: mysql_config not found’,这是一个依赖问题...
分类:
数据库 时间:
2015-05-08 20:24:24
阅读次数:
199
Python第三方模块中一般会自带setup.py文件,在Windows环境下,我们只需要使用命令cd c:\Temp\foopython setup.py install两个命令就可以完成第三方模块的安装了。第一个cd命令将当前目前切换到待安装的第三方模块的目录下(这里假设第三方模块解压后的目录为...
分类:
其他好文 时间:
2015-05-08 12:39:18
阅读次数:
135
py2exe打包,与py2exe error: "ImportError: No module named httplib"的解决。...
分类:
Web程序 时间:
2015-05-07 16:53:10
阅读次数:
228
4.1 Introduction 4.2 stat, fstat, fstatat, and lstat Functions The lstat function is similar to stat, but when the named file is a symbolic link, lsta...
分类:
其他好文 时间:
2015-05-04 23:38:09
阅读次数:
194
1.添加named用户和用户组
groupadd-rnamed
useradd-r-M-s/bin/nologin-gnamednamed
2.编译安装(提前安装gcc)
tarxfbind-9.9.2.tar.gz
cdbind-9.9.2
./configure--prefix=/usr/local/bind98--enable-threads--enable-epoll--disable-chroot
3.建立配置文件/usr/local/bind98/e..
分类:
其他好文 时间:
2015-05-04 20:27:07
阅读次数:
210
7 Managing Database Workload Using Services
Note:
A database service can only be offered on a single network.
Caution:
By default, any named user may create a server pool. To restrict the oper...
分类:
数据库 时间:
2015-05-04 13:53:34
阅读次数:
253
解决冲突场景:创建一个新的分支feature1,然后在README.txt文件里添加4 create a branch named feature1,然后在feature1分支上提交。提交后切换到master分支,再在master分支上将最后一行修改为create a new branch named feature1,再提交,现在,master分支和feature1分支各自都分别有新的提交:...
分类:
其他好文 时间:
2015-05-03 13:27:09
阅读次数:
106