利用android系统压缩方式进行图片压缩,代码: 1 private String path = "/sdcard/img.jpg"; 2 File f = new File(path); 3 Bitmap bm = PictureUtil.getSmallBitmap(this,path); 4...
分类:
其他好文 时间:
2014-10-09 23:46:53
阅读次数:
245
select .... outfile 'file_path' fields terminate by '\t' lines terminate by '\r\n' from table_name;---------------------------------------------------...
分类:
数据库 时间:
2014-10-09 15:47:53
阅读次数:
208
语法: load data [low_priority] [local] infile ‘file_path' [replace] [ignore] into table table_name [(column_list)] lines[ terminated by 'string'...
分类:
数据库 时间:
2014-10-09 14:59:13
阅读次数:
171
./configure --prefix=/usr/local/php/ --with-config-file-path=/etc/php5/cli/ --with-config-file-scan-dir=/etc/php5/mods-available/ --with-apxs2=/usr/lo...
分类:
Web程序 时间:
2014-10-05 18:43:38
阅读次数:
202
1。 指定路径下 单个文件夹data中所有图像
file_path = '.\data\';% 图像文件夹路径
img_path_list = dir(strcat(file_path,'*.jpg'));%获取该文件夹中所有jpg格式的图像
img_num = length(img_path_list);%获取图像总数量
if img_num > 0 %有满足条件的图像
for...
分类:
其他好文 时间:
2014-09-28 21:12:25
阅读次数:
192
yuminstalllibxml2-developenssl-develbzip2-develcd/usr/local/srctarzxvfphp-5.4.13.tar.gzcd/usr/local/src/php-5.4.13./configure--prefix=/usr/local/php--enable-fpm--with-openssl--enable-mbstring--enable-sysvshm--with-config-file-path=/etc--with-config-file-sca..
分类:
其他好文 时间:
2014-09-27 10:28:19
阅读次数:
208
// 创建文件上传路径 public static void mkdir(String path) { File fd = null; try { fd = new File(path); if (!fd.exists()...
分类:
编程语言 时间:
2014-09-19 15:28:55
阅读次数:
300
function getTmp(){ $file_name = 'orderTemp.xlsx'; $file_path = dirname(__FILE__); #判断一下文件是否存在 if(! file_exists($file_path. '/' .$file_name...
分类:
其他好文 时间:
2014-09-18 18:32:54
阅读次数:
141
linux PHP 编译安装参数详解./configure --prefix=/usr/local/php --with-config-file-path=/usr/local/php/etc --with-mysql=/usr/local/mysql --with-mysqli=/usr/bin/...
分类:
Web程序 时间:
2014-09-18 18:31:44
阅读次数:
248