最近项目需要搭建自己的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
Could there be a professional photographer, and may not be as formal photographer, eventually you will find yourself looking for a digital camera cont...
分类:
其他好文 时间:
2014-06-18 19:55:02
阅读次数:
184
Struts Problem ReportStruts has detected an unhandled exception:Messages:No suitable driver found for jdbc:mysql://localhost:3306/hibernate_basicCanno...
分类:
数据库 时间:
2014-06-18 18:41:57
阅读次数:
249
安装Ubuntu12.04 -64位时,用EasyBCD建好引导文件重启电脑后出现如下错误:Error 15: File not found原因一个是安装文件所在盘符不对,另一个是文件名。Ubuntu12.04 32位的ISO包解压后casper文件夹下内核文件为vmlinuz,而64位解压后cas...
有时在编写struts.xml时会报错,但是找不出有什么她方有问题。也能正常运行MyEclipse有地方去struts的xml进行了验证,经查找把这里的build去掉就可以了
分类:
系统相关 时间:
2014-06-18 16:30:42
阅读次数:
281
No architectures to compile for(ONLY_ACTIVE_ARCH=YES 这种错误 修改building settings下 Build Active Architecture only 为NO即可。dyld: Symbol not found: _objc_setP...
分类:
其他好文 时间:
2014-06-18 15:30:00
阅读次数:
260
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
jQuery实现table隔行换色和鼠标经过变色
一、隔行换色
$("tr:odd").css("background-color","#eeeeee");
$("tr:even").css("background-color","#ffffff");
或者一行搞定:
$("table tr:nth-child(odd)").css("background-color","#eeeeee");
二、鼠标经过变色
$("tr").live({
mouseover:function(){
$(this)....
分类:
Web程序 时间:
2014-06-15 10:15:32
阅读次数:
329