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 …

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 …

The CentOS Linux Distribution

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

  1. The wheel group is the sudo group. So to grant a user the sudo previlege, just add it to the wheel group.
    gpasswd -a user_name wheel
    

EPEL

sudo yum -y install …

Snappy Apps

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

Available commands for snap:

abort Abort a pending change ack Adds an assertion to the system alias Enables the given aliases aliases Lists aliases in the system buy Buys a snap …

Fcitx Tips

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

fcitx

  1. Add Pinyin method: add -> type in pinyin, type in chinese doesn't help

IBus

  1. I suggest you use CTRL + SPACE as the switching hotkey, because it's the default hotkey for most …