Text this: Lectures on mathematical aspects of (twisted) supersymmetric gauge theories