Ben Chuanlong Du's Blog

It is never too late to learn.

Tips on Android

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

  1. scp works well but rsync not.

Chinese Locale in Linux

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

First you have to make sure locales is installed. If not, you can install it using the following command (on Ubuntu/Debian).

sudo apt-get install locales

Ubuntu

# GB2312 encoding support
sudo …

Package Management in Linux

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

There are many different ways to install packages in Linux.

  1. Build From Source

  2. Pre-built Binary

  3. Use distribution specific tools. For example, you can use apt-get or wajig for Debian-based Linux Distributions …

Shortcuts in macOS

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

Table of keyboard shortcuts lists comparisons of shortcuts on Windows, macOS and Linux.

  1. Unless you have a full Mac keyboard, you will not have the Home/End keys. Fn + Left/Right …

Maning Packages Using Yum in CentOS

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

yum update

yum search vim

yum install yum-utils

yum install pkg

yum localinstall pkg

yum groupinstall development

yum install https://centos7.iuscommunity.org/ius-release.rpm

yum info unixODBC 

rpm -ivh pkg …