You might remember the meaning of the character 京 with this easy mnemonic:
If you don't put a lid (亠) on your mouth (口), I will send you to the capital to live by yourself in a small (小) apartment without anyone to cook for you.
Using mnemonics to remember the meaning of Chinese characters like has a huge impact on how long to learn Mandarin it takes.