Posts


Mar. 31, 2023

Clock-triggered Flip-flop

Notes about the structure of clock-triggered RS flip-flop, D flip-flop, T flip-flop, and JK flip-flop.

Nov. 11, 2022

C# Hello World (NixOS)

A notes about setting up a suitable learning environment for C# on NixOS.

Oct. 31, 2022

Setup a MySQL learning environment in NixOS

My experience of setting up a MySQL learning environment on NixOS.

Oct. 23, 2022

Cpp: Formatting Output

Some functions used to control cout/cin, such as hexadecimal input/output, etc.

Oct. 21, 2022

Cpp: Errors and Exceptions

A notes about exception and errors in Cpp, the most important thing is we can detect memory errors by AddressSanitizer, likes this:

g++ -fsanitize=address -fno-omit-frame-pointer -g ./a.cpp && ./a.out

Sep. 15, 2022

Reading Notes of Nix in Pills

There are my notes about Nix in Pills, that is a serial tutorial about packages manager in NixOS, basic of Nix language, and some concepts about packaging.

Jan. 21, 2022

Rust code hide Test

Just A Test

Oct. 18, 2021

Notes for Installing Anbox on Arch Linux

This is a guide for installing Anbox on Arch Linux based on the instructions provided in the Arch Wiki

Oct. 17, 2021

Deploy Hexo Blog in VPS using Git

This post details my step-by-step process for deploying Hexo to my VPS.

In this post, I share my process for creating a Git repository in my VPS and set up Git hooks to automate building blog and deploying it to an HTTP server.