How to remove the pin of a fan?

First you need to have a pair of pliers like this.

After that, you need find out which side of the bamboo has the pin's knocked-in head.

Then clamp the head of the pin with pliers and rock it side to side until the head falls off.