I was tempted to give Siam as a successful example instead, if only because they managed to never be colonized,
The reason Siam was never colonized was that it served as a buffer state between British Burma and French Indo-China. This suggests another method to avoid colonization. Play rival would-be colonizers against each other.
Previous open thread
If it's worth saying, but not worth its own post (even in Discussion), then it goes here.
Notes for future OT posters:
1. Please add the 'open_thread' tag.
2. Check if there is an active Open Thread before posting a new one.
3. Open Threads should be posted in Discussion, and not Main.
4. Open Threads should start on Monday, and end on Sunday.