background picture of the home page

Hi,Friend

以技术为主流的博客系统

镜像上传至私人仓库

一: jar包生成 二: dockerfile文件编辑 基础: FROM openjdk:8 MAINTAINER czk LABEL name="note" version="1.0" author="czk" EXPOSE 15888:15888 COPY JF-Note-1.0-SNAPSHO

thumbnail of the cover of the post

Docker拉取并启动镜像

Docker拉取并启动镜像 一:前置操作(非首次部署) * 可能用到的命令命令 1.产看所有服务 docker ps -a 2. 停止服务 docker stop b7c3d0d9c28 3. 删除服务 docker rm 57c678954cca 4. 删除tag为null的镜像 docker r

thumbnail of the cover of the post

Java中InputStream和String之间的转换方法

在Java中InputStream和String之间的转化十分普遍,本文主要是总结一下转换的各种方法,包括JDK原生提供的,还有一些外部依赖提供的。 1、InputStream转化为String 1.1 JDK原生提供 方法一: byte[] bytes = new byte[0]; bytes =

thumbnail of the cover of the post

Postgresql常用语句-截取字符串

Postgresql常用语句-截取字符串 函数:substring(‘hello@163.com’, start, count); 参数1:字符串,参数2:起始位置,参数3:count 注意:start的位置, count值的区别 查询子字符串hello 例子1. start=0,count=6

thumbnail of the cover of the post

Postgresql常用语句-查找字符首个位置

Postgresql常用语句-查找字符位置 一:第一次所出现的位置 注:position函数返回值是从1开始的,不是从0开始的下标值。如果返回0表示没找到字符。 1. 查找@在字符串hello@163.com中的位置 SELECT position('@' IN 'hello@163.com');

thumbnail of the cover of the post

Postgresql常用语句-去除空格

Postgresql常用语句-去除空格 Trim()函数:用来删除数据前后的空格。 RTrim()函数:用来删除数据前的空格。 LTrim()函数:用来删除数据后的空格。 REPLACE('', ' ', ''); 去除全部空格 如 SELECT trim(' hello world '); -

thumbnail of the cover of the post

免费随机图片api接口

免费随机图片api接口 1、api接口整合 搏天:https://api.btstu.cn/ 樱道:https://api.r10086.com/ 樱花:https://www.dmoe.cc/ 保罗:https://api.paugram.com/ EEE.DOG:https://api.yimi

thumbnail of the cover of the post