Text this: Scaling of Particle Heating in Shocks and Magnetic Reconnection