冠军

导航

2023年3月17日

Python 和 Podman

摘要: 1. Windows 10 上安装 Python 开始在 Windows 上使用 Python(初学者) 2. 使用 pip Python 的 Microsoft Store 安装包括 pip(标准包管理器)。 通过 pip 可以安装和管理不属于 Python 标准库的其他包。 若要确认还可使用 p 阅读全文

posted @ 2023-03-17 21:13 冠军 阅读(41) 评论(0) 推荐(0) 编辑

nanoFramework

摘要: nanoFramework 01: Getting started with nanoFramework! 08: .NET nanoFramework GPIO, I2C, SPI and other IO support 阅读全文

posted @ 2023-03-17 21:12 冠军 阅读(143) 评论(0) 推荐(0) 编辑

language-ext

摘要: Library https://github.com/louthy/language-ext Learning Resource https://github.com/stumathews/UnderstandingLanguageExt NuGet https://www.nuget.org/pa 阅读全文

posted @ 2023-03-17 21:12 冠军 阅读(36) 评论(0) 推荐(0) 编辑

ng-alain: st 简化表格

摘要: https://github.com/ng-alain/delon/blob/master/packages/abc/st/index.zh-CN.md st 并不是在创造另一个表格组件,而是在 nz-table 基础上以可配置形式渲染表格,在中后台里这种方式可以满足绝大多数场景,但又可以更易地管理 阅读全文

posted @ 2023-03-17 21:11 冠军 阅读(56) 评论(0) 推荐(0) 编辑

ng-alain: delon/abc/sc 简化容器

摘要: 简化表单HTML模板的高阶组件,并进一步优化了一些细节: 更友好的表单校验状态 自动化响应式布局 自动维护表单 id 它由 se-container 容器(指令)和 se 组件来表示一个表单,一个简单HTML模板表单是这么写的: se-container 指定表单元素最多分几列展示,最终一行几列由 阅读全文

posted @ 2023-03-17 21:11 冠军 阅读(29) 评论(0) 推荐(0) 编辑

ng-alain: i18n

摘要: https://github.com/ng-alain/delon/blob/master/packages/theme/src/services/i18n/i18n.ts interface AlainI18NService abstract class AlainI18nBaseService 阅读全文

posted @ 2023-03-17 21:11 冠军 阅读(20) 评论(0) 推荐(0) 编辑

ng-alain: Title Service

摘要: 文档地址:https://ng-alain.com/theme/title/zh 源码地址: https://github.com/ng-alain/delon/blob/master/packages/theme/src/services/title/title.service.ts 提供了 ge 阅读全文

posted @ 2023-03-17 21:10 冠军 阅读(15) 评论(0) 推荐(0) 编辑

ng-alain 创建页面

摘要: https://ng-alain.com/cli/generate/zh https://ng-alain.com/docs/new-page/zh 默认情况下,创建模块 trade,创建在目录 src/app/routes 下面。 % ng g ng-alain:module trade ? Wh 阅读全文

posted @ 2023-03-17 21:10 冠军 阅读(67) 评论(0) 推荐(0) 编辑

ng-alain: 配置开发环境

摘要: 配置 ng-alain 开发环境 安装 1. Yarn 官方文档实际上是基于 Yarn 1 的,请从 Yarn 1 开始。在创建项目之后,可以升级到 Yarn 3. 注意:直接通过 npm 安装 yarn 版本是 1.x,去 yarn 官网下载安装程序进行安装。直接安装的版本是 3.x. yarn 阅读全文

posted @ 2023-03-17 20:58 冠军 阅读(590) 评论(0) 推荐(0) 编辑

TokenService

摘要: https://github.com/ng-alain/delon/blob/master/packages/auth/src/token/token.service.ts set(data: ITokenModel): boolean { const res = this.store.set(th 阅读全文

posted @ 2023-03-17 20:57 冠军 阅读(34) 评论(0) 推荐(0) 编辑

AlainConfig

