Revision3.com Shows Schedule Inside Revision3 Store


Go Back   Revision3 Forums > Computing > BSD / Linux / Unix

Reply
 
Thread Tools Search this Thread Display Modes

  #1  
Old 12-11-2009, 12:20 PM
computoman
 
Posts: n/a
Default Geek Xmas?

Santa Claus is Coming To Geek Town

better !pout !cry
better watchout
lpr why
santa claus town

cat /etc/passwd >list
ncheck list
ncheck list
cat list | grep naughty >nogiftlist
cat list | grep nice >giftlist
santa claus town

who | grep sleeping
who | grep awake
who | grep bad || good
for (goodness sake) {
be good
}
Reply With Quote
  #2  
Old 12-11-2009, 12:39 PM
tokenuser's Avatar
tokenuser
Cranky Old Mod
 
Join Date: Jul 2005
Location: Lost in States
Posts: 15,083
Status: Offline
Default

RFC968 - Twas the night before start-up

Network Working Group V. Cerf
Request for Comments: 968 MCI
December 1985

'Twas the Night Before Start-up'

STATUS OF THIS MEMO

This memo discusses problems that arise and debugging techniques used
in bringing a new network into operation. Distribution of this memo
is unlimited.

DISCUSSION

Twas the night before start-up and all through the net,
not a packet was moving; no bit nor octet.
The engineers rattled their cards in despair,
hoping a bad chip would blow with a flare.
The salesmen were nestled all snug in their beds,
while visions of data nets danced in their heads.
And I with my datascope tracings and dumps
prepared for some pretty bad bruises and lumps.
When out in the hall there arose such a clatter,
I sprang from my desk to see what was the matter.

There stood at the threshold with PC in tow,
An ARPANET hacker, all ready to go.
I could see from the creases that covered his brow,
he'd conquer the crisis confronting him now.
More rapid than eagles, he checked each alarm
and scrutinized each for its potential harm.

On LAPB, on OSI, X.25!
TCP, SNA, V.35!

His eyes were afire with the strength of his gaze;
no bug could hide long; not for hours or days.
A wink of his eye and a twitch of his head,
soon gave me to know I had little to dread.
He spoke not a word, but went straight to his work,
fixing a net that had gone plumb berserk;
And laying a finger on one suspect line,
he entered a patch and the net came up fine!

The packets flowed neatly and protocols matched;
the hosts interfaced and shift-registers latched.
He tested the system from Gateway to PAD;
not one bit was dropped; no checksum was bad.
At last he was finished and wearily sighed
and turned to explain why the system had died.
I twisted my fingers and counted to ten;
an off-by-one index had done it again...

Vint Cerf
December 1985
__________________
“Simplicity is the ultimate sophistication.” - Leonardo da Vinci
"I am a firm believer in the people. If given the truth they can be depended upon to meet any national crisis. The great point is to bring them the real facts...and beer." - Abraham Lincoln
"... connect the dots instead of assembling a jigsaw puzzle." - Wil Wheaton
Reply With Quote
  #3  
Old 12-11-2009, 07:48 PM
guytheninja's Avatar
guytheninja
Elite Member
 
Join Date: Jun 2008
Location: Sweet Home, AL
Posts: 1,245
Status: Offline
Default

Quote:
Originally Posted by computoman View Post
for (goodness sake) {
be good
}
This part confuses me ---> being good for goodness sake.

Would it be like?

Code:
int i;
for(i=0; i<=GoodnessSake; i++) {

     BeGood();

}
or

Code:
int i;
for( ; ; ){

     BeGood();

}
Do you perform a potentially infinite number of good things for goodness sake --- or a set finite number.
__________________
Revision3Fans Folding@Home Team Member

Last edited by Guytheninja : 12-11-2009 at 07:48 PM.
Reply With Quote
  #4  
Old 12-11-2009, 07:58 PM
tokenuser's Avatar
tokenuser
Cranky Old Mod
 
Join Date: Jul 2005
Location: Lost in States
Posts: 15,083
Status: Offline
Default

As a shell script, the syntax is fine.

If you are going to be good, you should keep being good for goodness sake.

Of course, once you hit a "certain age", you find out about Santa Claus, and the process gets killed
__________________
“Simplicity is the ultimate sophistication.” - Leonardo da Vinci
"I am a firm believer in the people. If given the truth they can be depended upon to meet any national crisis. The great point is to bring them the real facts...and beer." - Abraham Lincoln
"... connect the dots instead of assembling a jigsaw puzzle." - Wil Wheaton
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump



All times are GMT. The time now is 08:21 PM.

Rev3 Forum RSS


© 2005-2010 Revision3 Corporation