logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

RestTemplate调用https接口报错问题解决

Caused by: javax.net.ssl.SSLHandshakeException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested targetat jav

#https#java
安装acme.sh生成免费https证书

1. 安装curl https://get.acme.sh | sh如果出现Failed to connect to raw.githubusercontent.com port 443错误,解决方案查询raw.githubusercontent.com真实IP,可以通过https://www.ipaddress.com/查询raw.githubusercontent.com的真实IP...

#https
java获取系统临时目录

System.getProperty("java.io.tmpdir");

使用fabric8.io maven插件推送到阿里云镜像仓库

<plugin><groupId>io.fabric8</groupId><artifactId>docker-maven-plugin</artifactId><version>0.34.1</version><configuration><images><image>.

#maven
jdk17 ScriptEngineManager不在支持javascript解决方法

在jdk在11开始就标注要取消NashornScriptEngineFactory类 ,在jdk17中已经移除在pom.xml中加入一下代码<dependency><groupId>org.openjdk.nashorn</groupId><artifactId>nashorn-core</artifactId><version&g

#javascript#java#eureka
typescript递归获取所有父节点

export function familyTree(data: any[], id: string): any[] {const res: any[] = [];const forFn = function (arr: any[], key: string) {for (let i = 0; i < arr.length; i += 1) {const item = arr[i]if (i

#typescript#html#javascript
react渲染字符串html

在 jsx或tsx中渲染html元素,可以使用dangerouslySetInnerHTML属性进行渲染,示例如下<spandangerouslySetInnerHTML={{__html: '要渲染的html内容'}}/>

ubuntu下创建应用启动器图标

ubuntu下创建应用启动器图标打开终端 进入/usr/share/applications目录, cd /usr/share/applications在/usr/share/applications目录下,创建后缀为desktop文件,比如 vi postman.Desktop文件内容格式如下:[Desktop Entry]Encoding=UTF-8Name=程序名称Exec=可...

#ubuntu
ubuntu20下使用微信开发者工具

发现一个可以在linux下使用的微信开发者工具,安装方法看官方文档,需要安装winelinux微信开发者工具

ubuntu安装sensors温度查看工具

sudo apt-get install lm-sensors安装成功后运行 `sensors`

    共 35 条
  • 1
  • 2
  • 3
  • 4
  • 请选择