My MacBook Setup
Windows has been my preferred desktop operating system since primary school, offering a wide array of apps, particularly games.
Windows has been my preferred desktop operating system since primary school, offering a wide array of apps, particularly games.
Yazi is a terminal file explorer written in Rust. I give it a quick try and found it’s a good alternative to ls and tree command. It provides a more intuitiv...
Use Homebrew to install Miniconda.
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...
Recently I tried to install the mysqlclient Python package using pip, but ran into a frustrating build error. Since this is a common issue for macOS develope...
A Python project can quickly become disorganized without a clear structure. The pyproject.toml file is a modern configuration file that helps you manage your...
In the past, I used twine to upload my packages to PyPI, building them with a setup.py file. Recently, I switched to using pyproject.toml for project managem...
Conda is an open-source package management system and environment management system that runs on Windows, macOS, and Linux. Conda quickly installs, runs, and...
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...
Covertign a markdown file to a pdf file, the code block is not highlighted. This is because the default pandoc markdown engine does not support code highligh...
将 markdown 文件转换为 pdf 文件时,中文字符无法显示,这是因为 pandoc 默认使用的字体不支持中文字符。解决方法是使用支持中文字符的字体。
If you’ve worked with Git for even a short while, you’ve probably encountered two powerful commands: merge and rebase. Both are used to integrate changes fro...
Git is a distributed version control system. It is a tool that helps you keep track of changes in your codebase. It is a tool that helps you collaborate with...
Recently I tried to install the mysqlclient Python package using pip, but ran into a frustrating build error. Since this is a common issue for macOS develope...
secure_file_priv in MySQL is a server variable that restricts where LOAD DATA INFILE and SELECT … INTO OUTFILE can read/write files. You can’t change it dire...
Recently I tried to install the mysqlclient Python package using pip, but ran into a frustrating build error. Since this is a common issue for macOS develope...
secure_file_priv in MySQL is a server variable that restricts where LOAD DATA INFILE and SELECT … INTO OUTFILE can read/write files. You can’t change it dire...
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...
I noticed that the Minimal Mistakes theme does not support Math syntax by default. I want to add Math syntax to my Github page.
For a factor model, we can measure the predictability of a factor by calculating the Information Coefficient (IC) and the Information Coefficient Information...
If you’ve worked with Git for even a short while, you’ve probably encountered two powerful commands: merge and rebase. Both are used to integrate changes fro...
If you’ve worked with Git for even a short while, you’ve probably encountered two powerful commands: merge and rebase. Both are used to integrate changes fro...