Some code segments and daily practices