摘要: 核心配置对象。 一个配置对象 AlainConfig, 它有一个默认的 一个配置服务:AlainConfigService https://github.com/ng-alain/delon/blob/master/packages/util/config/config.types.ts expor 阅读全文

posted @ 2023-03-17 20:57 冠军 阅读(50) 评论(0) 推荐(0) 编辑

Delon ACL

摘要: Delon ACL delon ACL Alain acl 路由守卫 使用 ACLService 核心是 ACLService,See:https://github.com/ng-alain/delon/blob/master/packages/acl/src/acl.service.ts 它注入了 阅读全文

posted @ 2023-03-17 20:57 冠军 阅读(57) 评论(0) 推荐(0) 编辑

Alain 配置管理

摘要: app/assets/tmp/app-data.json 中保存了默认的一些应用配置 app 应用配置 user 默认用户配置 menu 菜单配置信息 在 App.Module 中,使用 APP_INITIALIZER 进行提前加载。 StartupServiceFactory 工厂函数通过调用 S 阅读全文

posted @ 2023-03-17 20:56 冠军 阅读(17) 评论(0) 推荐(0) 编辑

OpenTelemetry.NET API

摘要: OpenTelemetry.NET API Status and Releases | Tracing | Metrics | Logging | | | | | | 1.0 | Alpha | Beta | 安装 dotnet add package OpenTelemetry.Api 说明 应用 阅读全文

posted @ 2023-03-17 20:56 冠军 阅读(95) 评论(0) 推荐(0) 编辑

jQuery 国内 CDN

摘要: eShop 中使用了 cdnjs ,由于网络问题,导致编译失败 可以使用如下国内链接: https://cdn.bootcdn.net/ajax/libs/jquery/3.6.1/jquery.min.js https://cdn.bootcdn.net/ajax/libs/jquery-vali 阅读全文

posted @ 2023-03-17 20:55 冠军 阅读(249) 评论(0) 推荐(0) 编辑

在分布式追踪系统中使用 W3C Trace Context

摘要: 在分布式追踪系统中使用 W3C Trace Context https://dev.to/luizhlelis/using-w3c-trace-context-standard-in-distributed-tracing-3743 在软件开发中,当系统遭遇到运行时失效的时刻,开发人员会本能地尝试找 阅读全文

posted @ 2023-03-17 20:54 冠军 阅读(585) 评论(0) 推荐(0) 编辑

使用 Windows Debugger 调试托管代码

摘要: 使用 Windows Debugger 调试托管代码 https://docs.microsoft.com/en-us/windows-hardware/drivers/debugger/debugging-managed-code 您可以使用 Windows debugger ( WinDbg、C 阅读全文

posted @ 2023-03-17 20:54 冠军 阅读(135) 评论(0) 推荐(0) 编辑

在 Windows 上运行 Podman: 操作指南

摘要: 在 Windows 上运行 Podman: 操作指南 https://www.redhat.com/sysadmin/run-podman-windows 2021 年 9 月的时候,我写过一篇关于如何在 Windows 上运行 Podman 的文章。在那篇文章中,我讨论了为什么你必须设置 WSL 阅读全文

posted @ 2023-03-17 20:53 冠军 阅读(2166) 评论(0) 推荐(0) 编辑

4 步缩减 Script Evaluation Time

摘要: 4 步缩减脚本评估时间 (Script Evaluation Time) https://touch.marfeel.com/resources/blog/reduce-script-evaluation-time#:~:text=Script%20evaluation%20is%20an%20in 阅读全文

posted @ 2023-03-17 20:53 冠军 阅读(953) 评论(0) 推荐(0) 编辑

# 为什么要使用 MediatR 的 3 个理由和 1 个不使用它的原因

摘要: 为什么要使用 MediatR 的 3 个理由和 1 个不使用它的原因 https://codeopinion.com/why-use-mediatr-3-reasons-why-and-1-reason-not/ 来自 Jimmy Bogard 的 MediatR 库 在过去的几年中,正在变得难以置 阅读全文

posted @ 2023-03-17 20:52 冠军 阅读(1091) 评论(1) 推荐(2) 编辑