上一页 1 2 3 4 5 6 7 ··· 44 下一页
摘要: 提问 如何rides batch设置过期时间 回答 batch.HashSetAsync(projectId, hashFields.ToArray()); batch.KeyExpireAsync(projectId, TimeSpan.FromSeconds(3600)); 阅读全文
posted @ 2024-06-07 13:56 喜爱糖葫芦 阅读(1) 评论(0) 推荐(0) 编辑
摘要: 提问 nuget如何添加 readme 回答 目录 csproj 其他 nuget 最佳实践 https://learn.microsoft.com/en-us/nuget/create-packages/package-authoring-best-practices 阅读全文
posted @ 2024-05-31 13:38 喜爱糖葫芦 阅读(4) 评论(0) 推荐(0) 编辑
摘要: 提问 net core cmd如何如何以指定端口启动 回答 WebApi.exe --urls http://*:8063 阅读全文
posted @ 2024-05-20 10:40 喜爱糖葫芦 阅读(9) 评论(0) 推荐(0) 编辑
摘要: 提问 WPF项目如何使用日志 回答 引入nuget log4net 加入配置特性 [assembly: ThemeInfo( ResourceDictionaryLocation.None, //where theme specific resource dictionaries are locat 阅读全文
posted @ 2024-04-19 13:21 喜爱糖葫芦 阅读(67) 评论(0) 推荐(0) 编辑
摘要: 提问 influxdb查询如何指定时区 回答 import "timezone" option location = timezone.location(name: "America/Los_Angeles") 参考 https://www.influxdata.com/blog/time-zone 阅读全文
posted @ 2024-04-17 14:13 喜爱糖葫芦 阅读(166) 评论(0) 推荐(0) 编辑
摘要: 提问 vs code 如何将markdown导出word 回答 安装 运行 Ctrl + ` pandoc myfile.md -o myfile.docx 阅读全文
posted @ 2024-04-11 09:05 喜爱糖葫芦 阅读(294) 评论(0) 推荐(0) 编辑
摘要: 提问 C# 如何时间戳转时间 回答 string id = TimeZoneInfo.Local.Id; DateTime start = new DateTime(1970, 1, 1) + TimeZoneInfo.Local.GetUtcOffset(DateTime.Now); DateTi 阅读全文
posted @ 2024-04-01 10:08 喜爱糖葫芦 阅读(34) 评论(0) 推荐(0) 编辑
摘要: 提问 如何设置服务恢复 回答 sc.exe failure 服务名 reset=0 actions=restart/60000/restart/60000/restart/60000 阅读全文
posted @ 2024-03-28 11:56 喜爱糖葫芦 阅读(3) 评论(0) 推荐(0) 编辑
摘要: 提问 vscode 如何 markdown创建目录 回答 1.安装插件 ctrl + shift + p 选择 create toc命令 阅读全文
posted @ 2024-03-27 08:25 喜爱糖葫芦 阅读(59) 评论(0) 推荐(0) 编辑
摘要: 提问 git 提交后没push想撤回怎么办 回答 git reset 命令分为两种: git reset –-soft 与 git reset –-hard ,区别是: 前者表示只是改变了HEAD的指向,本地代码不会变化,我们使用git status依然可以看到,同时也可以git commit提交。 阅读全文
posted @ 2024-03-22 10:15 喜爱糖葫芦 阅读(25) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 44 下一页