I always carry one of these kits.
Resqued me and my friends on quite a few occasions.
Tho not recommended by the experts, I kept on riding the plugged tyres untill the tyre was worn.
I keep a safety limit not to plug a tyre when the hole is closer to than 1 inch to the edge.
(except for a short distance to get me home)