文章分类 - 工具
摘要:package com.hcp.config; import org.springframework.context.annotation.Configuration; import org.springframework.scheduling.annotation.EnableScheduling
阅读全文
摘要:<dependency> <groupId>cn.hutool</groupId> <artifactId>hutool-all</artifactId> <version>5.8.16</version> </dependency> @GetMapping(value = "/code") pub
阅读全文
摘要:public Mono<Void> filter(ServerWebExchange exchange, GatewayFilterChain chain) { try { if(!exchange.getRequest().getPath().toString().equals("/hcp-sys
阅读全文
摘要:git卸载: 找到此软件,然后使用如下命令卸载,其中xxx为程序名,purge参数意为彻底删除文件。 sudo apt-get purge git 然后使用以下两条命令来清除残余的配置文件 sudo apt-get autoremove sudo apt-get clean dpkg -l |gre
阅读全文
摘要:软件包索引,并且安装必要的依赖软件,来添加一个新的 HTTPS 软件源: sudo apt update sudo apt install apt-transport-https ca-certificates curl gnupg-agent software-properties-common
阅读全文
摘要:## Copyright 1999-2021 Alibaba Group Holding Ltd.## Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except
阅读全文
摘要:<dependency> <groupId>org.apache.httpcomponents</groupId> <artifactId>httpclient</artifactId> <version>4.5.12</version> </dependency> package com.dp.u
阅读全文
摘要:1、下载 官网首页: https://zookeeper.apache.org/ 2、启用 解压: /bin/zkServer.cmd conf/zoo.cfg zoo_sample.cfg文件更名为zoo.cfg 启动
阅读全文
摘要:1、git init 初始化 2、git add . 将当前目录下修改的所有代码从工作区添加到暂存区 3、git commit -m ['注释'] 将缓存区内容添加到本地仓库 4、git remote add origin 仓库地址 将本地仓库与远程仓库连接起来 5、git push origin
阅读全文
摘要:springboot后端: pom <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-websocket</artifactId> </dependency> packag
阅读全文
摘要:1、安装junit插件 2、创建测试方法 鼠标移动到类大括号里 创建测试类,点击小绿箭头执行即可。 使用MokcMvc参数 package com.dp.controller;import com.dp.DpEquipmentApplication;import com.google.gson.Js
阅读全文
摘要:vi /etc/resolv.conf resolv.conf: nameserver 8.8.8.8 nameserver 4.4.4.4 重启: service network-manager restart
阅读全文
摘要:File filex = new File(pt);filex.setWritable(true,false);filex.mkdirs();
阅读全文
摘要:System.out.println(System.getProperties().get("user.home"));//用户路径 System.out.println(System.getProperties().get("user.dir"));//项目路径 System.out.printl
阅读全文
摘要:pom <dependency> <groupId>cn.jpush.api</groupId> <artifactId>jpush-client</artifactId> <version>3.4.4</version> <exclusions> </exclusions> </dependenc
阅读全文
摘要:Unable to access 'https://github.com/lawrence555/wh.git/': OpenSSL SSL_read: Connection was reset, errno 10054 Unable to access 'https://github.com/la
阅读全文