Like others have said, it's much more important to know proper cooking techniques and flavor combinations rather than specific recipies themselves. If you know how to properly saute, roast, braise, etc. and if you know, let's say, the flavors that are complimentary when cooking with port wine, you'll be much better off then just memorizing a specific recipe. You can then walk into anybody's kitchen and make something which will taste good. If you don't understand technique and which flavors mesh together, you'll never take your cooking to another level.
Take something like ginger. Ginger works with many things: tomato, mango, papaya, citrus, soy, peanut, miso, fennel, cilantro, thai basil, shiso, sherry, scallions, and many, many more things. By knowing how to combine it with those and other ingredients, you can create many more dishes than someone who memorized the recipe for say, mango-ginger salsa.