Triangulated Categories in Geometry and Representation Theory