Homeowners were scrambling to place sandbags and board up windows as high surf threatened to flood residences along the shorelines in Los Angeles and Orange counties.