Good Job!

I always carry a few zip ties with me, and I keep a 12" Velcro tie strap wrapped around the downtube for emergencies. Used it to hold a loose cable housing and kept it from rubbing on the front tire every time the fork compressed. When I got home, I re-routed the cable and used a zip tie, but being able to quick-fix on the trail before it damaged the housing was great.

Thinking ahead will keep you going on two wheels instead of walking home.