I am in Long Beach CA. Some places really have a war on with motorized bikes both electric & gas powered. Other places are pretty friendly.
Keep the smoke down
stay off the side walk
stay under 20 or the posted bike limit
stay off the beach bike path (daamit)
In Long Beach almost all streets have a bike lane. Long Beach is a very bike friendly city not so much with motors
Jim C