Burmese Shallot (or Garlic) Oil

1 cup peanut oil
2 cups (about 1/2 pound) thinly sliced Asian or European shallots

Place a wide heavy skillet or a large stable wok over medium-high heat and add the oil. Toss in a slice of shallot. As the oil heats, it will rise to the surface, sizzling lightly. When it’s reached the surface, add the rest of the shallots (carefully!), and lower the heat to medium. (The shallots may seem crowded, but they’ll shrink as they cook.)

Stir gently and frequently with a long-handled wooden spoon or a spider. The shallots will bubble as they give off their moisture. If they start to brown early, in the first 5 minutes, lower the heat a little more.

“After about 10 minutes, they should start to color. Continue to cook, stirring occasionally to prevent them from sticking to the pan or to each other, until they have turned a golden brown, another 3 minutes or so.

Line a plate with paper towels. Use tongs or a spider to lift a clump of fried shallots out of the oil, pausing for a moment to shake off excess oil into the pan, then place on the paper towel. Turn off the heat, transfer the remaining shallots to the plate, and blot gently with another paper towel. Separate any clumps and toss them a little, then let them air-dry 5 to 10 minutes, so they crisp up and cool. (If your kitchen is very hot and humid, they may not crisp up; don’t worry, the flavor will still be there.)

Transfer the shallots to a clean, dry, widemouthed glass jar. Once they have cooled completely, seal tightly. Transfer the oil to another clean dry jar, using all but the very last of it, which will have some stray pieces of shallot debris. (You can set that oil aside for stir-frying.) Once the oil has cooled completely, cover tightly, and store in a cool dark place.

You can use a similar technique to make garlic oil, but slice the garlic thicker (a scant ¼ inch), rather than into thin slices, since it cooks much more quickly than shallots. Heat ½ cup peanut oil over medium-high heat, add ? cup or so sliced garlic, and fry over medium heat until just golden, about 5 minutes. Lift out the garlic and set aside to crisp up. Store the oil as above. Fried garlic does not keep as well as fried shallots; refrigerate and use within 5 days.