1、AMQP_EX_TYPE_DIRECT:直连型 直连型又包括: 1对1 和1对N(N对1、 N对N) 接收端receive.php代码如下 ? 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 <!--?php ? $connect =...
分类:
Web程序 时间:
2014-09-26 21:36:28
阅读次数:
321
StreamWriter sw;FileStream fs = new FileStream(@"D:\" + txtStringfield03.Text + ".txt", FileMode.OpenOrCreate, FileAccess.Write); sw = new StreamWrite...
严重: Servlet.service() for servlet [jsp] in context with path [] threw exception [java.lang.AbstractMethodError: javax.servlet.jsp.JspFactory.getJspApplicationContext(Ljavax/servlet/ServletContext;)Lja...
分类:
移动开发 时间:
2014-09-26 20:59:58
阅读次数:
291
Boost是什么不多说, 下面说说怎样在Linux下编译使用Boost的所有模块.
1. 先去Boost官网下载最新的Boost版本, 我下载的是boost_1_56_0版本, 解压.
2. 进入解压后目录: cd boost_1_56_0, 执行下面的命令:
$ ./bootstrap.sh --prefix=path/to/installation/prefix
prefix的...
分类:
系统相关 时间:
2014-09-26 20:56:08
阅读次数:
340
在服务器上php的安装:1。下载php-4.4.2 for windows的压缩包2。解压缩到D:\software\php4423。将D:\software\php442增加到环境变量PATH中4。将php.ini-dist做一个备份,然后重命名为php.ini,修改extension_dir =...
分类:
Web程序 时间:
2014-09-26 20:42:38
阅读次数:
163
安装amoebaformysql对于amoeba的安装是相当简单的,基本上没什么安装的,只需要解压文件,然后设置下环境变量就行了vi/etc/profileexportamoeba_home01=/home/software/amoeba-mysql-3.0.5-RCexportPATH=$PATH:$amoeba_home01/bin添加完环境变量周执行source/etc/profile是环境..
分类:
数据库 时间:
2014-09-26 20:24:59
阅读次数:
209
package main import ( "archive/tar" "io" "io/ioutil" "log" "os" "path" ) func main() { //TarDynamicContent() //UnTar("D:/home/mytar.tar", "D:/home/mytar/") TarExistFile("D:/home/gif/111.gif") } fun...
分类:
其他好文 时间:
2014-09-26 19:43:38
阅读次数:
172
备注:在10.1版的niosii使用的eclipse中设置的方法是右键->properties->c/c++general->path and symbols->include选项卡下选择gnu c 之后可以添加路径。如果我的项目有如下结构:--io --channel.c--incl_os -.....
分类:
系统相关 时间:
2014-09-26 19:14:08
阅读次数:
211
http://blog.csdn.net/hanghangaidoudou/article/details/8506963话说nginx在大压力的环境中比apache的表现要好,于是下载了一个来折腾一下。下载并编译安装,我的编译过程有点特别:1。去除调试信息,修改$nginx_setup_path/...
分类:
其他好文 时间:
2014-09-26 19:11:48
阅读次数:
297
记录动态规划dpl,dpr,分辨记录i左面的比i大的,右面比i大的,然后(dpr[i]-dpl[i]+1)*h[i]得出长度动态转移方程while(temp>1 && h[temp-1]>=h[i]) temp=dpl[temp-1]/********************************...
分类:
其他好文 时间:
2014-09-26 19:01:08
阅读次数:
155