在搭建Ntp服务器的过程中,试过两种方案,具体如下: 方案一: 到ntp官网获取源码编译,失败 下载源码ntp-4.2.8 -> ./configure -> make 无法通过; ps,在ubuntu12.02上源码无法编译通过。不过在Fedora上这种方案是可行的。所以,不同系统结果是不一样的。 ...
分类:
其他好文 时间:
2016-04-16 16:58:05
阅读次数:
158
1、命令简介 mkdir (Make Directory 创建目录): 若指定目录不存在则创建目录。在创建目录时,要求创建目录的用户具有写权限,并应保证新建的目录没有重名。 2、用法 用法:mkdir [选项]... 目录... 3、选项 -m, --mode=模式 设置权限模式(类似chmod),... ...
分类:
系统相关 时间:
2016-04-16 16:35:50
阅读次数:
187
PrettyTable is a simple Python library designed to make it quick and easy to represent tabular data in visually appealing ASCII tables. It was inspire... ...
分类:
编程语言 时间:
2016-04-16 08:23:44
阅读次数:
520
原文:Lamp环境的详细安装教程架构LAMP环境 1。布置LAMP环境之前的准备工作 在架构LAMP环境时,确保你的Linux系统已经安装了make、gcc、gcc-c++(使用rpm -q xxx 查看系统是否已经安装软件) 解压Lamp压缩包 下载地址:http://pan.baidu.com/... ...
分类:
其他好文 时间:
2016-04-16 07:01:38
阅读次数:
244
1.安装 注意事项: 1.安装gcc 2.编译带参数: make MALLOC=libc 2.可视化客户端工具 推荐使用RedisClient,提供了基本的CRUD以及过期设置等操作的图形化接口,在项目中使用它比较方便,可纵观全局,而且一般的key都是根据一定的规则来拼接的串,比较长,敲命令不太方便 ...
分类:
其他好文 时间:
2016-04-16 00:37:48
阅读次数:
163
实现了一个官方的demo:bitmap-plasma(水波纹) 源代码就在samples文件夹下,可以自己去找。 界面: 建立项目的步骤和配置环境不明白的可以去看:http://www.cnblogs.com/jycboy/p/5393727.html 一、activity代码: make proj ...
分类:
移动开发 时间:
2016-04-16 00:36:05
阅读次数:
362
官方插件https://github.com/dawnbreaks/mysql2redis
安装插件以及依赖
//安装apr+apr-util
$wgethttp://mirror.bit.edu.cn/apache//apr/apr-1.5.1.tar.gz
$tarzxvfapr-1.5.1.tar.gz
$./configure--prefix=/usr/local/apr
$make
$makeinstall
$wgethttp://mirror.bit.edu.cn/a..
分类:
数据库 时间:
2016-04-15 23:21:57
阅读次数:
823
1) Append a slice b to an existing slice a: a = append(a, b...) 2) Copy a slice a to a new slice b: b = make([]T, len(a)) copy(b, a) 3) Delete item at ...
分类:
移动开发 时间:
2016-04-15 21:48:17
阅读次数:
188
1) Append a slice b to an existing slice a: a = append(a, b...) 2) Copy a slice a to a new slice b: b = make([]T, len(a)) copy(b, a) 3) Delete item at ...
分类:
移动开发 时间:
2016-04-15 21:29:59
阅读次数:
220
Ducks have started mysteriously appearing in your room. All ducks make the same sound: "quack". Each duck makes the sound one or more times, one after another. For example, valid sounds for a single duck are "quack", "quackquackquackquack", "quackquack", e...
分类:
其他好文 时间:
2016-04-15 02:17:44
阅读次数:
273