runliuv

runliuv@cnblogs

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::
上一页 1 ··· 12 13 14 15 16 17 18 19 20 ··· 76 下一页

2023年12月1日

摘要: C#.NET 使用Task.Run和Task.Delay 延时执行任务(代码) 环境: .NET 4.5.2 .NET WEB MVC + WEB API。 示例代码: using CommonUtils; using System; using System.Threading.Tasks; us 阅读全文
posted @ 2023-12-01 11:39 runliuv 阅读(660) 评论(0) 推荐(0)

2023年11月30日

摘要: 使用 openssl 从cer公钥证书中导出公钥pem "der 公钥证书"转 "base64 公钥证书"openssl x509 -inform der -in z11.cer -out z11.pem 从 "DER 公钥证书"中导出"公钥"openssl x509 -inform der -in 阅读全文
posted @ 2023-11-30 17:57 runliuv 阅读(852) 评论(0) 推荐(0)

2023年11月26日

摘要: GO语言 GOLANG 上传微信电子小票图片、GO HTTP POST 图片文件、GO 上传图片文件、multipart/form-data、image/jpeg、image/png。 GO 环境: go version go1.21.4 windows/amd64 为了方便调试,我把http he 阅读全文
posted @ 2023-11-26 21:02 runliuv 阅读(147) 评论(0) 推荐(3)

2023年11月23日

摘要: C#.NET 循环字符串 V20231123 public static bool IsIllegalOutTradeNo(string OutTradeNo) { foreach (char item in OutTradeNo) { if (item == '(' || item == ')' 阅读全文
posted @ 2023-11-23 10:10 runliuv 阅读(36) 评论(0) 推荐(1)

2023年11月19日

摘要: 本地设备名已在使用中。此连接尚未还原。 解决方法: 在出现的问题的电脑上使用\\ip(*.*.*.*)的方式访问共享文件夹,测试是否能够正常。 我的环境: 最开始:本机用户名与NAS机上的用户名密码都相同。 后来本机是删除了密码,访问NAS时,就提示了“本地设备名已在使用中。此连接尚未还原。” 最后 阅读全文
posted @ 2023-11-19 19:13 runliuv 阅读(14028) 评论(0) 推荐(0)

摘要: 罗技鼠标不能连续调节音量 以前用罗技软件设置后,是可以连续调节音量大小的。换成G HUB不行,不能长按,只能一次次点击。 解决方法: 1。进入G HUB ,关闭板载存储。 2。点击鼠标本体,进入设置。 3。将调节音乐功能键设置好,即拖动功能到鼠标键上。 4。打开板载内存,然后点击右边的设置按钮。 5 阅读全文
posted @ 2023-11-19 14:08 runliuv 阅读(456) 评论(0) 推荐(0)

2023年11月11日

摘要: go 1.6 废弃 io/ioutil 包后的替换函数 io/ioutil 替代 ioutil.ReadAll -> io.ReadAll ioutil.ReadFile -> os.ReadFile ioutil.ReadDir -> os.ReadDir // others ioutil.Nop 阅读全文
posted @ 2023-11-11 11:11 runliuv 阅读(1369) 评论(0) 推荐(1)

摘要: go.mod file not found in current directory or any parent directory; see 'go help modules' (exit status 1) 原因: 目录少缺少 go.mod 文件。 解决方法: 在终端中输入: go mod in 阅读全文
posted @ 2023-11-11 10:21 runliuv 阅读(104) 评论(0) 推荐(0)

2023年11月9日

摘要: m3u8文件转换mp4 ffmpeg 命令行执行下面语句: ffmpeg -i input.m3u8 -c copy output.mp4 ffmpeg.exe 和 input.m3u8 放在同一目录。 阅读全文
posted @ 2023-11-09 00:54 runliuv 阅读(144) 评论(0) 推荐(0)

2023年11月3日

摘要: C#.NET 国密SM4 CBC 对称加解密 与JAVA互通 ver:20231103 .NET 环境:.NET6 控制台程序(.net core)。 JAVA 环境:JAVA8,带maven 的JAVA控制台程序。 简要解析: 1:加密的KEY、明文等输入参数都需要string转 byte [] 阅读全文
posted @ 2023-11-03 14:24 runliuv 阅读(2327) 评论(3) 推荐(6)

上一页 1 ··· 12 13 14 15 16 17 18 19 20 ··· 76 下一页