Enforcing options When set to true, these options will make JSHint produce more warnings about your code. bitwise This option prohibits the use of bit...
分类:
Web程序 时间:
2014-06-19 06:08:07
阅读次数:
471
最近项目需要搭建自己的IM服务器,在快速配置好Openfire之后,开始研究使用gloox开发XMPP客户端实现通信,先下载gloox源码,然后./configure,make ,sudo make install,在/usr/local/下找到头文件夹和静态库,加到项目中,然后加入openssl库...
分类:
移动开发 时间:
2014-06-19 00:44:30
阅读次数:
493
一、从apache官网上下载apache的安装包 下载apr和apr-util安装包,解压到apache的srclib目录,apache从2.4?开始把这个两个模块剥离 进入apache解压目录,./configure --with-included-apr --enable-so make ...
分类:
系统相关 时间:
2014-06-19 00:11:35
阅读次数:
318
原因:在编辑php时添加的“–with-mcrypt”选项造成。解决方法:1、如果不需要mcrypt,那么编辑php时去掉该选项,然后再make、make install。2、如果需要mcrypt,那么需要安装libltdllibltdl在libmcrypt软件包中就有,具体过程:#cd /soft...
分类:
Web程序 时间:
2014-06-18 23:29:26
阅读次数:
252
1、下载源代码 http://www.python.org/ftp/python/2.5.2/Python-2.5.2.tar.bz22、 $ tar –jxvf Python-2.5.2.tar.bz2 $ cd Python-2.5.2 $ ./configure $ make $ ...
分类:
编程语言 时间:
2014-06-16 23:44:19
阅读次数:
357
我们在C++中都用过pair.pair是一种模板类型,其中包含两个数据值,两个数据的类型可以不同.pair可以使用make_pair构造
pair p = make_pair(1, "a1");
如果传入的参数为多个,那么就需要嵌套pair,如下代码
#include
#include
using namespace std;
int main()
{
// ,注意:在嵌套模板...
分类:
编程语言 时间:
2014-06-15 13:39:48
阅读次数:
331
在C++中在C++中for循环可以使用类似java的简化的for循环,可以用于遍历数组,容器,string以及由begin和end函数定义的序列(即有Iterator)
#include
#include
#include
using namespace std;
int main()
{
map ms;
ms.insert(make_pair("a", 1));
ms....
分类:
编程语言 时间:
2014-06-15 10:46:30
阅读次数:
241
第一个步骤“配置内核”。在这里,我比较建议在发行版默认的config的基础上再进行配置,这样 配置出的内核和发行版本身才会有更好的相容性。比如可以在运行“make menuconfig”之前执行命令“cp /boot/config-2.6.35-24-generic .config”,或者在menu...
分类:
其他好文 时间:
2014-06-14 16:17:42
阅读次数:
234
以下步骤在MAC下测试通过:
首先是安装CCache,
可以用homebrew
brew install --HEAD ccache
也可以用源码安装
git clone https://github.com/jrosdahl/ccache.git
cd ccache
./autogen.sh
./configure
make
make install
如果提示autohe...
分类:
移动开发 时间:
2014-06-14 12:28:49
阅读次数:
263
To make a Scheduled Task run in the background, change the User running
the task to "SYSTEM",
and nothing will appear on your screen....
分类:
移动开发 时间:
2014-06-14 09:33:39
阅读次数:
395