44

Anyone here put Easter eggs in their code, and care to share examples?

I made a custom script to rotate a log file once a day in my program. So at the bottom of the roll I added a nice little print. See attached.

Comments
  • 14
    Yeah, I do. There's a Console Message greeting the viewer in all my websites :D
  • 16
    there is a link to me doing kickflips in the hungarian telekom server code
  • 3
    @PrivateGER ooo nice! I'll be sure to add that to mine šŸ˜
  • 1
    @DLMousey Haha, my coworker (@jacoKotze) should implement that in his API! He's also planning on building an IoT coffee machine so it'll be relevant lol
  • 5
    Not mine, but i happen to find one while looking at the html of a website: streamopera.com
    Visit it on a desktop pc/mac/whatever, press on the keyboard arepomaerts (streamopera backwards) and look what happens to the website logo...
  • 0
    @masterdoctor does she see your messages?
  • 1
    I plan on it
  • 1
    I'm not allowed to at work :C
  • 11
    One of my guys told me about something he accidentally posted on his company profile that was ā€œpermenantly thereā€...

    It was asking for a bigger star, because profiles get little bronze, silver and gold stars based on how much detail is filled in.

    In the mobile version Iā€™ll be leaving him an Easter egg that gives him a massive fucking star for the fun of it.

    I leave ratty comments around and when Iā€™m bored I leave a rng to roll and decide whether or not to make the logo wiggle (css animation).

    Stuff like that is great fun because the users get a little ā€œdid... did that just wiggleā€. But they can never prove it did, usually random and so spread out that they wonā€™t see it twice themselves.

    I made a heart logo beat when someone clicked it because fuck it, what you clicking the heart logo for? It does nothing.

    Css anims, a js math.random and timeout are always useful tools for Easter eggs.

    I get bored, decide Iā€™m throwing something in and it goes in there.

    Oh shit, and if a particular user base have been really shitty I make their input field miss a character every now and then for a week or so.

    Like destructive ux.
  • 3
    I hear "this is the man's world" song after reading this log
  • 3
    @jamescodesthing dude, that's awesome!
  • 3
    @endor which one?

    My advice is if you want cool Easter eggs, css makes that easily configurable šŸ˜Šm

    Code reviews arenā€™t rigorous where I work... or, uh... existent.
  • 2
    @jamescodesthing I really like the logo wiggle in particular, but I like all the others too!
  • 3
    @endor

    Spot on man šŸ˜Š my favourite too because it was subtle. Youā€™d hear the odd rumour about it now and then.
  • 4
    Not sure if you could count this..

    I have a Patreon bonus called "Immortal In Code", where Patron's donate over a certain amount, and they get to permanently put a message in the source.

    I also have put messages for people who have helped me out greatly.
  • 1
    @Cyanite That's a pretty cool bonus!
Add Comment