上一页 1 2 3 4 5 6 7 ··· 47 下一页
摘要: nuget <PackageReference Include="LiveCharts.Wpf.Core" Version="0.9.8" /> <PackageReference Include="PropertyChanged.Fody" Version="4.1.0" /> Customers 阅读全文
posted @ 2025-07-31 19:11 Hey,Coder! 阅读(82) 评论(0) 推荐(0)
摘要: <lvc:CartesianChart LegendLocation="None" Name="chart1" Hoverable="False" > <lvc:CartesianChart.DataTooltip> <lvc:DefaultTooltip SelectionMode="OnlySe 阅读全文
posted @ 2025-07-31 18:37 Hey,Coder! 阅读(48) 评论(0) 推荐(0)
摘要: <lvc:CartesianChart LegendLocation="None" > <lvc:CartesianChart.Series > <lvc:LineSeries Fill="Transparent" Values="{Binding TestValue}" Title="test" 阅读全文
posted @ 2025-07-18 17:26 Hey,Coder! 阅读(24) 评论(0) 推荐(0)
摘要: using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; public class LinuxHelper { public string GetCpu() { var r 阅读全文
posted @ 2025-07-11 10:16 Hey,Coder! 阅读(79) 评论(0) 推荐(0)
摘要: 读取所有的物理磁盘设备 List<String> result; var query = new WqlObjectQuery("SELECT * FROM Win32_DiskDrive"); using (var searcher = new ManagementObjectSearcher(q 阅读全文
posted @ 2025-07-10 18:51 Hey,Coder! 阅读(50) 评论(0) 推荐(0)
摘要: 说明 通过使用github中的Leaflet.hotline实现 地址:https://github.com/iosphere/Leaflet.hotline/tree/master <html> <head> <meta name="viewport" content="width=device- 阅读全文
posted @ 2025-07-03 15:33 Hey,Coder! 阅读(61) 评论(0) 推荐(0)
摘要: nuget Ocelot 24.0.0 Ocelot.Provider.Consul 24.0.0 Swashbuckle.AspNetCore 6.6.2 Microsoft.AspNetCore.Authentication.JwtBearer 8.0.13 路由配置文件 文件名称:【confi 阅读全文
posted @ 2025-06-25 17:55 Hey,Coder! 阅读(89) 评论(0) 推荐(0)
摘要: 需要用到ngx_http_auth_request_module 模块,它可以基于子请求的结果实现客户端授权。 高版本(1.12+)已经默认安装该模块,或者使用--with-http_auth_request_module开启此模块。 location /auth { internal; # 只允许 阅读全文
posted @ 2025-06-24 11:42 Hey,Coder! 阅读(229) 评论(0) 推荐(0)
摘要: 介绍 在微服务的环境下网关是比较重要的节点,所有服务通过网关去统一调用。在.net环境下ocelot是比较常用的微服务网关方案,简单将ocelot引入webapi项目后添加配置文件即可比较方便的做出熔断、限流等逻辑管控。 本文介绍一种通过consul-template获取consul中服务信息,然后 阅读全文
posted @ 2025-06-24 11:37 Hey,Coder! 阅读(63) 评论(0) 推荐(0)
摘要: 效果 通过特殊的协议直接打开特定的程序。 例如,print://file.pdf ,协议名称为注册表的key,后面脚本中的hiprint 通过此协议头和参数直接唤起一个特定的程序并传递参数。 ; https://github.com/DomGries/InnoDependencyInstaller 阅读全文
posted @ 2025-06-23 09:16 Hey,Coder! 阅读(25) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 ··· 47 下一页