1. build path:a) source
folder:包括openfire和各插件的代码。b)
libraries:build/lib下jar包和插件下jar包,jdk/lib/tools.jar(编译jsp需要)。2. ant
build:build/build.xmla) openfir...
分类:
其他好文 时间:
2014-07-22 23:12:36
阅读次数:
489
[share]path=/home/an/shareavailable=yesbrowse
able=yespublic=yeswritable=yessecurity = userusername map =
/etc/samba/smbusers[share]comment = Shared F...
分类:
其他好文 时间:
2014-07-22 23:11:34
阅读次数:
332
本篇文章简单介绍如何在iOS中使用libxml
Mac OS版本:10.8.2
XCode版本:4.5.1
1. 选择xcode工程设定
2. 选择target
3. 选择Summary
4. 拉到Linked Frameworks and Libraries的地方,按下+按键
输入libxml并选择libxml2,按下Add按键
...
分类:
移动开发 时间:
2014-07-22 23:05:14
阅读次数:
519
SharedPreferences也是一种轻型的数据存储方式,它的本质是基于XML文件存储key-value键值对数据,通常用来存储一些简单的配置信息。其存储位置在/data/data//shared_prefs目录下。
读取SharedPreference
1.获取SharedPreference对象
/*
* name 打开的SharedPreference...
分类:
移动开发 时间:
2014-05-01 22:15:35
阅读次数:
536
http://www.cmake.org/cmake/help/v2.8.8/cmake.htmladd_executable的作用是指示CMake生成一个可执行文件add_library的作用是指示CMake生成一个库,根据参数SHARED还是STATIC来决定生成动态库还是静态库include_...
分类:
其他好文 时间:
2014-05-01 21:19:44
阅读次数:
418
When multiple threads share mutable data, each
thread that reads or writes the data must perform synchronization. Without
synchronization, there is no...
分类:
数据库 时间:
2014-05-01 09:14:25
阅读次数:
506
本地存储。相当于Flash里面的SharedObject。Android位置:机器自身存储的(非扩展卡)/data/data/appname/shared_prefs/{AppName}.xml,如果想查看需要Root。IOS位置:暂时还没找到。其他位置:参考https://docs.unity3d...
分类:
其他好文 时间:
2014-05-01 05:38:35
阅读次数:
281
./nginx: error while loading shared libraries: libpcre.so.1: cannot open shared object file: No such file or directory...
分类:
其他好文 时间:
2014-04-30 22:43:38
阅读次数:
346
Pat1063代码
题目描述:
Given two sets of integers, the similarity of the sets is defined to be Nc/Nt*100%, where Nc is the number of distinct common numbers shared by the two sets,
and Nt is the to...
分类:
其他好文 时间:
2014-04-29 13:44:20
阅读次数:
325
由于静态库是不需要导出的,所以在写QT的前置声明的时候需要说明
#if defined(QT_SHARED)
#ifdef COMMONLIB
#define COMMONLIB_EXPORT Q_DECL_EXPORT
#else
#define COMMONLIB_EXPORT Q_DECL_IMPORT
#endif
#else
#ifdef COMMONLIB
#defi...
分类:
其他好文 时间:
2014-04-28 10:47:42
阅读次数:
374