Quick! Nerdy things to do in San Francisco?

Hi!

I'm about to board a flight to San Francisco where I have a 6 hour layover before a flight to Asia. What is the nerdiest thing I could do in San Francisco for those 6 hours? Any relics of technology history that I could see? Odd places that would be fun to check out? No idea is too small or esoteric.

Thanks!