摘要:
1、搭建runner 镜像:gitlab/gitlab-runner:latest 2、注册runner,输入gitlab-runner register命令 root@runner-6f49c57c49-5889v:/# gitlab-runner register Runtime platfor 阅读全文
摘要:
需求:Oracle迁移至Postgresql数据库,结构相对简单,没有view、function、procedure .etc 比较使用工具(开源): 1、pgloader 2、ora2pg 3、Dbeaver 首选方案是pgloader,但失败了,最终选择了ora2pg来迁移 以下是我的实践过程: 阅读全文
摘要:
2024/11/14 求助,为什么“targetRoundId1”引发了类型“System.NullReferenceException”的异常 代码: Dictionary<string, Dictionary<string,string>> exchangeRateDict1 = new (); 阅读全文
摘要:
angular在单元测试时执行ng test --no-watch --code-coverage报异常如下: ERROR [karma-server]: UncaughtException: Error: spawn UNKNOWN at ChildProcess.spawn (node:inte 阅读全文
摘要:
框架:.Net 6 、webapi package:GitLabApiClient 定义body参数DTO,不同event有不同的参数,具体可参考gitlab文档:https://docs.gitlab.com/ee/user/project/integrations/webhook_events. 阅读全文
摘要:
项目以net8建立为例子(net6也通用),使用Autofac实现构造函数注入、属性注入两种。 Autofac (第三方) 1、引用以下package Autofac Autofac.Extensions.DependencyInjection Microsoft.Extensions.Depend 阅读全文
摘要:
错误信息:(java编译文件版本与运行环境版本不一致导致) Using the .NET Core version of the Scanner for MSBuild Post-processing started. Calling the SonarScanner CLI... Error: L 阅读全文
摘要:
在for循环里,有8w数据,结果需要10+分钟才遍历完(生产环境下),结果发现导致耗时的代码如下 try { ritem.Qty = Convert.ToDecimal(value); } catch(Exception e) { Logger.Info(e.ToString()); ritem.Q 阅读全文
摘要:
在html的select元素添加了onchange事件,changeContent方法也在当前html下。 <select id="changeLanguage" class="form-control input-lg" asp-for="language" asp-items="Model.su 阅读全文
摘要:
在ubuntu(18.04)运行OpenCvSharp4(4.6.0)报错如下: Microsoft.AspNetCore.Server.Kestrel[13] Connection id "0HMJAMSQJ3RO8", Request id "0HMJAMSQJ3RO8:00000005": A 阅读全文