For those of you who didn't grow up in earthquake country, some tips:
DO NOT get into a doorway, that's a myth. It's not a terrible place to be if it's a doorless frame, but if there is a door, it's more likely you get injured from the door smacking you than the earthquake.
DO get under a strong table. That's the safest place to be in a quake if it happens when you are indoors.
If you're outside get as far away from trees and power lines as possible (and glass), but if the ground is shaking too hard to maintain balance, stay in place. Again, you're more likely to get injured falling down than from whatever may be nearby.
If you're inside and not near a table, at the very least cover your head if possible and move away from bookcases and other tall or top heavy objects.
Also, if you did feel it, please help the USGS study earthquakes by filling out a Did You Feel it survey: https://earthquake.usgs.gov/earthquakes/eventpage/us7000ma74...