TF-dev

Dev terraform provider 基于新框架tpf开发 开发示例: https://github.com/hashicorp/terraform-provider-scaffolding-framework https://github.com/serialt/terraform-provider-demo 参考示例: https://github.com/hashicorp/terraform-provider-hashicups 一、调试 provider 1、debug terraform # makefile default: install build: go build -v ./... install: go install -v ./... vscode 调试 terraform provider 1)vscode launch cat .vscode/launch.json {

CloudBeaver

CloudBeaver web 版 DBeaver docker-compose 安装 version: "3" services: cloudbeaver: image: dbeaver/cloudbeaver:24 container_name: cloudbeaver restart: always ports: - "8978:8978" volumes: - "/data/cloudbeaver:/opt/cloudbeaver/workspace" networks: - app networks: app: # 使用外部共享等网卡 external: true terraform kubernetes https://github.com/serialt/terraform-module-cloudbeaver

sanic

sanic 安装 python3 -m venv venv . venv/bin/activate pip3 install sanic helloworld from sanic import Sanic from sanic import text app = Sanic("Myapp") @app.get("/") async def test(request): return text("hello world") if __name__ == "__main__": app.run(host="0.0.0.0", port=8090, workers=4) vscode debug { "version": "0.2.0", "configurations": [ { "name": "Python Debugger: Current File", "type": "debugpy", "request": "launch", "python": "${workspaceFolder}/venv/bin/python3", "program": "main.py", // "console": "integratedTerminal", } ] }

Gorm Gen

Gorm Gen 参考链接:https://www.liwenzhou.com/posts/Go/gen/ Gen是一个基于GORM的安全ORM框架,其主要

Debug in VSCode

Debug In VSCode 一、GO 1、安装插件: golang.go r3inbowari.gomodexplorer 安装go debug相关组件 command + shift + p –> go install –> 勾选所有进行安装 2、lanuch.json { // 使用 IntelliSense 了解相关属性

security-info

漏洞信息 云服务商安全服务公告 云服务商 链接 cve官网 https://cve.mitre.org/ 阿里云 https://help.aliyun.com/noticelist/9213612.html?spm=a2c4g.789004748.n2.3.cddb4c07NBt9Rl 华为云 https://www.huaweicloud.com/notice.securecenter.html 腾讯云 https://cloud.tencent.com/announce?categorys=21&page=1 阿里云漏洞数据库 https://avd.aliyun.com/ 国家信息漏洞库 http://www.cnnvd.org.cn/ 常用软件官方安全公告链接 名称 链