1、Memcache用到了libevent(这个库用于Socket的处理),需要安装libevent:(1)tar zxvf libevent.tar.gz
后进入解压后的文件夹(2)./configure --prefix=/usr/lib(3)make &&make
install(4)测试li...
分类:
系统相关 时间:
2014-06-07 02:11:48
阅读次数:
384
Given a binary tree, determine if it is a valid
binary search tree (BST).Assume a BST is defined as follows:The left subtree of
a node contains only n...
分类:
其他好文 时间:
2014-06-03 14:00:56
阅读次数:
281
bfs+优先队列。wa了N次,才发现可以停留等待楼梯变换方向。 1 #include 2
#include 3 #include 4 #include 5 using namespace std; 6 7 #define MAXNUM 55 8 9
typedef struct node...
分类:
其他好文 时间:
2014-06-03 13:26:06
阅读次数:
274
环境:CentOS 5.0
操作系统一.安装:1.安装Vsftpd服务相关部件:[root@KcentOS5 ~]# yum install vsftpd*Dependencies
Resolved===================================================...
分类:
其他好文 时间:
2014-06-03 13:18:20
阅读次数:
388
本打算带着唐帅弟弟研究几天手机开发,没想到这老弟天天遇到问题,原来认为他除了错误,没想到啊,我一上手也到处
是错误,折磨我们哥俩了,今天我俩干 了几把扑克,PK了一次羽毛球,回来研究了一会,阿门问题解决了:sudo chmod +x
/home/xhs/install/andriod/sdk/pla...
分类:
移动开发 时间:
2014-06-03 13:15:46
阅读次数:
243
移植android3.3到ZedBoard follow
doc:Android移植Guide1.3.pdf follow website: sudo apt-get install git gnupg flex
bison gperf build-essential zip curl libc6-...
分类:
其他好文 时间:
2014-05-30 23:08:44
阅读次数:
542
今天,在LinuxSLC5.3上安装了中文输入法,过程如下:原文出自【比特网】,转载请保留原文链接:http://soft.chinabyte.com/os/102/11459102.shtml1.安装中文字体库
yum install "font-chinese" 2.安装scim输入法 yum....
分类:
系统相关 时间:
2014-05-30 22:07:10
阅读次数:
407
题意:computing a max-spacingk-clustering.spacing 是指两个
cluster 之间的最小距离输入:[number_of_nodes][edge 1 node 1] [edge 1 node 2] [edge 1
cost][edge 2 node 1] [e...
分类:
其他好文 时间:
2014-05-29 20:40:30
阅读次数:
323
在MAC上安装rails的时候,使用命令$ gem install rails 发现一直没响应,使用$
gem install rails-V命令发现,安装会在中间卡住,出现302 Moved Temporarily
提示。应该是rubygems源的问题,换成淘宝的源就很快了# 查看现在的源gem ...
分类:
其他好文 时间:
2014-05-29 15:40:31
阅读次数:
236
Environment, Ubuntu 14.04set up guideSet up
cool compiler1. sudo apt-get install flex bison build-essential csh
openjdk-6-jdk libxaw7-dev libc6-i3862....
分类:
其他好文 时间:
2014-05-29 15:09:43
阅读次数:
578