Skip to content

Instantly share code, notes, and snippets.

@mateor
Created May 20, 2016 16:07
Show Gist options
  • Save mateor/9ff148797098501fb9ba0b6688770580 to your computer and use it in GitHub Desktop.
Save mateor/9ff148797098501fb9ba0b6688770580 to your computer and use it in GitHub Desktop.
bash profile to ~slowly cat a file. Good for ASCII art burns.
function print_slow(){
IFS=$'\n' && array=($(<$1))
for line in ${array[@]};
do echo $line
sleep .05
done
}
# If you have a cowboy file (like I do!)
alias cowboy='print_slow ~/dev/snippets/whoa_cowboy.sh'
@mateor
Copy link
Author

mateor commented May 20, 2016

     /$$      /$$ /$$
    | $$  /$ | $$| $$
    | $$ /$$$| $$| $$$$$$$   /$$$$$$   /$$$$$$
    | $$/$$ $$ $$| $$__  $$ /$$__  $$ |____  $$
    | $$$$_  $$$$| $$  \ $$| $$  \ $$  /$$$$$$$
    | $$$/ \  $$$| $$  | $$| $$  | $$ /$$__  $$
    | $$/   \  $$| $$  | $$|  $$$$$$/|  $$$$$$$
    |__/     \__/|__/  |__/ \______/  \_______/
       /$$     /$$
      | $$    | $$
     /$$$$$$  | $$$$$$$   /$$$$$$   /$$$$$$   /$$$$$$
    |_  $$_/  | $$__  $$ /$$__  $$ /$$__  $$ /$$__  $$
      | $$    | $$  \ $$| $$$$$$$$| $$  \__/| $$$$$$$$
      | $$ /$$| $$  | $$| $$_____/| $$      | $$_____/
      |  $$$$/| $$  | $$|  $$$$$$$| $$      |  $$$$$$$
       \___/  |__/  |__/ \_______/|__/       \_______/
                                       /$$                           /$$
                                      | $$                          | $$
      /$$$$$$$  /$$$$$$  /$$  /$$  /$$| $$$$$$$   /$$$$$$  /$$   /$$| $$
     /$$_____/ /$$__  $$| $$ | $$ | $$| $$__  $$ /$$__  $$| $$  | $$| $$
    | $$      | $$  \ $$| $$ | $$ | $$| $$  \ $$| $$  \ $$| $$  | $$|__/
    | $$      | $$  | $$| $$ | $$ | $$| $$  | $$| $$  | $$| $$  | $$
    |  $$$$$$$|  $$$$$$/|  $$$$$/$$$$/| $$$$$$$/|  $$$$$$/|  $$$$$$$ /$$
     \_______/ \______/  \_____/\___/ |_______/  \______/  \____  $$|__/
                                                           /$$  | $$
                                                          |  $$$$$$/
                                                           \______/
                                   ,'-',
                                  :-----:
                              (''' , - , ''')
                              \   ' .  , `  /
                               \  '   ^  ; /
                                \ `   -  ,'
                                 `,_ _,'
                            ,- -`\ \  /,
                          ,-      \_\/_/'-
                         ,                 `,
                        ,                    `
                        ,     /\          \   `
                        |    /             \   ',
                        ,   /  :           :`,  ,
                        <...\  ,           : ,- '
                        \,,,,\ ;           : j  '
                         \    \            :/^^^^'
                          \    \            ; ''':
                            \   -,         -`.../
                             '    - -,`,--`
                              \_._'-- '---:

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