Skip to content

Instantly share code, notes, and snippets.

@vchahun
Created August 14, 2013 02:06
Show Gist options
  • Save vchahun/6227448 to your computer and use it in GitHub Desktop.
Save vchahun/6227448 to your computer and use it in GitHub Desktop.
One-liner of the day
python -c "import sys, random, pattern.en.wordlist; print(' '.join(w+' '+random.choice(pattern.en.wordlist.PROFANITY) if len(w) > 4 and random.random() > 0.8 else w for w in sys.stdin.read().split()))"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment