Soak the cod in cold water to cover for 24 to 36 hours, changing the water occasionally, drain. Flake the cod into small pieces, removing any bones. Set aside. In a large saute pan, over medium heat, add 1/4 cup of the oil. When the oil is hot, add the onions and the garlic. Season with salt and pepper. Saute until lightly golden, about 6 minutes. Grease a medium ovenproof casserole dish with 1 teaspoon of olive oil. Season the potatoes with salt and pepper. Spread half of the potatoes over the bottom of the prepared dish. Sprinkle half of the salt cod over the potatoes. Place half of the onion mixture over the salt cod. Top the onion mixture with more salt cod. Place another layer of potatoes over the top of the cod. Drizzle the entire pan with the remaining 1/4 cup of oil. Place on a serving platter. Garnish with the sliced eggs, olives, and parsley.