.net 程序集扫描类 Scrutor
https://github.com/khellang/Scrutor 可扫描 实现了一个装饰器 扫描 var collection = new ServiceCollection(); collection.Scan(scan => scan // 从 ITransientService 接口所在的程序集开始扫描 .FromAssembly…
发送微信消息的一种方式
https://wxpusher.zjiecode.com/ class Message { $appToken = "" Message($token) { $this.appToken = $token } send([array]$uids , [string]$summary, [string]$content) { $…
AutoFixture 简单介绍
- 在单元测试中自动生成随机的测试数据 Fixture fixture = new(); var items = fixture.Build<ListItem>() .With(it => it.Idx, Random.Shared.Next()) // 配置为所有实例都使用该值 .Without(it => it.Desc…
AI 自动化工具
源LLM友好型网页爬虫和抓取工具 https://github.com/unclecode/crawl4ai 可以将用户界面屏幕截图解析为结构化且易于理解的元素 https://github.com/microsoft/OmniParser 使用说明 https://zhuanlan.zhihu.com/p/24662930428
Tailscale
快捷使用 https://www.escapelife.site/posts/bb022c74.html https://www.ghostchu.com/tailscale-%e5%ae%89%e5%88%a9%e6%8c%87%e5%8d%97-%e5%bf%ab%e9%80%9f%e5%90%91%e4%bd%a0%e7%9a%84%e5%a…
Redis 一些资料
【GeekHour】一小时Redis教程 https://www.bilibili.com/video/BV1Jj411D7oG 一些应用场景 https://juejin.cn/post/7325132133168971813 StackExchange.Redis 中文文档目录 https://www.cnblogs.com/liang24/t…
串流将平板作为PC第三屏
1. PC 安装 Sunshine > https://github.com/LizardByte/Sunshine 1. PC 上安装虚拟屏幕工具,我用的是 ParsecVDisplay > https://github.com/nomi-san/parsec-vdd 1. 平板上安装 moonlight > https://github.com…
wireguard
# https://github.com/wg-easy/wg-easy # 生成密码 docker run --rm -it ghcr.io/wg-easy/wg-easy wgpw '1234567' # 如果密码中的 $ 使用 $$ 转义, 返回如下 # PASSWORD_HASH='xxxxxx' v…