When parking on a hill [READ: everywhere in San Francisco] turn the downhill side of the front wheel to the curb [The curb holds the vehicle from rolling.]. If there is not curb turn the downhill side of the front wheels away from the closest side of the road [If the vehicle were to roll downhill, it will roll off the road and not on to the roadway].
This will work everywhere and is not restricted to San Francisco.
This advice about turning the wheels towards the kerb is (or used to be) the advice in the UK's Highway Code (a book of rules and regulations for UK drivers.
"People who say things won't work are a dime a dozen. People who figure out how to make things work are worth a fortune" - Dave Rat.