Ben Chuanlong Du's Blog

It is never too late to learn.

Tools for Differencing Text Files

General Tips

  1. If 2 files are formatted differently, you can first format them and then check the differences between them. An extreme way is to get rid of all white spaces in the 2 files and then compare them.
    sed -i 's/ //g' file_1 file_2
    

Command-line Tools

git-diff

git diff …

Header Files in Linux

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

limits.sh: libc-dev

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 …

Games for Linux

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

  • Team fortress 2

  • Dungeon defenders

  • Counter strike

  • Bit trip runner 2

  • The cave

  • Heroes of newerth

  • Trine 2

  • Serious sam 3

  • Rochard

  • Botanicula

  • Frozen Synapse

  • Dear Esther

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 …