zno2

2023年8月3日 #

微信公众号发模板消息(spring集成)

摘要: 引入依赖: <dependency> <groupId>me.chanjar</groupId> <artifactId>weixin-java-mp</artifactId> <version>1.3.3</version> </dependency> 其中已实现的功能: public inter 阅读全文

posted @ 2023-08-03 19:51 zno2 阅读(33) 评论(0) 推荐(0) 编辑

正则非贪婪 (清除java类三种注释)

摘要: 最大匹配(默认): 最小匹配(加一个问号): 匹配 // 注释: [\t ]*//.*[^\r\n] 匹配 /** */ doc注释和/* */ 块注释(): [\t ]*/\*[\s\S]*?\*/ 验证: /* * Copyright (c) 1994, 2013, Oracle and/or 阅读全文

posted @ 2023-08-03 19:51 zno2 阅读(10) 评论(0) 推荐(0) 编辑

摘要: Introduction to Tree – Data Structure and Algorithm Tutorials What is a Tree data structure? A tree data structure is a hierarchical structure that is 阅读全文

posted @ 2023-08-03 19:50 zno2 阅读(6) 评论(0) 推荐(0) 编辑

MySQL 调优(视野二 都可优化什么)

摘要: 8.1 Optimization Overview 8.2 Optimizing SQL Statements 8.2.1 Optimizing SELECT Statements 8.2.2 Optimizing Subqueries and Derived Tables 8.2.3 Optimi 阅读全文

posted @ 2023-08-03 19:50 zno2 阅读(8) 评论(0) 推荐(0) 编辑

[err] 1118 Row size too large.

摘要: 一个工单表字段多+个别字段使用较长(上千) varchar,导致err 1118 解决是将这些超长varchar 转换为 text ,注意 MBG 生成的mapper 会有变化 这种业务数据量逐年增长,表字段不断增加。可采取冷热数据分离(横向分表,业务分隔),业务字段分离(纵向分表,关联查询) ht 阅读全文

posted @ 2023-08-03 19:50 zno2 阅读(67) 评论(0) 推荐(0) 编辑

《MySQL 5.6 Reference Manual》

摘要: MySQL 5.6 Reference Manual Including MySQL NDB Cluster 7.3-7.4 Reference Guide Abstract This is the MySQL Reference Manual. It documents MySQL 5.6 thr 阅读全文

posted @ 2023-08-03 19:50 zno2 阅读(27) 评论(0) 推荐(0) 编辑

Aspose docx 转 pdf

摘要: jar 包下载 https://releases.aspose.com/java/repo/com/aspose/aspose-words/21.11/aspose-words-21.11-jdk17.jar 参考文档 https://blog.aspose.com/words/convert-wo 阅读全文

posted @ 2023-08-03 19:50 zno2 阅读(307) 评论(0) 推荐(0) 编辑

InnoDB – the best storage engine for MySQL?

摘要: https://dev.mysql.com/doc/refman/5.7/en/innodb-introduction.html InnoDB is a general-purpose storage engine that balances high reliability and high pe 阅读全文

posted @ 2023-08-03 19:50 zno2 阅读(3) 评论(0) 推荐(0) 编辑

OOMKilled

摘要: 问题描述:某应用节点频繁重启 通过 describe 查看详情发现 kubectl -n <yournamespace> describe pod <yourapplicationpodid> Command: java Args: -Denv=PRO -XX:+UnlockExperimental 阅读全文

posted @ 2023-08-03 19:50 zno2 阅读(28) 评论(0) 推荐(0) 编辑

SQL 标准历史(比如 isolation in SQL-92)

摘要: https://learnsql.com/blog/history-of-sql-standards/ Has the SQL standard changed in the 30+ years it's been around? Absolutely! Learn about the journe 阅读全文

posted @ 2023-08-03 19:49 zno2 阅读(15) 评论(0) 推荐(0) 编辑

技术交流思考

摘要: 前端技术选型后端技术选型框架选型跨域解决方案模板运用场景是否丰富搜索引擎使用场景是否丰富后台管理系统用户角色权限问题运维效率问题代码审查机制单点登录实现方式是否前后分离测试环境切换问题做产品还是做项目产品文档精细度最小团队配置工作流技术选型 ★动态表单查询展示问题 ★ 多项目时运维知识库文档结构 阅读全文

posted @ 2023-08-03 19:49 zno2 阅读(8) 评论(0) 推荐(0) 编辑

Synchronization in Java

摘要: Synchronization in Java, Part 1: Race conditions, locks, and conditions https://blogs.oracle.com/javamagazine/post/java-thread-synchronization-racecon 阅读全文

posted @ 2023-08-03 19:47 zno2 阅读(15) 评论(0) 推荐(0) 编辑

git branch test

摘要: 选中历史某个提交节点,reset hard 会直接退回到该节点,并丢弃该节点上面的所有提交记录 阅读全文

posted @ 2023-08-03 19:47 zno2 阅读(7) 评论(0) 推荐(0) 编辑

显示锁,隐式锁 (管程、monitor 、操作系统)

摘要: 无锁时并发出问题 import java.util.*; /** * 无锁 * @author witas * */ public class Bank { public static void main(String[] args) { final int NACCOUNTS = 100; fin 阅读全文

posted @ 2023-08-03 19:47 zno2 阅读(17) 评论(0) 推荐(0) 编辑

MySQL Full-Text Search Functions 文档

摘要: 12.10 Full-Text Search Functions 12.10.1 Natural Language Full-Text Searches12.10.2 Boolean Full-Text Searches12.10.3 Full-Text Searches with Query Ex 阅读全文

posted @ 2023-08-03 19:46 zno2 阅读(97) 评论(0) 推荐(0) 编辑

504 Gateway Time-out

摘要: 现状:nginx 代理某api 接口,业务是统计一年数据,计算量较大,耗时2分钟,导致页面返回 504 http://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_read_timeout Syntax: proxy_read_tim 阅读全文

posted @ 2023-08-03 19:46 zno2 阅读(8) 评论(0) 推荐(0) 编辑

好看的表格

摘要: 参考:https://c.runoob.com/codedemo/3187/ MQ订阅信息(TEST) 业务 TOPIC CONSUMER_GROUP PRODUCER_GROUP 系统消息协议 TEST_TOPIC_IMSYSMSG TEST_CONSUMER_GROUP_IMSYSMSG TES 阅读全文

posted @ 2023-08-03 19:46 zno2 阅读(2) 评论(0) 推荐(0) 编辑

获取 class doc

摘要: 目标识别需要具备的特征:有package,是class,/** ... */ doc文档,只识别单行 public static void main(String[] args) { System.out.println(getClassDoc( "package cn.zno.xxx;\r\n" 阅读全文

posted @ 2023-08-03 19:46 zno2 阅读(9) 评论(0) 推荐(0) 编辑

在线客服网络拓扑

摘要: 阅读全文

posted @ 2023-08-03 19:46 zno2 阅读(4) 评论(0) 推荐(0) 编辑

kube 小工具 java log

摘要: import java.io.BufferedInputStream; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.StringReader 阅读全文

posted @ 2023-08-03 19:45 zno2 阅读(7) 评论(0) 推荐(0) 编辑

导航