LiGuo

Results 22 comments of LiGuo

```C# LinkedList Add(LinkedList a, LinkedList b) { var af = a.First; var bf = b.First; LinkedList r = new(new[] {0}); LinkedListNode rf = r.First; int carry = 0; while (af...

我还是用中文吧,player.VlcMediaPlayer.VideoSize能获取视频大小,至于比例嘛,实例里面已经很明显了,就是player.AspectRatio, 可以通过枚举来设置为16:9或4:3

记得上次用Vlc.net是直接改源文件,添加对dll中mute()的调用

.net 5 项目表示都不知道怎么替换默认依赖注入了

找到了,在IHostBuilder调用UseServiceContext扩展方法(在AspectCore.Extensions.Hosting 包中) ![image](https://user-images.githubusercontent.com/15363011/122173186-15cb1d00-ceb4-11eb-9a44-77f85f69a3a6.png) 在Controller里注入还需要在AddControllers时调用AddControllersAsServices ![image](https://user-images.githubusercontent.com/15363011/122173261-3004fb00-ceb4-11eb-8c23-fcb3eef89dc7.png) 经测试属性注入正常

> But probably you can directly run containerd-rootless.sh w/o setuptool on CentOS7 yes, just run `/usr/local/bin/containerd-rootless.sh` and get log ``` INFO[2022-01-10T07:56:01.872203924Z] Connect containerd service INFO[2022-01-10T07:56:01.872256885Z] Get image filesystem path "/var/lib/containerd/io.containerd.snapshotter.v1.overlayfs"...

预支付调用成功。 证书密码和证书路径已配,out_trade_no 传入正确

2018-11-22 21:22:03 Code:GAEVYQW Key:RestCommon Detail:基类请求出错,错误信息:系统找不到指定的文件。 2018-11-22 21:23:40 Code:ZADYYQW Key:RestCommon Detail:基类请求出错,错误信息:系统找不到指定的文件。 所以是找不到哪个文件啊.........

@KevinWG 证书路径是填证书文件所在的绝对路径还是直接填写证书名,如"SN=xxx,CN=xxx,OU=MMPay,O=Tencent,L=Shenzhen,S=Guangdong,C=CN" 这种

winserver, 路径填的E:\\xx\\xx.p12 改为E:/xx/xx.p12 和E:/xx/xx.pem都不行 改为xx.pem 后报错信息变为 2018-12-04 17:24:30 Code:NQ22GPX Key:RestCommon Detail:基类请求出错,错误信息:An error occurred while sending the request.