1.首先是javascript代码/** * 图片上传即时显示javascript */var allowExt = [ 'jpg', 'gif', 'bmp', 'png', 'jpeg' ];var preivew = function(file, container) { try { ...
分类:
编程语言 时间:
2014-07-22 22:57:55
阅读次数:
286
When managing a VM Guest on the VM Host Server itself, it is possible to access the complete file system of the VM Host Server in order to attach or c...
分类:
其他好文 时间:
2014-07-22 22:57:53
阅读次数:
347
1.下载GEF(依赖包):http://www.eclipse.org/downloads/download.php?file=/tools/gef/downloads/drops/3.7.2/R201201171043/GEF-ALL-3.7.2.zip下载并解压后,打开该包中的eclipse文件...
分类:
Web程序 时间:
2014-07-22 22:55:33
阅读次数:
253
问题: 今天发布项目的时候遇到这个破问题,纳闷了好久,最后想起来自己改过程序生成的目标平台(原生成目标平台是Any CPU,被我改成了X86的).解决方法: 改回原来的Any CPU 从新发布即可.
分类:
其他好文 时间:
2014-07-22 22:55:14
阅读次数:
180
path:framework/base/interfaces.phpoverview:This file contains core interfaces for Yii framework.interface IApplicationComponent:all application compon...
分类:
其他好文 时间:
2014-07-22 22:55:14
阅读次数:
165
问题:运行gsl(GNU scientific Library)的函数库,用gcc erf.c -I/usr/local/include -L/usr/local/lib64 -L/usr/local/lib -g -Wall --std=gnu99 -lgsl -lgslcblas -o m.o编...
分类:
其他好文 时间:
2014-07-22 22:54:54
阅读次数:
591
lipo -info libJMALibrary.aArchitectures in the fat file: libJMALibrary.a are: i386 armv7lipo命名只能识别armv7和之前的架构,对于armv7s不能识别xcrun -sdk iphoneos lipo -in...
分类:
移动开发 时间:
2014-07-22 22:54:35
阅读次数:
260
import java.io.IOException;import java.util.ArrayList;import java.util.List;import org.apache.hadoop.fs.BlockLocation;import org.apache.hadoop.fs.File...
分类:
其他好文 时间:
2014-07-22 22:54:33
阅读次数:
223
scanf的返回值由后面的参数决定scanf("%d%d", &a, &b);如果a和b都被成功读入,那么scanf的返回值就是2如果只有a被成功读入,返回值为1如果a和b都未被成功读入,返回值为0如果遇到错误或遇到end of file,返回值为EOF。且返回值为int型.验证:sign=scan...
分类:
其他好文 时间:
2014-07-19 21:15:44
阅读次数:
281
This Section will continue the actual configure for IHS related files.3) Copy the httpd.conf file to httpd2.conf, and modify them.Now Virtual IP have ...
分类:
Web程序 时间:
2014-07-19 20:10:57
阅读次数:
307