ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Sergey V Turchin <zerg@altlinux.org>
To: ALT Linux Sisyphus discussion list <sisyphus@lists.altlinux.org>
Subject: [sisyphus] забавная картинка с зимой и пингвинами при загрузке
Date: Wed, 21 Feb 2007 15:11:19 +0300
Message-ID: <200702211511.26230.zerg@altlinux.org> (raw)
In-Reply-To: <20070221144157.2a9f70b8@blackp.vop.mes>

[-- Attachment #1: Type: text/plain, Size: 1168 bytes --]

On 21 февраля 2007, Peter Evdokimov wrote:
> On Wed, 21 Feb 2007 14:34:07 +0300
>
> Sergey V Turchin wrote:
> > > и еще, каким образом еще раз лицезреть забавную картинку с
> > > зимой и пингвинами при загрузке?
> >
> > Оно в зависимости от даты показывается.
> > Можно пересобрать design-bootloader-Compact, сменив в
> > исходниках penguin=-1 на penguin=100
>
> не уверен. на одной и той же машине раз 10 сегодня запускал
> инсталлятор и только один раз пингвины, остальные разы - вода,
> много воды =)
Я тоже не уверен, но вот кусок кода:
% more likely during winter...
penguin.percent -1 eq {
  date
  0
  over month 11 eq { 5 add } if
  over month 12 eq { 15 add } if
  over month 2 le { 6 add } if
  over weekday 5 eq { 2 mul } if
  over weekday 6 eq { 4 mul } if
  over month dup 2 gt exch 11 lt and { pop 1 } if
  over dup month 12 eq exch day dup 24 ge exch 6 eq or and { pop 
100 } if
  over dup month 1 eq exch day 1 eq and { pop 100 } if

  /penguin.percent exch def
  pop
} if

/ptheme rand pop rand 100 mod penguin.percent lt def


-- 
Regards, Sergey, ALT Linux Team, http://www.altlinux.ru
http://stinkfoot.org:11371/pks/lookup?op=get&search=0x1C2A3F08

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2007-02-21 12:11 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-21 10:28 [sisyphus] installer-i586-20070219 Peter Evdokimov
2007-02-21 11:34 ` Sergey V Turchin
2007-02-21 11:41   ` Peter Evdokimov
2007-02-21 12:11     ` Sergey V Turchin [this message]
2007-02-21 12:21       ` [sisyphus] забавная картинка с зимой и пингвинами при загрузке Peter Evdokimov
2007-02-21 20:12         ` Хихин Руслан
2007-02-22  4:33           ` Peter Evdokimov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200702211511.26230.zerg@altlinux.org \
    --to=zerg@altlinux.org \
    --cc=sisyphus@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sisyphus


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git