摘要: [Conduit](https://gitlab.com/famedly/conduit) 是一个用 Rust 编写的、支持**基础**的 [Matrix 协议](https://matrix.org/docs/matrix-concepts/elements-of-matrix/) 的服务器后端。 阅读全文
posted @ 2023-06-21 19:35 wsm25 阅读(239) 评论(0) 推荐(0) 编辑
摘要: 为什么采用 WSL2 而不是 WSL1? WSL1 孱弱的 io 性能和无法使用的 CUDA 是不可接受的,代价仅是 300MB 左右的内存消耗(如果不计cache) 况且 Windows11 直接支持了WSLg,美汁汁~(虽然我没有升级) 我们可以直接使用 WSL 提供的内核,可以省去编译内核,安 阅读全文
posted @ 2022-10-05 22:27 wsm25 阅读(603) 评论(0) 推荐(0) 编辑
摘要: 引用 SDL 静态编译教程 的话: SDL(Simple DirectMedia Layer)是一套开放源代码的跨平台多媒体开发库,使用 C语言 写成。本文主要介绍 SDL 库的静态编译方法。SDL 当前是第二版,开源协议改为 Zlib 授权模式,官方文档上描述虽然 SDL 可以编译为静态库,但不会 阅读全文
posted @ 2022-08-16 23:10 wsm25 阅读(390) 评论(0) 推荐(0) 编辑
摘要: 通过命令 call /? 可以得到: 批脚本里的 %* 指出所有的参数(如 %1 %2 %3 %4 %5 ...) 批参数(%n)的替代已被增强。你可以使用以下语法: %~1 - 删除引号("),扩展 %1 %~f1 - 将 %1 扩展到一个完全合格的路径名 %~d1 - 仅将 %1 扩展到一个驱动 阅读全文
posted @ 2022-06-02 09:17 wsm25 阅读(108) 评论(0) 推荐(0) 编辑
摘要: Vue 3 学习笔记 - 基础 主要参考 Vue 3 教程 基础 引入 <script src="https://unpkg.com/vue@next"></script> <!--开发环境--> <script src="https://unpkg.com/vue@3.2.33/dist/vue. 阅读全文
posted @ 2022-05-19 15:16 wsm25 阅读(37) 评论(0) 推荐(0) 编辑
摘要: 安装 Grub2 到U盘 grub2下载 Windows下运行: grub-install --boot-directory=E: --recheck --target=i386-pc \\.\PHYSICALDRIVE1 --removable grub-install --boot-direct 阅读全文
posted @ 2022-02-20 18:09 wsm25 阅读(1888) 评论(0) 推荐(0) 编辑
摘要: 众所周知,很多Python的库都需要编译(可能是用了Cython),这时直接用pip安装会报错:error: Microsoft Visual C++ 14.0 is required. 不知为何,我的电脑死活不能安装上VC,只能用mingw作为编译器。 附:MinGW-w64 密码:2jfy,td 阅读全文
posted @ 2022-02-20 00:13 wsm25 阅读(472) 评论(0) 推荐(0) 编辑