Some code practice in my daily life