The general understanding of what's meant by 'cock a snook' is the spread hand with thumb on the nose, preferably with crossed eyes, waggling fingers and any other annoying gesticulation that.