随笔分类 -  工具

摘要:提问 nuget如何添加 readme 回答 目录 csproj 其他 nuget 最佳实践 https://learn.microsoft.com/en-us/nuget/create-packages/package-authoring-best-practices 阅读全文
posted @ 2024-05-31 13:38 东百牧码人 阅读(30) 评论(0) 推荐(0)
摘要:提问 vs code 如何将markdown导出word 回答 安装 运行 Ctrl + ` pandoc myfile.md -o myfile.docx 阅读全文
posted @ 2024-04-11 09:05 东百牧码人 阅读(2008) 评论(0) 推荐(0)
摘要:提问 如何设置服务恢复 回答 sc.exe failure 服务名 reset=0 actions=restart/60000/restart/60000/restart/60000 阅读全文
posted @ 2024-03-28 11:56 东百牧码人 阅读(19) 评论(0) 推荐(0)
摘要:提问 vscode 如何 markdown创建目录 回答 1.安装插件 ctrl + shift + p 选择 create toc命令 阅读全文
posted @ 2024-03-27 08:25 东百牧码人 阅读(80) 评论(0) 推荐(0)
摘要:## 提问 如何强制访问无https的网站 ## 回答 快捷方式目标增加如下项 ``` --test-type --ignore-certificate-errors ``` ![](https://img2023.cnblogs.com/blog/599607/202307/599607-2023 阅读全文
posted @ 2023-07-04 13:26 东百牧码人 阅读(126) 评论(0) 推荐(0)
摘要:提问 如何查看端口占用 回答 netstat -ano|findstr "18100" 阅读全文
posted @ 2023-02-16 14:03 东百牧码人 阅读(18) 评论(0) 推荐(0)
摘要:提问 vscode markdown导出pdf不显示图片 回答 将markdown文件与图片放到统一文件夹下直接引用 阅读全文
posted @ 2023-01-11 14:55 东百牧码人 阅读(354) 评论(0) 推荐(0)
摘要:提问 如何切面记录日志 回答 使用MethodDecorator.Fody using System.Reflection; using my.Attributes; using my.Log4Net; using log4net; using MethodDecorator.Fody.Interf 阅读全文
posted @ 2022-11-01 14:43 东百牧码人 阅读(66) 评论(0) 推荐(0)
摘要:提问 C# 如何格式化json字符串 回答 private string ConvertJsonString(string str) { //格式化json字符串 JsonSerializer serializer = new JsonSerializer(); TextReader tr = ne 阅读全文
posted @ 2022-10-12 18:23 东百牧码人 阅读(41) 评论(0) 推荐(0)
摘要:提问 如何在构建wix项目前自动构建引用项目 回答 加入 BeforeBuild命令,不要用项目属性中的Build Events <Target Name="BeforeBuild"> <Exec Command="dotnet publish ..\ChangeLog.CommunityToolk 阅读全文
posted @ 2022-09-27 09:39 东百牧码人 阅读(40) 评论(0) 推荐(0)
摘要:提出问题 生成的nuget包名字不确定怎么办? 解决问题 使用*.nupkg匹配全部 dotnet nuget push -s http://localhost:18103/v3/index.json *.nupkg --skip-duplicate 参考 dotnet nuget push 阅读全文
posted @ 2022-09-01 15:49 东百牧码人 阅读(48) 评论(0) 推荐(0)
摘要:提出问题 为了信息安全和不给自己惹上麻烦,给公司开发的nuget包最好发布到公司内部nuget服务上,如何在使用jenkins持续构建时指定nuget源呢? 解决问题 项目跟文件加增加nuget.config文件 <?xml version="1.0" encoding="utf-8"?> <con 阅读全文
posted @ 2022-09-01 14:40 东百牧码人 阅读(206) 评论(0) 推荐(0)
摘要:创建Item Template项目 编辑Item Template模板 $safeitemrootname$ 类名 $rootnamespace$ 命名空间 创建VSIX项目 打包Item Template模板 安装VSIX 需关闭VS 修改版本安装可升级 示例安装单例新建项 搜索:Singleto 阅读全文
posted @ 2022-09-01 11:35 东百牧码人 阅读(33) 评论(0) 推荐(0)
摘要://创建servername服务,弹出配置界面,选择influxd.exe nssm install influxd "程序路径.exe" //开启服务,成功后浏览器打开localhost:8086 nssm start influxd //停止服务 nssm stop influxd //移除服务 阅读全文
posted @ 2022-08-31 10:03 东百牧码人 阅读(32) 评论(0) 推荐(0)
摘要:认识curl 有人解释成 command url 有人解释为 client url 用法 -X 请求方式 -H header数据 -d 附带数据 参考:https://www.ruanyifeng.com/blog/2019/09/curl-reference.html Example curl - 阅读全文
posted @ 2022-07-22 11:28 东百牧码人 阅读(1830) 评论(0) 推荐(0)