Did you feel it? An earthquake with a preliminary magnitude of 3.4 struck near San Ramon on Friday morning, the U.S. Geological Survey said.