In fact I can give you a c-source project that will work with the Adfruit Oled display.
I will try to attach it here.
Unzip it to a directory on your Galileo and then run 'make' and then run "./oledtest" and it should display the Adafruit logo and scroll it back and forth.
SpiderKenny.
www.spider-e.com