aboutsummaryrefslogtreecommitdiff
path: root/base/nyan
diff options
context:
space:
mode:
authorAdam Hovorka <[email protected]>2018-09-30 20:36:27 -0600
committerAdam Hovorka <[email protected]>2018-09-30 20:36:27 -0600
commit9c1224578330135406ddc9f461184ff1f6756c0c (patch)
tree0afbaceff14b98919c04048bdf5d11a5a850289c /base/nyan
parentfc7fc47c946f49040df60dc3e3c4499399975125 (diff)
Add some more random utilities/functions
Diffstat (limited to 'base/nyan')
-rwxr-xr-xbase/nyan24
1 files changed, 24 insertions, 0 deletions
diff --git a/base/nyan b/base/nyan
new file mode 100755
index 0000000..5929327
--- /dev/null
+++ b/base/nyan
@@ -0,0 +1,24 @@
+#!/usr/bin/env bash
+
+# Print nyan cat
+# https://github.com/steckel/Git-Nyan-Graph/blob/master/nyan.sh
+# If you want big animated version: `telnet miku.acm.uiuc.edu`
+
+RED="$(tput setaf 1)"
+GREEN="$(tput setaf 2)"
+YELLOW="$(tput setaf 3)"
+CYAN="$(tput setaf 6)"
+WHITE="$(tput setaf 7)"
+BOLD="$(tput bold)"
+NOCOLOR="$(tput sgr0)"
+
+echo
+echo -en $RED'-_-_-_-_-_-_-_'
+echo -e $NOCOLOR$BOLD$WHITE',------,'$NOCOLOR
+echo -en $YELLOW$WHIT'_-_-_-_-_-_-_-'
+echo -e $NOCOLOR$BOLD$WHITE'| /\_/\\'$NOCOLOR
+echo -en $GREEN'-_-_-_-_-_-_-'
+echo -e $NOCOLOR$BOLD$WHITE'~|__( ^ .^)'$NOCOLOR
+echo -en $CYAN'-_-_-_-_-_-_-'
+echo -e $NOCOLOR$BOLD$WHITE'"" ""'$NOCOLOR
+echo