进程间通讯组件 netmq
项目地址: https://github.com/zeromq/netmq 三方总结: https://www.cnblogs.com/hsiang/p/18622806 using (var server = new ResponseSocket("@tcp://localhost:5556")) // bind using …
2025-9-05 2:00
|
157
|
|
39 字
|
1 分钟内
一个轻量级的 .NET 状态机库
Stateless 库——一个轻量级的 .NET 状态机库,用于在 C# 中建模有限状态机(Finite State Machine, FSM)。 项目背景 项目地址:https://github.com/dotnet-state-machine/stateless stateless 是一个用于 .NET 的开源状态机库,允许开发者以声明式方式定…
2025-9-05 1:52
|
173
|
|
360 字
|
3 分钟
Avalonia 自动为元素设置一个蒙板
因为用到了代码绑定与 ReactieUi 作为例子记录一下 就是在指定的元素的后面自动添加一个占用全部空间的 Border // 为当前元素设置背景蒙板,当前元素可见时,背景蒙板可见, 点击背景蒙板时,关闭当前元素 // 控制 IsOpen 属性控制当前元素是否可见 // 下面代码对蒙板对象的的 Opcity 与 IsVisible 使用 Reac…
2025-9-04 12:39
|
178
|
|
95 字
|
3 分钟
Avalonia 事件转 Command Behav
处理类 # 继承自 AvaloniaObject (实际其它类也可以) # 使用 RegisterAttached 注册应用于 Interactive (发出单击事件的对象) 的 command 属性, # 当 command 属性变更时,注册对应 Interactive 属性的单击事件 # 在单击事件处理函数中调用 command using S…
2025-9-03 20:56
|
203
|
|
91 字
|
5 分钟
命令行下载 youtube 视频
.\yt-dlp --write-auto-sub --sub-langs en --embed-thumbnail --no-overwrites --continue --proxy "http://192.168.0.1:1234" --user-agent "Mozilla/5.0 (Windows NT 10…
2025-8-21 17:14
|
284
|
|
23 字
|
2 分钟
linux 下脚本中显示对话框
手册:https://help.gnome.org/users/zenity/stable/index.html.en 不少发行版本中集成了 zenity 例子 显示一条信息 zenity --info --title "提示" --text="显示信息" 常规选项 --title=title 标题 --wi…
2025-8-19 18:06
|
324
|
|
204 字
|
4 分钟
Avalonia 打包应用
以 Ubuntu 下打包为例子 dotnet-packaging 工具地址 https://github.com/quamotion/dotnet-packaging 安装工具 dotnet tool install --global dotnet-deb 项目目录中配置项目 dotnet deb install 生成安装包 dotnet deb …
2025-8-19 15:22
|
271
|
|
182 字
|
3 分钟
ubuntu 执行定时任务
临时执行定时任务 at 精度只有一分钟 安装 sudo apt install at 执行定时合集 echo "sudo systemctl suspend" | at 23:00 2025-04-05 echo "sudo systemctl suspend" | at 23:00 echo 'e…
2025-8-11 1:17
|
368
|
|
78 字
|
几秒读完
git 签出部分目录中文件
一个 git 学习站 https://learngitbranching.js.org/?locale=zh_CN 不需要 git 历史数据 优点: 非常轻量,只传输你需要的文件内容。 不包含 .git 目录,适合部署或分发。 简单一些,但是 github 不允许这么操作,要使用 sparse-checkout 的方式 # 从远程仓库获取某个目录并…
2025-8-02 0:21
|
421
|
|
166 字
|
2 分钟
AxCrypt 文件加密工具免费的新版本
下载地址 (有 1.x r 版本) https://www.axantum.com/download-xecrets 或是直接下载开源的命令行版本 https://github.com/xecrets/xecrets-cli # 加密 XecretsCli -p pass -e file file.axx # 加密 ,输出时间戳 XecretsCl…
2025-7-29 1:13
|
429
|
|
50 字
|
1 分钟内