An abbreviation of the phrase "shaking my head." Usually used to emphasise someone's disappointment of embarrassment. An alternative definition could also be "stupid mind headed" and is used in the same context
Person A: wow haha I never knew fish lived in water
Person B: wow you're so dumb smh