- 博客(9)
- 收藏
- 关注
原创 markdown转html
依赖:org.commonmark <dependency> <groupId>com.atlassian.commonmark</groupId> <artifactId>commonmark</artifactId>
2019-03-01 15:30:11
330
原创 使用itextpdf将html内容转PDF文档,并签章
依赖com.itextpdf <dependency> <groupId>com.itextpdf</groupId> <artifactId>itextp
2019-03-01 15:00:37
2344
1
转载 Java8中的Stream
原文:Java8中的Streams API详解目录为什么需要Stream什么是聚合操作Stream总览什么是Stream流的构成流的使用详解流的构造与转换流的操作进阶:自己生成流进阶:用 Collectors 来进行 reduction 操作结束语为什么需要StreamStream 作为 Java 8 的一大亮点,它与 java.io 包里的...
2018-09-14 10:52:11
327
1
原创 POI导出Excel,设置自适应列宽(中文支持)
// 这里仅仅是数据内容的简单示例 Map<String, Object> map1 = new HashMap<>(); map1.put("name", "Machiel Jordan"); map1.put("age", "53"); map1.put("content&quo
2018-08-13 19:00:12
38727
9
原创 Connection is read-only. Queries leading to data modification are not allowed
连接是只读的,导致数据修改的查询是不允许的。
2018-07-13 10:25:57
1039
原创 CPU
CPU Chip -- CPU芯片 Register File -- 寄存器 ALU -- Arithmetic Logic Unit 算术逻辑运算部件 Graphics Adapter -- 图形适配器 Expansion Slots -- 扩展插槽 CPU的工作都是以纳秒为单位(1秒=10亿纳秒)。 由于所有的计算都要在很小的芯片上进行,所以...
2018-06-21 15:50:19
293
原创 MySQL查询匹配字符串,大小写不敏感的问题
在MySQL查询匹配字符串字段时,发现大小写不敏感的问题,如下:执行示例 select * from student 如下: 执行 select * from student where gender = 'girl' ; select * from student where gender = 'GIRL' ; select ...
2018-06-15 17:06:59
3871
2
原创 Linux下查看日志的实用方法
tail -f example.log -- 查阅正在改变的日志文件,最尾部的内容显示在屏幕上,并且不但刷新tail -n 10 example.log -- 查询日志尾部最后10行的日志;tail -n +10 example.log -- 查询10行之后的所有日志;cat -n example.log | grep "关键字" -- 查看匹配...
2018-06-14 17:12:07
227
原创 java.sql.SQLException: sql injection violation, part alway true condition not allow
java.sql.SQLException: sql injection violation, part alway true condition not allow : select sendsmsrec0_.id as id1_97_, sendsmsrec0_.create_at as create_a2_97_, sendsmsrec0_.create_by as create_b3_97...
2018-03-01 10:29:13
7529
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人