Posts

2025

风雨

《风雨》出自《诗经·国风·郑风》,描写一位女子与丈夫重逢时欢欣、惊喜的场景,道出其相思和欣喜之情。

乌兰巴托的夜

《乌兰巴托的夜》最初是首创作于1985年的蒙古国歌曲,由桑堆扎布作词,普勒布道尔吉作曲,蒙古微笑乐队原唱,表现了乌兰巴托夜晚的美丽和人们对它的热爱。

Iosevka With JetBrains Mono Style

Build Iosevka with JetBrains Mono Style.

Emacs中去光亮所有符号

之前的文章介绍了如何在Emacs中高亮符号,一般运行 M-x unhighlight-regexp 来选择其中一个符号去高亮。

Better capture template for blog post

An org capture template to create post file in blog directory, and insert some front matters.

Emacs中记笔记

Denote is a simple note-taking tool for Emacs.

Emacs中高亮关键字

Use font-lock to highlight keywords.

Emacs中高亮符号

Use hi-lock to highlight symbol.

Org Mode Archiving

Archiving in agenda view.

Change buffer font in Emacs

From Emacs 23.1, you can change the font of current buffer, using buffer-face-set.

llama.cpp使用

前面的一篇文章介绍了Ollama运行DeepSeek-R1,实际上Ollama的后端使用的是llama.cpp。

Ollama运行DeepSeek-R1

Ollama 是一个用于构建大型语言模型应用的工具,它提供了一个简洁易用的命令行界面和服务器,让你能够轻松下载、运行和管理各种开源LLM。

Org导出HTML时生成稳定ID

使用Org导出成HTML的时候,文档内部的标题和图片等元素都会生成格式如 orgxxxxxxx 的ID,这个ID从字面上并不能看出来对应那个元素,并且每次文档重新导出时,这个ID都会改变。

Minify HTML

Minify HTML with htmlnano which inspired by cssnano.

Emacs中使用大型语言模型

Emacs有不少LLM的客户端,这里我们选择gptel,在 init.el 中添加以下代码: