ITeye博客

2019 年文章归档

共 103 篇文章

java多分页

https://blog.csdn.net/u012387481/article/details/79044199

2019-12-31 15:54 · java多分页

产品经理

https://www.lanzous.com/i3sttpe

2019-12-30 16:31 · 产品经理

java解析js框架

https://blog.51cto.com/13876516/2146883?from=singlemessage https://blog.csdn.net/qq_27617675/article/details/82535205 https://www.cnblogs.com/zichuanhong/p/10355065.html 不清楚哪种方式好 import javax.script.ScriptEngine; import javax.script.ScriptEngineManager; import javax.script.ScriptException; /** * JS…

2019-12-26 08:52 · java解析js框架

java 爬虫框架

https://www.ctolib.com/article/compares/40945

2019-12-25 15:21 · java 爬虫框架

java 数字格式化万、亿

import java.math.BigDecimal; import java.math.RoundingMode; public class NumberUtils { private static final Double MILLION = 10000.0; private static final Double BILLION = 100000000.0; private static final Double TRILLION = 1000000000000.0; private static final String MILLION_UNIT = "万"; private st…

2019-12-25 11:37 · java 数字格式化万、亿

springboot 上传下载图片

@RequestMapping(value = "/get",produces = MediaType.IMAGE_JPEG_VALUE) @ResponseBody public BufferedImage getImage() throws IOException { try (InputStream is = new FileInputStream("D:/test.jpg")){ return ImageIO.read(is); } } IE下图片直接为下载,"image/jpeg",不要用‘image/jpg’ @GetMapping(value = "/downloadAsset…

2019-12-23 17:04 · springboot 上传下载图片

nginx配置图片

https://blog.csdn.net/Mr_ZhangAdd/article/details/86506053

2019-12-23 10:38 · nginx配置图片

实现 Java 多线程并发控制框架

https://blog.csdn.net/weixin_34137799/article/details/86050677

2019-12-23 08:50 · 实现 Java 多线程并发控制框架

DBUtil操作

https://blog.csdn.net/DaySurprise/article/details/78621333

2019-12-19 17:29 · DBUtil操作

mysql 8安装教程

ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY '你的密码'; https://www.cnblogs.com/zhangkanghui/p/9613844.html update user set authentication_string='' where user='root'; ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY '你的密码'; https://blog.csdn.net/a379039…

2019-12-11 21:33 · mysql 8安装教程

nginx 文件上传解除

http { include mime.types; default_type application/octet-stream; client_header_buffer_size 32k; large_client_header_buffers 4 32k; client_max_body_size 500M; client_body_buffer_size 500M; resolver 192.168.11.15 ipv6=off; gzip on; gzip_disable "msie6"; gzip_static on; gzip_proxied any; gzip_min_len…

2019-12-09 18:15 · nginx 文件上传解除

模拟器抓包

https://blog.csdn.net/qq840166422/article/details/91045461

2019-12-08 21:00 · 模拟器抓包

Map 升降排序

// 升序比较器 Comparator<Map.Entry<String, Integer>> valueComparator = Comparator.comparingInt(Map.Entry::getValue); // 降序比较器 Comparator<Map.Entry<String, Integer>> valueComparator = (o1, o2) -> o2.getValue().compareTo(o1.getValue());

2019-12-07 23:01 · Map 升降排序

table td的width 无效

https://blog.csdn.net/u011500781/article/details/52510944 word-wrap: break-word; word-break: break-all;

2019-12-06 20:00 · table td的width 无效

jsoup解析

String content = HttpUtils.sendPost(newCenterUrl, null, true); JSONObject jsonObject = JSONObject.parseObject(content); String h1 = jsonObject.getString("Html"); Document doc = Jsoup.parse(h1); Elements elements = doc.getElementsByTag("a"); elements.forEach(e -> { System.out.println(e.select("h2").…

2019-11-27 18:02 · jsoup解析

ZooInspector ZooViewer

分享两个zookeeper 可视化客户端工具( ZooInspector ZooViewer ) https://blog.csdn.net/u012688704/article/details/84643915

2019-11-26 09:04 · ZooInspector ZooViewer

List分组每500一组

int s = ids.size(); for (int i = 0; i < s / 500; i++) { (ids.subList(i * 500, (i + 1) * 500)); } if (s % 500 != 0) { (ids.subList(s / 500 * 500, s / 500 * 500 + s % 500)); }

2019-11-25 09:17 · List分组每500一组

wss调试

https://www.jianshu.com/p/59f951ff88a4 [code="java"] [/code] [code="java"] function NoHtml(a) { return - 1 == a.indexOf("img.t.sinajs.cn") && (a = a.replace(/({|})/g, ""), a = a.replace(//g, ">")), a } function Heart(a) { a ? tick_heartpac = setInterval(function() { ws.send("@heart") }, 3e4) : (cle…

2019-11-12 14:48 · wss调试

XML解析

com.thoughtworks.xstream xstream 1.4.10 import com.thoughtworks.xstream.XStream; import java.lang.reflect.Field; import java.util.ArrayList; import java.util.List; public class XMLUtil { private static XStream xs = null; private XMLUtil() { try { ArrayList localArrayList = new ArrayList(); localArr…

2019-11-01 15:14 · XML解析

SVN分支

https://blog.csdn.net/justry_deng/article/details/82259470

2019-10-28 17:06 · SVN分支