上一页 1 2 3 4 5 6 ··· 9 下一页
摘要: 查看默认区域 [root@localhost ~]# firewall-cmd --get-default-zone public #如果不是public,改为public firewall-cmd --set-default-zone=public 关闭端口访问 此处区域中的端口如果开放,是所有i 阅读全文
posted @ 2024-07-06 19:18 little_lunatic 阅读(634) 评论(0) 推荐(0)
摘要: 打包插件 模块,install <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <configuration> <source> 阅读全文
posted @ 2024-02-04 16:57 little_lunatic 阅读(46) 评论(0) 推荐(0)
摘要: ## 1. 离线解析 在使用时需要将`ip2region.xdb` 文件下载到工程文件目录下,使用`ip2region`即是完全基于 `xdb` 文件的查询,单次查询响应时间在十微秒级别,可通过如下两种方式开启内存加速查询: - **vIndex 索引缓存:** 使用固定的 `512KiB` 的内存 阅读全文
posted @ 2023-08-24 17:28 little_lunatic 阅读(144) 评论(0) 推荐(0)
摘要: Gitee: Demo源码 1. ApplicationContextInitializer 这是整个 spring 容器在刷新之前初始化 ConfigurableApplicationContext 的回调接口。 @Slf4j public class TestApplicationContext 阅读全文
posted @ 2023-08-04 17:21 little_lunatic 阅读(67) 评论(0) 推荐(0)
摘要: 一、复制、移动、删除 1、复制 cp: cp [选项] 源文件或目录 目标文件或目录 复制文件:cp t t1 复制文件夹:cp -r dir dir1 命令格式: cp [-adfilprsu] 源文件(source) 目标文件(destination) cp [option] source1 s 阅读全文
posted @ 2023-07-20 20:35 little_lunatic 阅读(61) 评论(0) 推荐(0)
摘要: - 引入依赖 ```xml com.github.wnameless.json json-flattener 0.16.4 ``` - demo ```java public static void main(String[] args) { String jsonStr = ""; jsonStr 阅读全文
posted @ 2023-07-18 16:28 little_lunatic 阅读(924) 评论(0) 推荐(0)
摘要: 流操作是[Java8](https://so.csdn.net/so/search?q=Java8&spm=1001.2101.3001.7020)提供一个重要新特性,允许开发人员以声明性方式**处理集合**,其核心类库主要改进了对集合类的 API 和新增 Stream 操作。 ## 一、流操作详解 阅读全文
posted @ 2023-07-12 17:27 little_lunatic 阅读(276) 评论(0) 推荐(0)
摘要: ## 一、简介 Gradle是一款Google推出的 **基于JVM**、 通用灵活的 项目构建工具, 支持 Maven,JCenter 多种第三方仓库;支持传递性依赖管理、废弃了繁杂的xml文件,转而使用 **简洁的 、 支持多种语言**的 build脚本文件 。 ![](https://img- 阅读全文
posted @ 2023-06-28 16:48 little_lunatic 阅读(36) 评论(0) 推荐(0)
摘要: `Drools` ,是一款由 JBoss 组织提供的基于 Java 语言编写的一个开源规则引擎,核心思想是把**业务规则**从程序代码中分离出来,可以更加灵活地管理业务规则。 ![截屏20230618 232001png](https://s2.loli.net/2023/06/19/WbwzGSK 阅读全文
posted @ 2023-06-21 15:47 little_lunatic 阅读(596) 评论(0) 推荐(0)
摘要: Spring Security学习笔记 一、Spring Security简介 Spring Security是针对Spring项目的安全框架,同时它也是一个独立的安全框架,可以在JavaEE项目中使用。其核心功能主要包括认证(Authentication)和授权(Authorization)。 1 阅读全文
posted @ 2023-06-09 02:33 little_lunatic 阅读(31) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 ··· 9 下一页