When you park uphill on a street with a curb:

When parking on an incline where there is a curb, you should turn your wheels sharply to the left, away from the curb. This way, if your brakes fail, your vehicle will not roll into traffic.
DMV Writen Test