Ok for shipping a bike... (since I have probably shipped 20 or so)
What you want to do is:
1. Remove the pedals
2. Rotate the crank so the crank arm is paralell with the chainstay on the drive side
-If you can remove and reinstall the non-drive crankarm at your destination, I recommend removing the arm and positioning that paralell to your chainstay also, so both crank arms are then facing the same way.
3. Wedge cardboard in between the arms and the stays, this prevents them bending (very common in transit), to secure them run a zip tie through the hole in the arm around the cardboard and stay
4. Turn the stem so it faces perpedicular to the top tube
-At this point on some bikes I will remove the bars, wrap them, and secure them to the underside of the toptube to protect the shifters, levers, etc. Sometimes just rotating them downwards in the clamp will do the trick too.
5. I usually run a rubberband through the stem clamp or around the bars and around the top tube to keep the front end from moving in transit.
6. If the box is small enough to warrant wheel removal, zip tie them to the bike between the stays and crank arms, disregarding step 3.
7. After this is all set I then go through and put some cardboard or foam around the majority of the exposed tubes to prevent scuffs and scrapes.
Also, you want a snug fit in the bike box. Most airline boxes are HUGE.... this isn't good... why? Because then your bike has a lot of room to bang around and get flung about in the box.