The US has been rocked by school shootings including the gun rampage in San Bernardino, California. (Photo: AP)