Using a wok, sautée garlic and ginger in olive oil, medium heat, until slightly brown.
Add the onion slices and stir for a minute.
Toss the vegetables and keep stirring.
Season with pepper and salt to taste.
Stir some more until cooked but crisp.
Serve hot with white rice. Spoon the juices over the top.