Heat the oil in a wok and stir-fry all the ingredients, except the lime or lemon juice, over high heat for 1 to 2 minutes. Remove from the heat and set aside to cool.
Add the lime juice and mix well, then serve in small bowls. This sambal keeps in the refrigerator for up to a week.