Posts by Year

2025

My MacBook Setup

1 minute read

Windows has been my preferred desktop operating system since primary school, offering a wide array of apps, particularly games.

Back to Top ↑

2024

Create Your Python Package

2 minute read

I used use twine to upload my package to PyPI with a setup.py file to build the package. Recently, I swap to pyproject.toml to manage my project and build th...

Integrating Mermaid with Pandoc

less than 1 minute read

When converting a markdown file to a pdf file, the mermaid diagram is not rendered. This is because the default pandoc markdown engine does not support merma...

Using Git

3 minute read

What is git?

Sync Two Folders in Terminal

less than 1 minute read

If you want to sync two folders in the terminal, you can use the rsync command. rsync is a fast and versatile file-copying tool that can be used to sync file...

Pandoc 中文字符无法显示

less than 1 minute read

将 markdown 文件转换为 pdf 文件时,中文字符无法显示,这是因为 pandoc 默认使用的字体不支持中文字符。解决方法是使用支持中文字符的字体。

GitHub CLI Tool

less than 1 minute read

Github provides a CLI tool for Copilot. This tool can be used to interact with Copilot from the command line. This tool is useful for automating Copilot work...

Back to Top ↑