Heat olive oil in a large skillet over medium heat.
Add diced potatoes and cook for about 10 minutes, stirring occasionally.
Stir in the chopped onion and continue cooking until both potatoes and onions are golden brown.
Add the diced corned beef to the skillet.
Season with salt and pepper to taste.
Cook for an additional 10-15 minutes, allowing the mixture to crisp up.
Stir occasionally for even browning.
Once cooked, remove from heat and garnish with fresh parsley.
Serve hot, optionally topped with a fried or poached egg.
Enjoy your homemade corned beef hash!