Continuous-time Quantum Monte Carlo: from models to spectroscopy