Scaling extreme astrophysical phenomena to the laboratory - a tutorial