摘要:
ProtoOptions 简介 使用protobuf的options,我们可以添加我们自己的option,然后根据option生成代码添对proto中的参数进行处理,例如添加message的校验。 extension 能够对已经存在的消息进行扩展,这种扩展只是动态增加字段,而没有增加接口。 例子:扩 阅读全文
摘要:
安装 安装MongoDB docker run -d --name mongo-yapi mongo 安装Yapi docker pull registry.cn-hangzhou.aliyuncs.com/anoy/yapi # 初始化 Yapi 数据库索引及管理员账号 docker run -i 阅读全文
摘要:
软件缓存目录 # take JetBrains for example /System/Volumes/Data/Users/[你的名字]/Library/Application Support/ /System/Volumes/Data/Users/[你的名字]/Library/Logs/JetB 阅读全文
摘要:
macos 12 Java下载地址:https://www.oracle.com/java/technologies/downloads 环境变量设置 vi ~/.zshrc export JAVA_HOME=/Users/wxx/env/java/jdk-18.jdk/Contents/Home 阅读全文
摘要:
报错内容 untimeError: Broken toolchain: cannot link a simple C program ... ERROR: Could not build wheels for numpy which use PEP 517 and cannot be install 阅读全文
摘要:
安装配置 sudo docker pull eclipse-mosquitto sudo mkdir -p /mosquitto/config sudo mkdir -p /mosquitto/data sudo mkdir -p /mosquitto/log sudo vi /mosquitto/ 阅读全文
摘要:
docker pull mariadb sudo docker run --name mariadb -e MYSQL_ROOT_PASSWORD=123456 -p 13306:3306 -d mariadb 阅读全文
摘要:
环境 Ubuntu21 安装 sudo apt-get install mosquitto ## 客户端 sudo apt-get install mosquitto-clients 启动服务 mosquitto -c /etc/mosquitto/mosquitto.conf -d 发布订阅 参数 阅读全文
摘要:
helm github https://github.com/helm/helm/releases/tag/v3.8.0 centos # 使用国内源 wget https://get.helm.sh/helm-v3.8.0-linux-amd64.tar.gz tar zxf helm-v3.8. 阅读全文
摘要:
安装 Linux ### 从官方下载 curl -LO minikube https://storage.googleapis.com/minikube/releases/latest/minikube-linux-amd64 ### OR从阿里云镜像下载 curl -Lo minikube htt 阅读全文