My problem is shaving cream in the no liquids-gels-aerosols world. As far as I know you can't get it in a small enough package to be allowed through security.
I realise that theoretically I could buy an electric razor, though they don't work well on my beard. Alternatively I could just buy a new can of shaving cream every time I travel.