Cook rice and let it cool completely
Chop vegetables, onions, garlic, and green onions
Beat eggs in a bowl
Heat oil in a large pan or wok
Scramble the eggs and set them aside
Add more oil to the pan
Sauté onions and garlic
Add vegetables and cook until tender
Add the cooled rice
Stir-fry over high heat
Add soy sauce
Add salt and pepper
Add cooked protein if desired
Return the scrambled eggs to the pan
Mix everything well
Stir in green onions
Cook for another minute
Serve hot
