Pocket Keyboard

For a long time, I wanted to buy a small keyboard for my mobile phone, because it is not very easy to input text with a single finger. Sometimes I use ssh to connect to my server and use Vim to modify code, modify configuration or deploy services. I also searched for this product in Shenzhen Huaqiangbei, but I didn’t find a satisfactory one. Finally, I found a Japanese-designed pocket keyboard on Taobao. The size meets my requirements and can be put in my pocket, about 100 US$. When I got it, it exceeded my expectations and felt great.

How to have tail -f show colored output

In the morning, I saw a friend curl a weather forecast HTTP resource on the shell terminal and found that the output text is colored, which inspired my interest in outputting colored text logs in the terminal to enhance readability.