Time & Temperature via linux

Kendric Beachey ak at kc.rr.com
Thu Dec 5 00:35:58 CST 2002


On Wednesday 04 December 2002 05:07 pm, Dustin Decker wrote:
> On Wed, 4 Dec 2002, Jared wrote:
> > Great suggestion. Sounds like a fun little script to write.
> >
> > It'll take me a while, but I'll post the number
> > here when it's finished. Note: This version will _not_
> > contain advertising. I hated that UMB blurb, even though
> > I knew it was paying for the whole 844 exchange. By word of
> > mouth alone people will learn that it's running on Linux.
> > As it should be.
>
> It wouldn't be terrible to have a blurb at the _end_ of the message
> however would it?  Folks who wanna listen aren't captive, and it could do
> some good.  Those who don't care will just hang up.

Yeah!  Just a little catchphrase like "Powered by Linux", or "Linux--choice of 
a GNU generation", or "Linux--where do you want to go tomorrow?"  Could have 
several and pick one randomly.

Or have it read the output of "fortune -s"  :-)

-- 
Kendric Beachey
ak at kc.rr.com

DVD decryption in seven lines of Perl code:
$_='while(read+STDIN,$_,2048){$a=29;$b=73;$c=142;$t=255;@t=map{$_%16or$t^=$c^=( 
$m=(11,10,116,100,11,122,20,100)[$_/16%8])&110;$t^=(72, at z=(64,72,$a^=12*($_%16 
-2?0:$m&17)),$b^=$_%64?12:0, at z)[$_%8]}(16..271);if((@a=unx"C*",$_)[20]&48){$h 
=5;$_=unxb24,join"", at b=map{xB8,unxb8,chr($_^$a[--$h+84])}@ARGV;s/...$/1$&/;$ 
d=unxV,xb25,$_;$e=256|(ord$b[4])<<9|ord$b[3];$d=$d8^($f=$t&($d12^$d4^ 
$d^$d/8))<<17,$e=$e8^($t&($g=($q=$e14&7^$e)^$q*8^$q<<6))<<9,$_=$t[$_]^ 
(($h=8)+=$f+(~$g&$t))for at a[128..$#a]}print+x"C*", at a}';s/x/pack+/g;eval




More information about the Kclug mailing list