Code and examples for a course on singularities and deformations at USC