摘要: ```java import java.io.*; import java.nio.channels.FileChannel; import java.util.ArrayList; import java.util.List; public class Main { private static 阅读全文
posted @ 2023-07-29 13:37 FigSprite 阅读(12) 评论(0) 推荐(0) 编辑
摘要: ![](https://img2023.cnblogs.com/blog/1466818/202307/1466818-20230728193340233-657629322.png) ![](https://img2023.cnblogs.com/blog/1466818/202307/14668 阅读全文
posted @ 2023-07-28 19:35 FigSprite 阅读(44) 评论(0) 推荐(0) 编辑
摘要: 一、防火操作墙相关命令 1、查看防火墙状态 : systemctl status firewalld.service 注:active是绿的running表示防火墙开启 2、关闭防火墙 :systemctl stop firewalld.service 3、开机禁用防火墙自启命令 :systemct 阅读全文
posted @ 2023-07-28 09:48 FigSprite 阅读(45) 评论(0) 推荐(0) 编辑
摘要: ## 查看系统版本 ```shell uname -a ``` ## 查看java当前版本 ```shell which java ``` ```shell echo $JAVA_HOME ``` ## 下载新的jdk http://www.oracle.com/technetwork/cn/jav 阅读全文
posted @ 2023-07-26 17:04 FigSprite 阅读(84) 评论(0) 推荐(0) 编辑
摘要: 官网那个命令不好使,我们直接下载war包 http://updates.jenkins-ci.org/download/war/ ```shell nohup java -jar jenkins.war --httpPort=8848 > log.txt 2>&1 & ``` 上面的2 和 1 的意 阅读全文
posted @ 2023-07-26 16:53 FigSprite 阅读(5) 评论(0) 推荐(0) 编辑
摘要: ## pom文件添加 ```xml org.mybatis.spring.boot mybatis-spring-boot-starter 2.1.3 com.github.pagehelper pagehelper-spring-boot-starter 1.3.0 com.alibaba dru 阅读全文
posted @ 2023-07-26 15:37 FigSprite 阅读(17) 评论(0) 推荐(0) 编辑
摘要: 环境配置 JDK7及其以上 获取实例代码 $ git clone -b v1.42.1 https://github.com/grpc/grpc-java 进入examples文件夹 cd grpc-java/examples 启动实例代码 1.编译客户端实例代码和服务端实例代码 $ ./gradl 阅读全文
posted @ 2021-12-23 10:44 FigSprite 阅读(36) 评论(0) 推荐(0) 编辑
摘要: Note that the compile, runtime, testCompile, and testRuntime configurations introduced by the Java plugin have been deprecated since Gradle 4.10 (Aug 阅读全文
posted @ 2021-11-13 20:54 FigSprite 阅读(34) 评论(0) 推荐(0) 编辑
摘要: public void quickSort(int[] nums,int L,int R){ if(L>=R){ return; } int left=L; int right=R; int pivot = nums[left]; while(left<right){ while(left<righ 阅读全文
posted @ 2021-08-26 21:58 FigSprite 阅读(295) 评论(0) 推荐(0) 编辑
摘要: 相关包的引入: <dependency> <groupId>io.springfox</groupId> <artifactId>springfox-swagger2</artifactId> </dependency> <dependency> <groupId>io.springfox</gro 阅读全文
posted @ 2021-08-23 15:47 FigSprite 阅读(63) 评论(0) 推荐(0) 编辑