摘要: public class OrderTagsDocumentFilter : IDocumentFilter { public void Apply(OpenApiDocument swaggerDoc, DocumentFilterContext context) { swaggerDoc.Tag 阅读全文
posted @ 2022-11-07 17:01 不知勿言 阅读(281) 评论(0) 推荐(0) 编辑
摘要: 先上传 mysql-8.0.30-1.el7.x86_64.rpm-bundle.tar 文件到服务器 如果有 mariadb 需要先删除 标红的地方为初始密码,需要从日志文件中找到 阅读全文
posted @ 2022-09-17 21:28 不知勿言 阅读(23) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2022-09-07 15:47 不知勿言 阅读(481) 评论(0) 推荐(0) 编辑
摘要: gitlab-runner register \ --non-interactive \ --executor "shell" \ --url "http://192.168.3.191" \ --registration-token "x1jHszsD3W6AhyzxSETW" \ --descr 阅读全文
posted @ 2022-08-01 17:38 不知勿言 阅读(237) 评论(0) 推荐(0) 编辑
摘要: sudo passwd root 更新root密码 输入两次密码之后(新密码和确认密码) su (更换为root用户) 阅读全文
posted @ 2022-07-25 15:45 不知勿言 阅读(67) 评论(0) 推荐(0) 编辑
摘要: 基础:ssh命令连接step1:SSH程序的安装确保在服务器上安装好了openssh-server程序,在本地主机上安装好了openssh-client程序。 sudo apt install openssh-client #本地主机运行此条,实际上通常是默认安装client端程序的 sudo ap 阅读全文
posted @ 2022-07-23 11:35 不知勿言 阅读(1137) 评论(0) 推荐(0) 编辑
摘要: <PackageReference Include="Swashbuckle.AspNetCore.Swagger" Version="2.5.0" /> <PackageReference Include="Swashbuckle.AspNetCore.SwaggerGen" Version="2 阅读全文
posted @ 2022-06-30 11:46 不知勿言 阅读(216) 评论(0) 推荐(0) 编辑
摘要: Ctrl+k,Ctrl+s 打开自定义快捷方式 //vscode 安装 解决方案插件 vscode-solution-explorer //添加类或方法注释插件C# XML Documentation Comments 阅读全文
posted @ 2022-06-21 11:22 不知勿言 阅读(20) 评论(0) 推荐(0) 编辑
摘要: public class ObjectConverter<T> : JsonConverter { public override bool CanConvert(Type objectType) { return true; } public override bool CanWrite { ge 阅读全文
posted @ 2022-05-24 11:12 不知勿言 阅读(205) 评论(0) 推荐(0) 编辑
摘要: List<int> array = new List<int>(); int[] i ={1,2,3}; //指定那些列需要修改,当然剩下的列就是你希望只读的列了 array.AddRange(i); for (int i = 0; i < array.Count; i++) { HSSFCellS 阅读全文
posted @ 2022-05-20 15:49 不知勿言 阅读(145) 评论(0) 推荐(0) 编辑