For those that can't run, like V mentioned, its most important to have SA-Situational Awarness, since that will get you out of most jams, avoid jams/troubles. Remember
1. Barriers
2. Time
3. Distance
To avoid most violence of conflicts. Unfortunately for me, I live in the rougher parts of L.A., so I practice the upper three constantly.
1. Barriers Set up high, tough barriers- against some unruly neighbors, I did. A supertough boyfriend like V's works great too.
2. Time-I always vary my times of egress and ingress as much as possible.
3. Distance-I put as much distance as I possibly can between me and them.
And a 4th one, if you can, always have a friend or two to tag along, you'd be surprised what an extra pair of eyes can do, preferably a human, but a canine does work good too. There is strength in numbers, and bad guys and guerilla fighters know that you never fight a group greater than you are head on, but always on their terms, just bad juju if they do and they can win the Darwin Award(Award of self-extinction).
I always tell my girlfriend, she is my "fire" of my "maneuver" team, meaning she tells me when things get hot, and I will respond/move appropriately, and vice versa, we each protect our 180, or 360 between the two.