You can remember the meaning of 他妈的 with this easy mnemonic:
The word "damn it" in Chinese literally means "of" (的) his (他) mother (妈). I wonder what makes it such a bad word?
Using mnemonics to remember the meaning of Chinese characters like can have an enormous impact on how long to learn Mandarin it takes.