Here are some photos by a German photographer named Arnold Genthe, who visited San Francisco at the turn of the (20th) century.
“Four Pigtail Kids” (circa 1896-1906):
“Merchant and Bodyguard” (circa 1896-1906):
“Street of the Gamblers (By Day)” (circa 1896-1906):