Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save madhurimarawat/a8ad67746b7f894c12c66109dea55d1e to your computer and use it in GitHub Desktop.
Save madhurimarawat/a8ad67746b7f894c12c66109dea55d1e to your computer and use it in GitHub Desktop.
A collection of hidden Easter eggs found in software, programming languages, and websites. Some are fun, some are bizarre, and some are legendary! ๐Ÿ•ต๏ธโ€โ™‚๏ธ๐Ÿ’ป

๐Ÿฅš Easter Eggs in Tech ๐Ÿ‘€ โ€” Hidden Gems in Software & Code

๐Ÿ“ Description:

A collection of hidden Easter eggs found in software, programming languages, and websites. Some are fun, some are bizarre, and some are legendary! ๐Ÿ•ต๏ธโ€โ™‚๏ธ๐Ÿ’ป

๐Ÿ“Œ Know an Easter egg? Feel free to suggest one! ๐Ÿš€


๐Ÿ“‚ Easter Egg List


๐Ÿง Linux / Unix Command Line Fun

  • sudo make me a sandwich ๐Ÿฅช
    ๐Ÿ”น Response: "Okay." (If youโ€™re root) | "What? Make it yourself." (If youโ€™re not!)
    ๐Ÿ’ก Found in: sudo (Unix/Linux Command)

  • sl Command (Steam Locomotive) ๐Ÿš‚
    ๐Ÿ”น If you mistype ls as sl, instead of listing files, a train animation appears!
    ๐Ÿ’ก Found in: Unix/Linux (Install via sudo apt install sl)

  • cowsay "Hello, World!" ๐Ÿ„๐Ÿ’ฌ
    ๐Ÿ”น A talking ASCII cow that repeats your text!
    ๐Ÿ’ก Found in: Unix/Linux (sudo apt install cowsay)

  • figlet ๐ŸŽจ
    ๐Ÿ”น Converts text into large ASCII art.
    ๐Ÿ’ก Found in: Unix/Linux (sudo apt install figlet)


๐Ÿ–ฅ๏ธ Operating System Easter Eggs

  • Windows XP Hidden Credits ๐Ÿ†
    ๐Ÿ”น In XP, typing volcano in Notepad and saving it as .log would show a hidden team credit message!
    ๐Ÿ’ก Found in: Windows XP

  • Mac Terminal: โ€œSayโ€ Command ๐ŸŽ™๏ธ
    ๐Ÿ”น Running say "Hello, I am your Mac" makes your Mac talk!
    ๐Ÿ’ก Found in: macOS Terminal

  • Windows 95/98 Hidden Screensaver (3D Pipes) ๐Ÿง‘โ€๐Ÿ’ป
    ๐Ÿ”น Typing winver in the run command shows a screensaver with a fun 3D pipe animation.
    ๐Ÿ’ก Found in: Windows 95/98


๐ŸŒ Hidden Easter Eggs on Websites

  • Google "Do a Barrel Roll" ๐Ÿ”„
    ๐Ÿ”น Searching do a barrel roll makes the page rotate 360ยฐ!
    ๐Ÿ’ก Found in: Google Search

  • Konami Code on Websites ๐ŸŽฎ
    ๐Ÿ”น Pressing โ†‘ โ†‘ โ†“ โ†“ โ† โ†’ โ† โ†’ B A on certain websites unlocks fun animations!
    ๐Ÿ’ก Found in: Many websites (Example: old Konami site, dev pages, etc.)

  • Googleโ€™s "Askew" ๐Ÿ”
    ๐Ÿ”น Typing "askew" in Google Search tilts the page!
    ๐Ÿ’ก Found in: Google Search


๐Ÿ“œ Programming Language Easter Eggs

  • Pythonโ€™s โ€œimport thisโ€ ๐Ÿง˜โ€โ™‚๏ธ
    ๐Ÿ”น Running import this prints the Zen of Python, a list of coding philosophies.
    ๐Ÿ’ก Found in: Python

  • JavaScript: typeof NaN Returns โ€œnumberโ€ ๐Ÿคฏ
    ๐Ÿ”น Despite standing for "Not-a-Number", typeof NaN returns number.
    ๐Ÿ’ก Found in: JavaScript

  • Ruby's โ€œputsโ€ with โ€œchompโ€ ๐Ÿ”
    ๐Ÿ”น Typing puts "Hello".chomp will return "Hello" without a newline.
    ๐Ÿ’ก Found in: Ruby

  • Java's "Floating Point Arithmetic Fun" ๐Ÿคฏ
    ๐Ÿ”น Did you know that in Java, performing certain floating-point arithmetic operations can lead to surprising results due to precision issues? For example:

    System.out.println(0.1 + 0.2 == 0.3);  // prints "false"

    ๐Ÿ’ก This happens because floating-point numbers aren't always stored exactly as they appear.
    ๐Ÿ’ก Found in: Java


๐ŸŽฏ Contribute!

Know a cool Easter egg? Drop a comment or PR! Letโ€™s make this the ultimate archive of hidden tech gems! ๐Ÿš€

Feel free to share your discoveries and help others uncover the fun side of tech! โœจ

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