2009年4月19日星期日

程序中的复活节彩蛋

在国外很多地方,每年春分过后,第一次月圆后的第一个星期日就是“复活节”。许多西方人小时候会在当天玩一种找彩蛋的游戏,而彩蛋里面也会藏一些小礼物,找到彩蛋的人会很兴奋,所以彩蛋是“复活节”最典型的象征,代表了惊喜与另藏玄机。

在我们常用的软件当中隐藏了一些小东东,这些小东东我们称之为复活节彩蛋(Easter Eggs)。复活节彩蛋的内容包含得很广,从单纯地列出开发人员名单到3D影音游戏都有。我们常用的软件如Windows、Word和Excel以及我们 用来上网的浏览器IE中都有这样的彩蛋。

Star Wars game

  1. Go to the spreadsheet application in the OpenOffice suite
  2. Go to any cell
  3. Type in: =game()
    The response will be "say what?"
  4. Type in: =GAME("StarWars")
  5. Press the enter key -- the opening screen shows up
  6. Pick your icon -- a message will appear in German
  7. Pick your level (again, in German)
  8. Click 'start'
This is the default player used to display virally syndicated titles via the Get the Code button. http://link.brightcove.com/services/link/bcpid1351827287 http://www.brightcove.com/channel.jsp?channel=1351824782

Wanda the fish

  1. In Linux (Ubuntu 8.10 in this case), press Alt-F2
  2. In the box, type: free the fish
This is the default player used to display virally syndicated titles via the Get the Code button. http://link.brightcove.com/services/link/bcpid1351827287 http://www.brightcove.com/channel.jsp?channel=1351824782

Gegls from outer space

  1. In Linux (Ubuntu 8.10 in this case), press Alt-F2
  2. In the box, type: gegls from outer space
This is the default player used to display virally syndicated titles via the Get the Code button. http://link.brightcove.com/services/link/bcpid1351827287 http://www.brightcove.com/channel.jsp?channel=1351824782

No Easter eggs here

  1. On Debian-based Linux distros, go to Applications > Accessories > Terminal
  2. Type in: aptitude moo
  3. After the response, type: aptitude -v moo
  4. After the response, type: aptitude -v -v moo
  5. (At this point, after the computer program argues with you, you're just adding one more -v each time.) Remember that five is your lucky number!
This is the default player used to display virally syndicated titles via the Get the Code button. http://link.brightcove.com/services/link/bcpid1351827287 http://www.brightcove.com/channel.jsp?channel=18945614001

Robots

  1. In Firefox 3, go to the Location bar
  2. Type in: about:robots
This is the default player used to display virally syndicated titles via the Get the Code button. http://link.brightcove.com/services/link/bcpid1351827287 http://www.brightcove.com/channel.jsp?channel=18945614001

Star Wars movie

Not technically an Easter egg, but still cool

  1. In Windows XP (or any OS that supports Telnet), click Start, then Run
  2. Type in: telnet towel.blinkenlights.nl
这个可以用wireshark全程抓下来的哦
This is the default player used to display virally syndicated titles via the Get the Code button. http://link.brightcove.com/services/link/bcpid1351827287 http://www.brightcove.com/channel.jsp?channel=18945614001

Terminal Tetris

This actually is a function of the emacs text editor. Type "doctor" at the prompt and you'll get a free session with a psychotherapist.

  1. On the Mac, go to Finder > Applications > Utilities > Terminal
  2. Type: emacs
  3. Press Escape & X at the same time
  4. After your cursor moves to the bottom, type Tetris
This is the default player used to display virally syndicated titles via the Get the Code button. http://link.brightcove.com/services/link/bcpid1351827287 http://www.brightcove.com/channel.jsp?channel=18945614001

Book of Mozilla

  1. In Firefox location box, type: about:mozilla
This is the default player used to display virally syndicated titles via the Get the Code button. http://link.brightcove.com/services/link/bcpid1351827287 http://www.brightcove.com/channel.jsp?channel=18945614001

Crazy Dates

Again, perhaps not really an Easter egg (though a lot of people on the Web think it is)

  1. In Linux (Ubuntu 8.10 here), go to Applications > Accessories > Terminal
  2. Type in the 'ddate' command followed by a date in the format of number, space, number, space, four-digit year number (for instance: 4 6 2009)
  3. Each time you type in a different date, you get another bizarre response from the 'Discordian' calendar
This is the default player used to display virally syndicated titles via the Get the Code button. http://link.brightcove.com/services/link/bcpid1351827287 http://www.brightcove.com/channel.jsp?channel=18945614001

Pipes screensaver

  1. In the Google Chrome Web browser's location bar, type in: about:internets

Bonus! Here's the 11th in my list of 10 Easter eggs.

This is the default player used to display virally syndicated titles via the Get the Code button. http://link.brightcove.com/services/link/bcpid1351827287 http://www.brightcove.com/channel.jsp?channel=18945614001

Have you mooed today?

  1. In Linux (Ubuntu 8.10 here), go to Applications > Accesories > Terminal
  2. Type in the apt-get package manager command and a bovine parameter: apt-get moo

标签:


评论: 发表评论

订阅 博文评论 [Atom]





<< 主页

This page is powered by Blogger. Isn't yours?

订阅 博文 [Atom]