Sample programming codes for your daily need