使用 caddy 来运维机器
从 Debian 13(trixie) 来写一套从 0 到可用、并且后续很方便加 反向代理 / 自动 HTTPS / 多站点 的 Caddy 部署流程。(Debian 官方当前 stable 为 13,trixie,且 13.3 更新于 2026-01-10。)(Debian) 0) 上线前准备清单
Lima: Linux virtual machines 配置与 Vs code 远程开发
Lima: Linux virtual machines TL;DR 接上文:开发环境从 windows 切换至 macOS 之后,因为开发跨平应用的需求,我物色了一下 macOS 上的虚拟机软件。最终选择了 lima. 但是真的也遇到相当的问题。 虚拟机预配置 虚拟机的 ssh 虚拟机的 chec
VMware 共享目录/剪贴板/文件拖拽
VMware 虚拟机和宿主机共享操作 共享文件夹 参考图片在 VMware 中设置好文件夹共享 # 先创建一个挂载点目录 /mnt/share
# 然后再将共享目录挂载在 /mnt/share 下面
sudo mkdir /mnt/share && sudo mount -t fuse.vmhgfs
rust macro! libs
Rust 宏开发常用库介绍 Rust 的宏分为两种: 声明宏 (Declarative Macros):使用 macro_rules! 定义,类似于模式匹配和替换,语法相对固定。 过程宏 (Procedural Macros):更强大和灵活,可以接收 Rust 代码作为输入 Token Stream
Rust libs day1
Rust libs day1 这是一个用于学习和使用 rust crates tracing 包,然后总结一些特点和使用方法以及资料的一个系列。 Rust libs day1 tracing tracing 核心概念 tracing 核心基本使用 tracing marcos - span<
Rust libs day0
Rust libs day0 这是一个用于学习和使用 rust crates lib 包,然后总结一些特点和使用方法以及资料的一个系列。 Rust libs day0 serde derive feature 的使用 derive attrs serde 支持的数据类型
Consensus algorithms
Consensus Algorithms Consensus Algorithms 1. Proof of Work (PoW) 2. Proof of Stake (PoS) 3. Delegated Proof of Stake (DPoS) 4. Proof of Authority (PoA
Study
未读
Learn about rust marcos
Learn about rust marcos Rust marcos are a powerful feature that allow you to write code that is more concise, readable, and maintainable. They are use
Rust with Algorithms and Crypto
Rust 与 web3 Rust 与 web3 1. Rust 语言参考资料与实现方法