Skip to content

the-ethan-hunt/awesome-easter-eggs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Awesome-easter-eggs

Awesome

A curated list of Easter eggs in every language you can think of!

Contents

Languages

Python

  1. The Zen of Python

     import this

    It will print the Zen of Python.

  2. XKCD Comics

    import antigravity

    It will open your default browser, and open a classic XKCD comic.

  3. Hello World

    import __hello__

    It will print Hello World!

  4. April Fool

    from __future__ import barry_as_FLUFL
    1<>2

    This April Fool joke was posted about Barry Warsaw.

  5. C-Style braces instead of indentation

    from __future__ import braces

    This will give the following Output

    File "<stdin>", line 1
    SyntaxError: not a chance

Go

  1. Easter Egg in net package

    In src/net/net.go, we find this variable:

    // aLongTimeAgo is a non-zero time, far in the past, used for
    // immediate cancelation of dials.
    aLongTimeAgo = time.Unix(233431200, 0)

    This Unix timestamp converts to May 25, 1977 @ 6pm. The day Star Wars opened in theaters -- hence "a long time ago." Cute!

Terminal

ASCII drawings and cute jokes

  1. Mysterious super cow power

    $ apt-get moo
                  (__) 
                  (oo) 
            /------\/ 
           / |    ||   
          *  /\---/\ 
             ~~   ~~   
    ..."Have you mooed today?"...
    
  2. Daniel Burrows Easter Egg

    $ aptitude moo 
    There are no Easter Eggs in this program. 
    $ aptitude -v moo 
    There really are no Easter Eggs in this program. 
    $ aptitude -vv moo 
    Didn't I already tell you that there are no Easter Eggs in this program? 
    $ aptitude -vvv moo 
    Stop it! 
    $ aptitude -vvvv moo 
    Okay, okay, if I give you an Easter Egg, will you go away? 
    $ aptitude -vvvvv moo 
    All right, you win.
    
                                /----\
                        -------/      \
                       /               \
                      /                |
    -----------------/                  --------\
    ----------------------------------------------
    $ aptitude -vvvvvv moo 
    What is it? It's an elephant being eaten by a snake, of course.
    

FAQs

What is an Easter Egg?

An Easter egg is a hidden message or a joke particularly found in a computer program or a video game or in this case, a programming language!

What is this list about?

This list is a curated list of all the easter eggs in every programming language in the world from C# to Brainf**k.

How to contribute?

It's simple! You pull a request mentioning a little bit about your Easter Egg and 🎉! It's done!

License

CC0

To the extent possible under law, Dhruv Apte has waived all copyright and related or neighboring rights to this work.

About

A list of Easter eggs in every language you can think of!

Resources

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published