Try converting quick reference card into a deck for Anki. If an online quick reference is not available, the regular structure of language reference manuals and apis makes it straight-forward to create a card deck for the tool of your choice.
Thanks for the suggestion ppereira, I'll check that out. But the thing is I am ok with not remembering small things or api call, as I tried to give some examples, I am having bigger issues than that.