Would that actually alter the spin of the Earth? I assumed that you'd be more likely to have more success by making a few passes past the planet with a sizable asteroid.
I don't know enough about any of this to judge which one is more feasible. Detonating nukes on the surface is "easy", but would it be effective? How much energy and money would it take to divert some asteroids? I haven't done the research, and almost certainly won't :P