Giter VIP home page Giter VIP logo

greeter's Introduction

Terminal Greeter

One docker image to rule them all:

  • fortune: for important information on the future
  • cowsay: for cows telling the future
  • pokemonsay: for pokemons telling the future
  • ponysay: for ponies telling the future

Inspired by the following docker images:

Based on python:3.7-alpine3.9 to keep it small.

All these commands can be executed as expected:

» docker run --rm tammoippen/greeter fortune
Know what I hate most?  Rhetorical questions.
		-- Henry N. Camp
» docker run --rm tammoippen/greeter cowsay "Hello world!"
 ______________
< Hello world! >
 --------------
        \   ^__^
         \  (oo)\_______
            (__)\       )\/\
                ||----w |
                ||     ||
» docker run --rm tammoippen/greeter pokemonsay -n -w 30 "Hello world!"

pokemonsay

» docker run --rm tammoippen/greeter ponysay "Hello world!"

ponysay

Let them tell fortunes

Pipe the fortune to the speaker - do not forget the -i.

» docker run --rm tammoippen/greeter fortune | docker run --rm -i tammoippen/greeter cowsay
 _____________________________________
/ As long as the answer is right, who \
\ cares if the question is wrong?     /
 -------------------------------------
        \   ^__^
         \  (oo)\_______
            (__)\       )\/\
                ||----w |
                ||     ||

Random speaker say

Randomly select the speaker:

» docker run --rm tammoippen/greeter fortune | docker run --rm -i tammoippen/greeter say
 ________________________________________
/ Committees have become so important    \
| nowadays that subcommittees have to be |
\ appointed to do the work.              /
 ----------------------------------------
   \
    \
        .--.
       |o_o |
       |:_/ |
      //   \ \
     (|     | )
    /'\_   _/`\
    \___)=(___/

Completly random greating

» docker run --rm tammoippen/greeter
 _________________________________________
/ You can do this in a number of ways.    \
| IBM chose to do all of them. Why do you |
| find that funny?                        |
|                                         |
| -- D. Taylor, Computer Science 350,     |
\ University of Washington                /
 -----------------------------------------
 \     ____________
  \    |__________|
      /           /\
     /           /  \
    /___________/___/|
    |          |     |
    |  ==\ /== |     |
    |   O   O  | \ \ |
    |     <    |  \ \|
   /|          |   \ \
  / |  \_____/ |   / /
 / /|          |  / /|
/||\|          | /||\/
    -------------|
        | |    | |
       <__/    \__>

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.