06.04.2010 01:54
Aesdana — Пасхальные яйца
Да-да, навеяно прошедшей Пасхой.Постаралась собрать наиболее интересные и не устаревшие пасхальные яйца.
Если пропустила что-то стоящее, пишите, добавлю в пост.
Пасхалки Убунты/Дебиана/Гнома
1. Запустите run dialog, наберите "free the fish" и выполните — по экрану время от времени будет плавать
рыбка Wanda. Убить ее можно, если убить gnome-panel.
2. Чья бы корова мычала...Ну это фишка известная, но для галочки упомяну :)
Набираем:
$apt-get moo
Далее:
$aptitude -v moo
There really are no Easter Eggs in this program.
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?
Didn't I already tell you that there are no Easter Eggs in this program?
...
$aptitude -vvv moo
Stop it!
Stop it!
...
$aptitude -vvvv moo
Okay, okay, if I give you an Easter Egg, will you go away?
Okay, okay, if I give you an Easter Egg, will you go away?
...
$aptitude -vvvvv moo
All right, you win.
sssssssssssssssssssssssssssssss/-----\
sssssssssssssssssssssss---------/ssssss\
ssssssssssssssssssssss/ssssssssssssss\
sssssssssssssssssssss/sssssssssssssss|
sss------------------------/ssssssssssssssss--------\
sss--------------------------------------------------------
All right, you win.
sssssssssssssssssssssssssssssss/-----\
sssssssssssssssssssssss---------/ssssss\
ssssssssssssssssssssss/ssssssssssssss\
sssssssssssssssssssss/sssssssssssssss|
sss------------------------/ssssssssssssssss--------\
sss--------------------------------------------------------
И последний раз:
$aptitude -vvvvvv moo
What is it? It's an elephant being eaten by a snake, of course.
What is it? It's an elephant being eaten by a snake, of course.
И это совсем не шляпа. Маленький Принц форева ^^
3. Жмём Alt+F2, пишем "gegls from outer space".
4. В GDM тоже есть немного весёлостей:
Вместо логина введите: "Start Dancing"
Остановить — "Stop Dancing"
И ещё "Require Quarter" и "Gimme Random Cursor".
Пасхалки vim
1. Заходим в vim, набираем :help 42
What is the meaning of life, the universe and everything? *42*
Douglas Adams, the only person who knew what this question really was about is
now dead, unfortunately. So now you might wonder what the meaning of death
is...
Douglas Adams, the only person who knew what this question really was about is
now dead, unfortunately. So now you might wonder what the meaning of death
is...
Это отсылка к Дугласу Адамсу и его "Автостопом по галактике"
2. Ещё немного подобных пасхалок:
:help holy-grail
:help!
:help map-modes
:help UserGettingBored
:help spoon
:help showmatch
:Ni!
:help!
:help map-modes
:help UserGettingBored
:help spoon
:help showmatch
:Ni!
Пасхалки Gentoo
1. Тоже самое, что с apt-get (нужен пакет moo).
#emerge moo
2. Пишем:
$modules-update you
Error: I don't understand you
Error: I don't understand you
А ещё:
$who is god
root pts/0 Mar 22 19:55 (:0.0)
root pts/0 Mar 22 19:55 (:0.0)
3. Конфетка.
В файл /etc/make.conf, в FEATURES добавьте слово "candy".
Теперь пускаем emerge -uDpv world и ломаем глаза ;)
Для тех, кто не смог прочитать:
"Gentoo Rocks"
"Thank you for using Gentoo. :)"
"Are you actually trying to read this?"
"How many times have you stared at this?"
"We are generating the cache right now"
"You are paying too much attention."
"A theory is better than its explanation."
"Phasers locked on target, Captain."
"Thrashing is just virtual crashing."
"To be is to program."
"Real Users hate Real Programmers."
"When all else fails, read the instructions."
"Functionality breeds Contempt."
"The future lies ahead."
"3.1415926535897932384626433832795028841971694"
"Sometimes insanity is the only alternative."
"Inaccuracy saves a world of explanation."
"Thank you for using Gentoo. :)"
"Are you actually trying to read this?"
"How many times have you stared at this?"
"We are generating the cache right now"
"You are paying too much attention."
"A theory is better than its explanation."
"Phasers locked on target, Captain."
"Thrashing is just virtual crashing."
"To be is to program."
"Real Users hate Real Programmers."
"When all else fails, read the instructions."
"Functionality breeds Contempt."
"The future lies ahead."
"3.1415926535897932384626433832795028841971694"
"Sometimes insanity is the only alternative."
"Inaccuracy saves a world of explanation."
Пасхалки ядра/других утилит
1. Создаём новую учётную запись "tyler", логинимся и пишем 'reboot' или 'halt'
Получим надпись:
"Oh hello Mr. Tyler - going DOWN?"
Это отсыл к клипу Aerosmith "Love in an Elevator"
2. Магия чисел:
$ grep LINUX_REBOOT_MAGIC /usr/include/linux/*.h
include/linux/reboot.h:#define LINUX_REBOOT_MAGIC1 0xfee1dead
include/linux/reboot.h:#define LINUX_REBOOT_MAGIC2 672274793
include/linux/reboot.h:#define LINUX_REBOOT_MAGIC2A 85072278
include/linux/reboot.h:#define LINUX_REBOOT_MAGIC2B 369367448
include/linux/reboot.h:#define LINUX_REBOOT_MAGIC2C 537993216
include/linux/reboot.h:#define LINUX_REBOOT_MAGIC1 0xfee1dead
include/linux/reboot.h:#define LINUX_REBOOT_MAGIC2 672274793
include/linux/reboot.h:#define LINUX_REBOOT_MAGIC2A 85072278
include/linux/reboot.h:#define LINUX_REBOOT_MAGIC2B 369367448
include/linux/reboot.h:#define LINUX_REBOOT_MAGIC2C 537993216
Эти числа — значимые даты для Линуса. Расшифровать можно так:
$ perl -e 'print localtime(672274793). "\n";'
Sun Apr 21 18:59:53 1991
Sun Apr 21 18:59:53 1991
3. В терминале пишем:
$ddate
Today is Setting Orange, the 22nd day of Discord in the YOLD 3176
Today is Setting Orange, the 22nd day of Discord in the YOLD 3176
Так же можно попробовать ввести точную дату, например ddate 05 04 2010
4. Insults.
sudo может ругаться каждый раз, когда вы вводите неверный пароль, вместо того чтобы просто выводить сообщение "Sorry, try again".
Для включения этого "пасхального яйца":
# sudo visudo
Найдите раздел Defaults line и добавьте "insults" через запятую, если там уже что-то есть. В итоге это может выглядеть так:
#Defaults specification
Defaults insults
Defaults insults
Выглядит примерно вот так:
$ sudo pacman -Syu
Password:
I feel much better now.
Password:
You can't come in. Our tiger has got flu
Password:
... and it used to be so popular...
Password:
Ying Tong Iddle I Po
Password:
You gotta go owwwww!
Password:
Wrong! You cheating scum!
Password:
Do you think like you type?
Password:
I can't hear you -- I'm using the scrambler.
Password:
You speak an infinite deal of nothingПасхалки OOffice
1. В OOCalc в любое поле вводим:
=Game("StarWars")
— занятная игрушка )Password:
I feel much better now.
Password:
You can't come in. Our tiger has got flu
Password:
... and it used to be so popular...
Password:
Ying Tong Iddle I Po
Password:
You gotta go owwwww!
Password:
Wrong! You cheating scum!
Password:
Do you think like you type?
Password:
I can't hear you -- I'm using the scrambler.
Password:
You speak an infinite deal of nothingПасхалки OOffice
1. В OOCalc в любое поле вводим:
=Game("StarWars")
=STARCALCTEAM()
— фоточка.
=TTT()
— смайл.
=GAME(“Froggie”)
— "Шо, опять?!"
=GAME(A2:C4;”TicTacToe”)
— ещё одна игрушка.
=GAME()
— say what?2. В OOWriter пишем "StarWriterTeam" и жмём F3. Ещё одно фото :)
Пасхалка Арча
Напоследок :)
В pacman.conf добваляем "ILoveCandy" (без кавычек). Далее либо pacman -Sy, либо ставим пакет пожирнее.
Эффект:
UPD: Спасибо mrded за insults и cblp за apt-get moo :)
Обновилась, ещё раз проверила.
sudo pacman -Qi go-openoffice
Name : go-openoffice
Version : 3.2.0.9-1
Хз, чесслово.
sudo pacman -Qi go-openoffice
Name : go-openoffice
Version : 3.2.0.9-1
Хз, чесслово.
# update-modules you
* Error: I don't understand you
* Error: I don't understand you
вообще-то, так как переименовали
3. Конфетка.
В файл /etc/make.conf, в FEATURES добавьте слово "candy".
Теперь пускаем emerge -uDpv world и ломаем глаза ;)
Для тех, кто не смог прочитать:
В файл /etc/make.conf, в FEATURES добавьте слово "candy".
Теперь пускаем emerge -uDpv world и ломаем глаза ;)
Для тех, кто не смог прочитать:
не помню как, но это фича у меня давно стоит.
FEATURES="distlocks sandbox userpriv usersandbox candy ccache parallel-fetch userfetch"
Тоже самое, что с apt-get (нужен пакет moo).
А про apt-get-то и не рассказала. Между прочим, `aptitude moo` — это продолжение `apt-get moo`.
sudo может ругаться каждый раз, когда вы вводите неверный пароль, вместо того чтобы просто выводить сообщение "Sorry, try again".
Для включения этого "пасхального яйца":
Найдите раздел Defaults line и добавьте "insults" через запятую, если там уже что-то есть. В итоге это может выглядеть так:
Выглядит примерно вот так:
Для включения этого "пасхального яйца":
# sudo visudo
Найдите раздел Defaults line и добавьте "insults" через запятую, если там уже что-то есть. В итоге это может выглядеть так:
#Defaults specification
Defaults insults
Defaults insults
Выглядит примерно вот так:
$ sudo pacman -Syu
Password:
I feel much better now.
Password:
You can't come in. Our tiger has got flu
Password:
... and it used to be so popular...
Password:
Ying Tong Iddle I Po
Password:
You gotta go owwwww!
Password:
Wrong! You cheating scum!
Password:
Do you think like you type?
Password:
I can't hear you -- I'm using the scrambler.
Password:
You speak an infinite deal of nothing
Password:
I feel much better now.
Password:
You can't come in. Our tiger has got flu
Password:
... and it used to be so popular...
Password:
Ying Tong Iddle I Po
Password:
You gotta go owwwww!
Password:
Wrong! You cheating scum!
Password:
Do you think like you type?
Password:
I can't hear you -- I'm using the scrambler.
Password:
You speak an infinite deal of nothing
Не то что-бы пасхалка, но вещь известная.
Star Wars в ASCII
В консоли:
telnet towel.blinkenlights.nl
Star Wars в ASCII
В консоли:
telnet towel.blinkenlights.nl
linux-dqeg:/home/ghost # cairo-dock --capuccino
Please insert one coin into your PC.
linux-dqeg:/home/ghost # cairo-dock --expresso
Sorry, no more sugar; please try again later.
linux-dqeg:/home/ghost # cairo-dock --cafe-latte
Honestly, you trust someone who includes such options in his code ?
//пасхалки cairo-dock=)
Please insert one coin into your PC.
linux-dqeg:/home/ghost # cairo-dock --expresso
Sorry, no more sugar; please try again later.
linux-dqeg:/home/ghost # cairo-dock --cafe-latte
Honestly, you trust someone who includes such options in his code ?
//пасхалки cairo-dock=)
— "Шо, опять?!"
выводит - #ИМЯ
— ещё одна игрушка.
Выводит - Ошибка:501
Все остальное пашет. ООO310m19(Build:9420) OpenOffice.Org 3.1.1. Ubuntu 9.10