Skip to content

Instantly share code, notes, and snippets.

@lordminx
Last active March 10, 2018 14:36
Show Gist options
  • Save lordminx/c304f3cd0f8d247ea1a32c17480d58d1 to your computer and use it in GitHub Desktop.
Save lordminx/c304f3cd0f8d247ea1a32c17480d58d1 to your computer and use it in GitHub Desktop.
from random import choice
def opinion(current_distro=None):
"""All the linux opinions you'll ever need."""
distros = ["Xubuntu", "Ubuntu", "Manjaro", "Arch Linux", "Debian", "Kali Linux", "Fedora", "some distro you've probably never heard of"]
sentiments = ["awesome", "great", "a bit of a PITA", "like sticking needles in my eyes", "like ... so bad"]
opinion = "I'm currently using {} and it's {}, but I can't wait to give {} a try, I heard its {}!"
if not current_distro:
current_distro = choice(distros)
return opinion.format(current_distro, choice(sentiments), choice(distros), choice(sentiments))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment