Used when describing what somebody has done or when comparing how somebody imitated another. Its past tense is also very popular; pulled a.
It can also be used as a temporary insult. Saying that somebody pulled a (whatever) doesn't mean that you necessarily think they are whatever you said; it means that you think only what they did at that time was (whatever).
1) Man, you pulled a George Costanza.
2) You totally pulled a dumbass.
3) So, what...? You're going to pull a 007?
Friend 1: So when my boss screwed me over at work, I smashed up his car with a crowbar.