1. To orient a person who is new to your group/neighborhood/city/and such to the rules and modes of operation of the aforementioned.
2. To rough up someone that is in - or against - your group, as a punishment for going against the creed/rules/modus operandi of your particular group (re-orienting them, as it were).
1. "Terry, since you're new to Humboldt, allow me to show you the ropes."
2. "They ratted on David. That's not our style. So we're gonna show them the ropes."
When you see/hear in the news that some low life scumbag(s) has committed a serious crime worthy of a public lynching and the retard court judge gives him/her only a slap on the wrist and sends them on their merry way back into society to commit even more crime.
Cop #1: Did you see that? The scumbag I arrested who robbed and bashed that poor old lady got only a warning and told not to do it again.
Cop #2: Friggin hell, throw up the ropes!