最近项目需要搭建自己的IM服务器,在快速配置好Openfire之后,开始研究使用gloox开发XMPP客户端实现通信,先下载gloox源码,然后./configure,make ,sudo make install,在/usr/local/下找到头文件夹和静态库,加到项目中,然后加入openssl库...
分类:
移动开发 时间:
2014-06-19 00:44:30
阅读次数:
493
Mapreduce 模式中的 Pig对于 MapReduce 模式,必须首先确保 Hadoop 正在运行。要做到这一点,最简单的方法是在 Hadoop 文件系统树的根上执行文件列表操作,如 清单 3 所示。清单 3. 测试 Hadoop 可用性$ hadoop dfs -ls /Found 3 it...
分类:
其他好文 时间:
2014-06-18 22:46:01
阅读次数:
490
今天在linux下打开win的NTFS硬盘总是提示出错了,而且是全部的NTFS盘都出错,其中sda1错误显示如下:Error mounting /dev/sda1 at /media/wangbo/24F02EECF02EC3C0: Command-line `mount -t "ntfs" -o ...
分类:
系统相关 时间:
2014-06-17 00:29:31
阅读次数:
383
Nightmare
时间限制:1000 ms | 内存限制:65535 KB
难度:4
描述
Ignatius had a nightmare last night. He found himself in a labyrinth with a time bomb on him. The labyrinth has an exit, Ignatius should ...
分类:
Web程序 时间:
2014-06-16 18:57:52
阅读次数:
268
此问题针对百度地图真机调试和模拟器.a文件的选取问题
"$(SRCROOT)/MobileYonyou/Third/BaiduMap_IOSSDK_v2.3.0_Lib/Release$(EFFECTIVE_PLATFORM_NAME)"
这样就可以根据运行环境自动选取.a文件.
-- "$(SRCROOT)/MobileYonyou/Third/BaiduMap_IOSSD...
分类:
其他好文 时间:
2014-06-16 18:43:31
阅读次数:
207
升级了mac操作系统,安装python的python-ldap,报错Modules/LDAPObject.c:18:10:fatalerror:‘sasl.h‘filenotfound#include<sasl.h>^1errorgenerated.error:command‘cc‘failedwithexitstatus1----------------------------------------Cleaningup...Command/usr/bin/python..
分类:
编程语言 时间:
2014-06-16 16:21:35
阅读次数:
758
从Emacs官方站点下载最新版解压后,运行./configure
得到错误信息:configure: error: The following required libraries were not found:
libXpm libjpeg libgif/libungif libtiff
用下面的命令安装依赖库:yum -y install libjpeg-devel.x86_64 gi...
分类:
其他好文 时间:
2014-06-15 15:05:23
阅读次数:
233
Hadoop Pipes Exception: Illegal text protocol command对于Hadoop pipes 出现这样的错误,基本上编译代码依赖的.so和.a 版本不匹配网上也没有给出更多信息,我的同事最近回复了解决办法,可以参考https://groups.google....
分类:
其他好文 时间:
2014-06-15 14:37:31
阅读次数:
243
Mac开机密码忘了,咋办?开不开机啦
1.打开你的Mac,command +S 进入你的终端界面
2.输入/sbin/mount -uaw /
3.输入rm /var/db/.AppleSetupDone (删除)
4.reboot ...
分类:
其他好文 时间:
2014-06-15 12:38:37
阅读次数:
207
在linux上使用vi命令修改一个文件内容的时候,发现无法保存,每次写完使用“:q!”命令可以正常退出但是使用":wq!"命令保存文件并退出时出现一下信息提示:
E212: Can't open file for writing Press ENTER or type command to continue
出现这个错误的原因可能有两个:
1.当前用户...
分类:
系统相关 时间:
2014-06-14 12:53:30
阅读次数:
512