Posts

2026

Org Babel + Mermaid

Org Babel 内置的语言已支持 PlantUML,在导出文件时可以生成各种图表;同样的,可以为 Org Babel 添加 Mermaid 语言支持。

User Lisp Directory

User Lisp Directory 是一个比包管理更简单的机制。

在 Emacs 中批量重命名文件

在 Emacs 的 Dired 模式中,可以快捷方便的进行文件批量重命名。

在 Emacs 中使用 Ty+Ruff 作为 LSP 服务端

Ty 和 Ruff 都是使用 Rust 语言开发的高性能 Python 开发工具,它们分工不同,可以完美配合,提升开发体验。

OpenGL 纹理

OpenGL 纹理(Texture)是一种将图像或数据映射到 3D 模型表面的技术,用来为图形添加丰富的细节和真实感。

OpenGL VAO and EBO

顶点数组对象(Vertex Array Object, VAO)可以像顶点缓冲对象那样被绑定,任何随后的顶点属性调用都会储存在这个 VAO 中。

OpenGL Graphics Pipeline

The OpenGL graphics pipeline is a sequence of processing steps that converts 3D vertex coordinates and data into a 2D colored image on your screen. It handles everything from transforming 3D models and applying lighting to rasterizing shapes and calculating individual pixel colors.

C++ promise 和 future

C++ 中的 std::promise 和 std::future 用于实现线程间的异步通信。promise 负责“写入/提供”结果,而 future 负责在未来“读取/获取”该结果。两者通过共享状态相连,支持跨线程传递值或异常。

苏轼《望江南·超然台作》

这首豪迈与婉约相兼的词,通过描写春日景象和作者感情、神态的复杂变化,表达了词人豁达超脱的襟怀和“用之则行,舍之则藏”的人生态度。

Arch Linux 下 LocalSend 接收问题

LocalSend is a free, open-source app that allows you to securely share files and messages with nearby devices over your local network without needing an internet connection.

打包百度网盘 AppImage

百度网盘官方只提供了 Linux 下的 deb 和 rpm 格式包文件,在 Arch 或者 SUSE 等发行版上使用不太方便。

Arch Linux 配置 MPD

Music Player Daemon (MPD) is a flexible, powerful, server-side application for playing music.

使用 FFmpeg 裁剪视频

FFmpeg is complete, cross-platform solution to record, convert and stream audio and video.

Emacs 自动保存文件

目前比较流行的 Emacs 自动保存文件的包有 super-save 和 buffer-guardian.el 等。

Linux WeChat 和 QQ AppImage 中文输入问题

AppImage 程序因其打包机制通常与宿主机输入法框架(如 Fcitx5 或 IBus)隔离。要在 AppImage 中使用中文输入法,关键在于运行程序手动显式加载 fcitx 环境。