Skip to content

Instantly share code, notes, and snippets.

@rockwotj
Last active October 1, 2024 17:59
Show Gist options
  • Save rockwotj/6a356a95732985b09e2b to your computer and use it in GitHub Desktop.
Save rockwotj/6a356a95732985b09e2b to your computer and use it in GitHub Desktop.
Downloads all of the icons of anonymous animals from Google Drive
#!/usr/bin/env ruby
icon_list = "alligator, anteater, armadillo, auroch, axolotl, badger, bat, beaver, buffalo, camel, chameleon, cheetah, chipmunk, chinchilla, chupacabra, cormorant, coyote, crow, dingo, dinosaur, dolphin, duck, dragon, elephant, ferret, fox, frog, giraffe, gopher, grizzly, hedgehog, hippo, hyena, jackal, ibex, ifrit, iguana, koala, kraken, lemur, leopard, liger, llama, manatee, mink, monkey, narwhal, nyan cat, orangutan, otter, panda, penguin, platypus, python, pumpkin, quagga, rabbit, raccoon, rhino, sheep, shrew, skunk, slow loris, squirrel, turtle, walrus, wolf, wolverine, wombat"
for icon in icon_list.split ', ' do
element = icon.sub ' ', ''
`curl https://ssl.gstatic.com/docs/common/profile/#{element}_lg.png -o icons/#{element}.png`
end
@rockwotj
Copy link
Author

rockwotj commented Sep 29, 2020

@moxgreen this script is from ~2015 so it likely is :)

EDIT: I've updated the script to include the dragon

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment