Email student groups at colleges to identify guest speakers because having college students come to your high-school class can be valuable for motivating your students.
Help students monitor their emotional experience to know when they should take a break from writing code to maximize learning and student attitudes.
Have students design projects based on content from their other courses, and have them brainstorm how the code they write might be useful in a variety of fields. This broadens their understanding of CS’s many applications.
Have students do the most frustrating tasks in class, so that you can support them when they get stuck and prevent them from giving up or become overwhelmingly flustered.
Give students assignments where students have to make their computational results understandable to their customer, an important skill for industry computation across fields.
Loosen your requirements for style sometimes to keep students motivated to write programs, this is especially relevant when students come from an engineering background.
Give students opportunities and resources (people, books & the web) for asking and answering their own questions.