Extruding a form along a curve + rotating it
To rotate the vertice of a bezier curve: ctrl T, you can also see and change the Tilt value in the 3D properties panel (activated with N) on the  right of the 3D View. alt T to come back to its previous value.