如果要编写定制的Apache模块,最总需要编译成Apache包。
命令如下:
% ./buildconf
% ./configure --prefix=/usr/local/apache
> --with-layout=Apache --enable-modules=most --enable-mods-shared=all > --with-mpm=prefork
% make
#mak...
分类:
其他好文 时间:
2014-07-22 22:59:34
阅读次数:
243
一、第三方库的编译与安装
1. libfaac
# tar -zxvf faac-1.28.tar.gz
# cd faac-1.28
# ./configure --prefix=/opt/YOUR_SDK_INSTALL_DIRECTORY --enable-static --disable-shared
# make; make install
2. libmp3lame...
分类:
其他好文 时间:
2014-05-10 10:23:00
阅读次数:
401
由于工作原因要熟悉这两门编程语言。网上找的。VB.NETProgram
StructureC#Imports System Namespace Hello Class HelloWorld Overloads Shared
SubMain(ByVal args() As String) Dim na...
分类:
其他好文 时间:
2014-05-09 12:30:02
阅读次数:
475
最近正在进行《Effective C++》的第二遍阅读,书里面多个条款涉及到了shared_ptr智能指针,介绍的太分散,学习起来麻烦,写篇blog整理一下。
LinJM @HQU
2014/05/05
shared_ptr是一个智能指针。在C++ 11颁布之前,它包含在TR1(Technical Report 1)当中,现在囊括在C++11的标准库中。
智能指针
智能指...
分类:
其他好文 时间:
2014-05-07 05:50:43
阅读次数:
437
1.新建CopyToLayouts.bat文件保存到项目Web解决方案根目录下,写入以下内容:ECHO
OFF@SET TEMPLATE="C:\program files\common files\microsoft shared\web server
extensions\14\Template...
分类:
其他好文 时间:
2014-05-06 14:24:59
阅读次数:
306
html代码:@{ ViewBag.Title = "Index"; Layout =
"~/Views/Shared/_Index_Layout.cshtml";} GridView @{ Layout = null;}...
分类:
其他好文 时间:
2014-05-06 12:59:26
阅读次数:
384
Android 加载项目失败: sdk/build-tools/android-4.4.2/aapt:
error while loading shared libraries: libz.so.1: cannot open shared object file:
No such file or ....
分类:
移动开发 时间:
2014-05-06 09:19:19
阅读次数:
418
boost的智能指针给编程带来了极大的便利,不需要关心内存的释放,不要要调用delete,而且还可以定制delete的方法。其实boost的智能指针是可以当成scope_exit来用的,同样是退出时处理。但是凡事都是有利有弊,boost的shared_ptr如果在循环引用的时候会出现无法释放内存的情况,所谓循环引用就是A智能指针类里存放B的智能指针,B的智能指针类里存放A,将a、b的值互相设置。增...
分类:
其他好文 时间:
2014-05-03 21:06:19
阅读次数:
274
对于相对较少键值对的数据集合可以使用SharedPreferences来进行存储,
键值对的数据类型基本上是基本数据类型,
常见的操作:
创建新的shared preference文件或者访问已经存在的shared preference,
可以使用getSharedPreferences()或者getPreferences()
getSharedPreferences()...
分类:
移动开发 时间:
2014-05-02 06:39:14
阅读次数:
416
类似java的多行注释!
安装过程:
1.前往GitHub下载工程文件:VVDocumenter-Xcode
2.用Xcode打开工程,Command + B
Build成功后,可以在~/Library/Application Support/Developer/Shared/Xcode/Plug-ins目录下看到生成的xcplugin文件:
...
分类:
其他好文 时间:
2014-04-30 22:46:38
阅读次数:
304