I don't think this is necessary. If something is boring, you'll forget it. If something is interesting, you'll remember it. You'll think about it a few times, and perhaps discuss it with other people. You'll link it mentally to other parts of your worldview. All these things will increase your ability to recall it when necessary, without effort. To improve memory generally, stay fit and live a sober and useful life.…
I guess, if you want to only know basic stuff. But engineers, programmers, physicists (etc..) can benefit from maintaining a large knowledge base of stuff that they wouldn't find interesting or have a conversation about. If you only try to remember stuff that interests you, you probably won't be as successful as someone who can remember even the uninteresting stuff. Besides, knowledge is a VERY powerful thing.
Scientific and engineering knowledge fits together because reality is consistent. So it isn't necessary to memorise everything.
Rather than trying to 'drill in' certain pieces of essential info, it's better to improve the state of your mind, so that your memory works better generally. We waste a great deal of vitality by overeating, watching TV, etc. It seems to dull the mind and the memory significantly IME.
Forcing yourself to memorise stuff that doesn't interest you will tend to shut the mind down. It's like being at school.