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

一、Helloworld sanic 安装 python3 -m venv venv . venv/bin/activate pip3 install sanic helloworld from sanic import Sanic from sanic import text app = Sanic("Myapp") @app.route("/") async def test(request): return response.text('Hello World') if __name__ == '__main__': app.run(host="0.0.0.0", port=7777) vscode debug { "version": "0.2.0", "configurations": [ { "name": "Python Debugger: Current File", "type": "debugpy", "request": "launch", "python": "${workspaceFolder}/venv/bin/python3", "program": "main.py",

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/ 常用软件官方安全公告链接 名称 链

kvm

KVM virt-install 安装虚拟机 virt-install 示例 virt-install \ --name=pc01 \ --graphics vnc,listen=0.0.0.0,port=5901,keymap=en_us \ --ram=1024 \ --vcpus=1 \ --disk path=/var/lib/libvirt/images/pc01.img,size=9,format=qcow2 \ --bridge=virbr0 \ --location=ftp://172.16.8.100/rhel6.6 \ --extra-args="ks=ftp://172.16.8.100/rhel6.4.ks" virt-install \ --name=pc02 \ --graphics vnc,listten=0.0.0.0,port=5920,keymap=en_us \ --noautoconsole \ --ram=1024 \ --vcpus=1 \ --disk path=/var/lib/libvirt/images/pc02.img,size=9,format=qcow2 \ --bridge=virbr0 \ --location=ftp://172.16.8.100/rhel6.4 \ --extra-args="ks=ftp://172.16.8.100/rhel6.4.ks" virt-install \ --name=pc03 \ --nographics \ --ram=1024 \ --vcpus=1 \ --disk path=/var/lib/libvirt/images/pc03.img,size=9,format=qcow2 \ --bridg=virbr0 --location=ftp://172.16.8.100/rhel6.4 \ --extra-args="ks=ftp://172.16.8.100/rhel6.4.ks console=tty0 console=ttyS0" #