diff options
author | Daniil Baturin <daniil@baturin.org> | 2015-12-19 04:59:19 +0100 |
---|---|---|
committer | Daniil Baturin <daniil@baturin.org> | 2015-12-19 05:01:41 +0100 |
commit | 5b1bec7ba23c02c9e63b25c63b638bacc239ce56 (patch) | |
tree | 76f88cd5f1ba9a74b83d3f24b6b9ba4d0ecb2538 /scripts | |
parent | 97219ae83258061d524a110e5bd9d70d2aa70733 (diff) | |
download | vyatta-op-5b1bec7ba23c02c9e63b25c63b638bacc239ce56.tar.gz vyatta-op-5b1bec7ba23c02c9e63b25c63b638bacc239ce56.zip |
Easter egg: 'show version funny' command that displays limericks
after version information.
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/limericks.py | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/scripts/limericks.py b/scripts/limericks.py new file mode 100644 index 0000000..acb1a74 --- /dev/null +++ b/scripts/limericks.py @@ -0,0 +1,51 @@ +#!/usr/bin/env python + +import random + +limericks = [ + +""" +A programmer who's name was Searle +Once wrote a long program in Perl. +Despite very few quirks +No one got how it works, +Not even the interpreter. +""", + +""" +There was a young lady of Maine +Who set up IPsec VPN. +Problems didn't arise +'til other vendors' device +had to add she to that VPN. +""", + +""" +One day a programmer from York +started his own Vyatta fork. +Though he was a huge geek, +it still took him a week +to get the damn build scripts to work. +""", + +""" +A network admin from Hong Kong +knew MPPE cipher's not strong. +But he was behind NAT, +so he put up we that, +sad network admin from Hong Kong. +""", + +""" +A network admin named Drake +greeted friends with a three-way handshake +and refused to proceed +if they didn't complete it, +that standards-compliant guy Drake. +""" + +] + +l = limericks[random.randint(0, len(limericks) - 1)] + +print(l) |