This animated map of nuclear explosions from 1945 to 1998 is remarkable to watch. Note how France and England both have extensive tests, but none on their own mainland. Watch through to the end to see an overlay of all explosions. Since this animation was compiled, North Korea has conducted two nuclear explosions.
According to an article from Scientific American about the idea of using a nuclear explosion to seal the Gulf of Mexico leak, the Soviet Union regularly used nuclear explosions for domestic projects:
The Soviet program, known as Nuclear Explosions for the National Economy, was launched in 1958. The project saw 124 nuclear explosions for such tasks as digging canals and reservoirs, creating underground storage caverns for natural gas and toxic waste, exploiting oil and gas deposits and sealing gas leaks. It was finally mothballed by Mikhail Gorbachev in 1989.