Some useful code segments during books reading and amateur studying.