Very cool. Before I realised it's called Pharaoh’s serpent I was thinking 'Phoenix rising'. The chemistry is explained
here but the most important part says: "All aspects of the reaction can be hazardous, including handling the mercury thiocyanate, breathing the smoke or touching the ash column, and contact with the remains of the reaction during clean-up. If you perform this reaction, use appropriate safety precautions for dealing with mercury."