开发日常
未读
SpringBoot自定义Starter
### 1、新建正常SpringBoot项目并引入依赖 ```xml 4.0.0 com.nn3n.develop nn3n-spring-boot-starter 1.0-SNAPSHOT o
Docker
未读
自定义构建Boot docker镜像
### 1、java基础镜像收集 ```shell docker pull openjdk:11-jdk-slim docker pull openjdk:17-jdk-slim ``` ### 2、Dockerfile ```shell # 使用官方的OpenJDK作为基础镜像 FROM open
Golang
未读
golang环境搭建
### 一、环境设置 ```shell GOROOT D:\Go GOPATH E:\go-dev GO111MODULE=on GOPROXY=https://goproxy.cn,direct ``` ```shell C:\Users\Dell>go version go version go
harbor集成trivy
harbor集成trivy ```shell sudo ./install.sh --with-trivy ``` oras ```shell VERSION="1.2.2" curl -LO "https://github.com/oras-project/oras/releases/downlo
https自签名证书
#### 一、安装OpenSSL 在Ubuntu上:使用`sudo apt update`和`sudo apt install -y openssl`命令进行安装 在CentOS上:使用`sudo yum install -y openssl`命令进行安装 #### 二、生成私钥 使用OpenS
C++之获取格式化当前时间
### 一、C++格式化时间及获取当前时间 ```cpp #include #include #include using namespace std; string getTime() { const time_t now = time(nullptr); char str[64]; strfti
Debian Docker 安装
### 1. 更新软件包 首先,更新现有的软件包和包缓存: ```shell root@debian:~# sudo apt update Hit:1 http://mirrors.aliyun.com/debian bookworm InRelease Hit:2 http://mirrors.a