Bifunctional gold nanoclusters enable ratiometric fluorescence nanosensing of hydrogen peroxide and glucose.