文章分类 -  工具

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

点击右上角即可分享
微信分享提示