上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 26 下一页
摘要: 项目准备 在idea环境中,新建maven类型项目,项目类型选择:maven-archetype-webapp,完成后在pom文件中添加如下内容: <dependency> <groupId>com.jfinal</groupId> <artifactId>jfinal-undertow</arti 阅读全文
posted @ 2021-11-03 14:39 Shapley 阅读(564) 评论(0) 推荐(0)
摘要: 分区和消费组是kafka提高性能的主要方式,其理念为多组件协作,共同完成数据读写任务,两者的相关原理及关系如下: 一:分区 kafka的数据层级为:主题->分区->消息。即:kafka可有多个主题,每个主题可以有多个分区,每个分区可以有多条消息。 这里是分区概念类似于数据库sql server分区概 阅读全文
posted @ 2021-10-14 17:54 Shapley 阅读(1630) 评论(0) 推荐(0)
摘要: 由于工作原因,经常用到nginx,经过不断总结,在此汇总下nginx的url映射部分的特点和规律。 文件存储及调用url: 文件存放路径:D:\attached\attached\image\1571.jpg 调用的url为:http://localhost/attached/image/1571. 阅读全文
posted @ 2021-09-27 16:52 Shapley 阅读(1157) 评论(0) 推荐(0)
摘要: 1.由普通用户切换为root用户命令: sudo su - 2.发送文件至客户端: sz [文件] 3.从客户端接收文件: rz 4.查看***,例如Nginx是否启动: ps -ef | grep nginx 5.将指定文件夹赋权限给某一个用户: # chgrp user /shares/proj 阅读全文
posted @ 2021-09-22 09:54 Shapley 阅读(83) 评论(0) 推荐(0)
摘要: 1.首先在pom中添加依赖配置: <dependency> <groupId>org.slf4j</groupId> <artifactId>log4j-over-slf4j</artifactId> <version>1.7.13</version> </dependency> 2.在项目的res 阅读全文
posted @ 2021-09-20 19:30 Shapley 阅读(696) 评论(0) 推荐(0)
摘要: 安装mysql时,每次去网上找安装步骤,质量参差不齐,还费时费力,索性将本次安装过程记录下来,方便以后参考查看。 准备材料:mysql-5.7.35-1.el7.x86_64.rpm-bundle.tar 1.先卸载系统自带的mariadb 查找命令: rpm -qa | grep -i maria 阅读全文
posted @ 2021-09-15 11:29 Shapley 阅读(945) 评论(0) 推荐(0)
摘要: Java环境: 一.从字符串反序列化为List OCR系统返回的字符串格式为: {"code": "1", "data": [[{"page_id": "1", "field_name": "\u4e00\u6bb5", "field_id": 1, "slice_name": "slice_0.p 阅读全文
posted @ 2021-09-09 11:37 Shapley 阅读(2378) 评论(0) 推荐(0)
摘要: webpack是一个前端打包工具,基于node.js开发的,使用时需要有node.js组件支持。 npm是一个包管理工具,例如:如果我们想安装某一个组件,可以使用命令:npm install ***,这个工具是node.js里面自带的。所以如果想使用这个工具,也需要node.js node.js是一 阅读全文
posted @ 2021-08-31 14:51 Shapley 阅读(296) 评论(0) 推荐(0)
摘要: 一.重要概念 app: is a Web application that does something. An app usually is composed of a set of models (database tables), views, templates, tests. projec 阅读全文
posted @ 2021-08-24 11:08 Shapley 阅读(54) 评论(0) 推荐(0)
摘要: Invoke(Delegate) Executes the specified delegate on the thread that owns the control's underlying window handle. 传统的解释为:在拥有控件基础句柄的线程上执行指定的委托。 问题是什么叫:句 阅读全文
posted @ 2021-08-24 09:53 Shapley 阅读(89) 评论(0) 推荐(0)
上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 26 下一页