For bikes that seem top-heavy, rotate the bike until it is at the most stable position. Usually for me, the bike is pointed uphill if I am on a slope. For scooters, use the parking brake if available. For hills, try a wheel chock. For motorcycles, put the bike in first gear. Give the bike a wiggle before you leave to make sure it is happy where it rests.