heyya
Dan Cody was a self-made man who made a fortune in mining and had moored his yacht near where Gatsby was working.Gatsby learned from Dan Cody what it means to be rich, what kind of lifestyle it can bring you, and how phenomenally wealth can open doors and turn a complete nobody into a somebody. Dan Cody was the physical embodiment of Gatsby's ideations of wealth and power. Gatsby noticed a storm brewing and rowed out to warn Cody of the storm. In gratitude, Cody offered Gatsby a job, and Gatsby became a general assistant to Cody.
hope it helps