Posts by Year

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...

Using Lazy Git

less than 1 minute read

Lazy git is terminal based git GUI. It is a simple terminal UI for git commands, written in Go with the gocui library. It is a simple terminal UI for git com...

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...

Use Powerlevel10k Theme with Oh My Zsh

less than 1 minute read

I used to use the default terminal theme that comes with Oh My Zsh. However, I recently switched to the Powerlevel10k theme, which is highly customizable anI...

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 默认使用的字体不支持中文字符。解决方法是使用支持中文字符的字体。

My MacBook Setup 2024

1 minute read

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

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 ↑