A Small Practice with Claude Code and GLM-4.6 Model: Modifying Hugo Blog Content Width

This article records the configuration of Claude Code with Zhipu GLM-4.6 large model, as well as the process of modifying Hugo blog page width, sharing from environment setup to practical operation. Background Introduction In recent years, domestic large language models have developed rapidly. Zhipu AI’s GLM series models have gained widespread attention for their outstanding performance. GLM-4.6, as an important version launched by Zhipu, shows excellent performance in code generation, logical reasoning, and other aspects. At the same time, Anthropic’s Claude Code provides developers with powerful AI-assisted programming capabilities. ...

November 22, 2025 · 9 min · 1900 words · wenhq

Update Hugo Version And Integrate Umami Analysis

I haven’t updated the site for a long time. Recently, I have time to upgrade to the latest version of Hugo, and I also added a Umami analytics feature. Local compilation environment To install the compilation envirionment, use scoop install hugo on Windows, or use brew install hugo on Mac. With the command hugo version view the current version number and record it which will be used later. Use the following command to process web page source code: ...

September 30, 2025 · 1 min · 430 words · wenhq

Latex Chinese fonts configuration

Using the LaTeX, font configuration is often a headache when dealing with Chinese documents. When you get a Chinese LaTeX template, using XeLaTeX to compile it often gets some error about the lack of specific fonts, such as the lack of Source Han Serif CN font. To download free commercial fonts and use them without installing, it is my solution. Download Source Han, Founder, and other free commercial fonts. They are: Source Han Sans font library Adobe Fonts. The main free commercial fonts are Source Han Serif and Source Han Sans. Founder Type official website Founder Type. The main free commercial fonts are Founder Song, Founder Kai, Founder Hei and Founder Fang Song. Wenyuan font WenYuanFonts. This is newly released at the end of 2024, based on the Source Han font for secondary development, making it more suitable for use in simplified Chinese scenarios and simplified Chinese TeX typesetting fields. It is open source and free for commercial use. The main font is WenYuan Mincho, WenYuan Gothic, WenYuan Maru. In the Latex source file, specify the font file path. Set AutoFakeBold and AutoFakeSlant. Here is an example of the font settings. ...

December 19, 2024 · 1 min · 207 words · wenhq

What does it mean "familiar with Linux"

I saw a Q&A on Zhihu.com titled “What level does being ‘familiar with the Linux operating system’ generally refer to?” The content of the answer comes from Brendan Gregg, a performance expert in Linux, and is based on his personal blog and technical books. His work not only covers system performance monitoring and analysis but also delves deeply into the root causes of performance issues and their solutions. His illustrations are outstanding; here is an excerpt of one of the images: ...

December 19, 2024 · 1 min · 89 words · wenhq

Create New Email for each SIGN UP using Cloudflare

Currently, almost every website provide registration services, typically using email for registration. However, the issues such as information leaks and spam. How can we ensure that each website we register with is different and also check if the registered site has any leak issues? My method is to create a new email using the domain of the site being registered, in the format of {website domain to be registered}@{my own domain}.{domain suffix}. ...

December 17, 2024 · 3 min · 469 words · wenhq