1压缩图片使用ImageMagick的convert命令进行压缩图片,一般只需要一个指定压缩质量的参数,比如:convert-quality751.jpg1_compress.jpg可以支持压缩jpg/png/jpeg。2递归压缩递归压缩使用find配合grep列出所有的图片,接着通过一个循环传递给convert进行压缩。originalPic=`find$compressDir|grep-iE"
分类:
系统相关 时间:
2020-07-08 18:06:22
阅读次数:
55
最近做的项目,使用了easypoi,很好用,可惜遇到一个问题,每次上传之后,发现tem文件夹下的临时文件不删除,后仔细查看发现是使用了文件流传入 InputStream is = file.getInputStream(); List list = ExcelImportUtil.importExc ...
分类:
其他好文 时间:
2020-07-08 13:15:44
阅读次数:
78
org.apache.poi.hssf.usermodel.HSSFWorkbook <!-- https://mvnrepository.com/artifact/org.apache.poi/poi --> <dependency> <groupId>org.apache.poi</groupI ...
分类:
Web程序 时间:
2020-07-08 13:01:59
阅读次数:
65
一、说明 数据驱动测试的核心:是测试数据与测试脚本分离,实现测试脚本的参数化,例如:在使用工具测试时,常常会使用到参数化设置; 使用数据驱动测试方便后期维护,提高脚本的可重用性; 做数据驱动的方式有多种例如:Excel、CSV、MySQL等 二、使用Excel实现数据驱动 1、在pom文件添加POI ...
分类:
编程语言 时间:
2020-07-07 15:27:26
阅读次数:
96
<!DOCTYPE html><html> <head> <meta charset="UTF-8"> <title></title> <link rel="stylesheet" href="css/style1.css" /> <style type="text/css"> .box{ widt ...
分类:
其他好文 时间:
2020-07-07 13:28:28
阅读次数:
70
package cn.deacy.work.util; import org.apache.poi.hssf.usermodel.HSSFCell; import org.apache.poi.hssf.usermodel.HSSFWorkbook; import org.apache.poi.ss ...
分类:
编程语言 时间:
2020-07-07 13:23:37
阅读次数:
63
Excel文档有.xls和.xlsx后缀的,当我们想把它们放在一个方法中进行读取excel文件时,有一个特别省事的做法: 1 public static List<String> Read(String path) throws IOException { 2 //调用read方法,传入你要读文件的 ...
分类:
编程语言 时间:
2020-07-07 09:30:37
阅读次数:
55
Markdown学习 标题是通过前后加#的数量确定标题等级 二级标题 三级标题 字体 hello,word! 前后加” ** “ hello,word! 前后加” * “ hello,word! 前后加” *** “ hello,word! 用前后加”--“ 引用 少年无愁志高飞 是使用一个箭头符号 ...
分类:
其他好文 时间:
2020-07-07 09:14:21
阅读次数:
66
参考一下链接: https://www.tenforums.com/tutorials/95308-convert-esd-file-wim-using-dism-windows-10-a.html?__cf_chl_jschl_tk__=22403c31866ef49eacc8c8df353427 ...
分类:
其他好文 时间:
2020-07-06 14:38:21
阅读次数:
170
The session protocol describes the basic structure of an OBEX conversation. It consists of a format for the “conversation” between devices and a set o ...
分类:
其他好文 时间:
2020-07-05 22:44:14
阅读次数:
61