A Buddhist method of driving away obstructing spirits is to snap the fingers around the head for a while and utter the mantram "PHAT" ("crack"). This method is also used as part of the deathrite at the moment of the soul's departure from the body.
-- Notebooks Category 9: From Birth to Rebirth > Chapter 1: Death, Dying, and Immortality > # 132