Groundspeak Forums: SwineFlew's Private Thread - Groundspeak Forums

Jump to content

  • (2 Pages)
  • +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

SwineFlew's Private Thread

#1 User is offline   knowschad 

  • Charter Nobody
  • Group: +Premium Members
  • Posts: 17421
  • Joined: 20-May 05

Posted 16 June 2012 - 05:43 PM

:ph34r:

#2 User is offline   WRASTRO 

  • Space Dog Walker
  • Group: +Premium Members
  • Posts: 3109
  • Joined: 26-December 03

Posted 16 June 2012 - 07:07 PM

~

#3 User is offline   Dgwphotos 

  • Covington, WA
  • Group: +Premium Members
  • Posts: 1798
  • Joined: 03-October 05

Posted 17 June 2012 - 04:26 PM

|

#4 User is offline   thistleRacers 

  • Spatial Tea
  • Group: +Premium Members
  • Posts: 112
  • Joined: 08-April 10

Posted 17 June 2012 - 04:39 PM

^

#5 User is offline   cache_test_dummies 

  • Already gone
  • Group: +Premium Members
  • Posts: 3243
  • Joined: 17-January 03

Posted 17 June 2012 - 04:46 PM

°-°

#6 User is offline   knowschad 

  • Charter Nobody
  • Group: +Premium Members
  • Posts: 17421
  • Joined: 20-May 05

Posted 17 June 2012 - 04:50 PM

!

#7 User is offline   thistleRacers 

  • Spatial Tea
  • Group: +Premium Members
  • Posts: 112
  • Joined: 08-April 10

Posted 17 June 2012 - 05:00 PM



#8 User is offline   Dgwphotos 

  • Covington, WA
  • Group: +Premium Members
  • Posts: 1798
  • Joined: 03-October 05

Posted 17 June 2012 - 07:36 PM

*.*

#9 User is offline   Lady Loki 

  • Geocacher
  • Group: +Premium Members
  • Posts: 137
  • Joined: 29-May 08

Posted 17 June 2012 - 07:37 PM

&

#10 User is offline   thistleRacers 

  • Spatial Tea
  • Group: +Premium Members
  • Posts: 112
  • Joined: 08-April 10

Posted 17 June 2012 - 07:47 PM

§

#11 User is offline   knowschad 

  • Charter Nobody
  • Group: +Premium Members
  • Posts: 17421
  • Joined: 20-May 05

Posted 17 June 2012 - 07:53 PM

()

#12 User is offline   Lady Loki 

  • Geocacher
  • Group: +Premium Members
  • Posts: 137
  • Joined: 29-May 08

Posted 17 June 2012 - 08:29 PM

(

#13 User is offline   coggins 

  • MAGC Member
  • Group: +Premium Members
  • Posts: 2481
  • Joined: 17-February 06

Posted 17 June 2012 - 08:47 PM

(=^ェ^=)

#14 User is offline   Dgwphotos 

  • Covington, WA
  • Group: +Premium Members
  • Posts: 1798
  • Joined: 03-October 05

Posted 17 June 2012 - 09:18 PM

/dev/null

#15 User is offline   WRASTRO 

  • Space Dog Walker
  • Group: +Premium Members
  • Posts: 3109
  • Joined: 26-December 03

Posted 17 June 2012 - 09:45 PM

{'}

#16 User is offline   knowschad 

  • Charter Nobody
  • Group: +Premium Members
  • Posts: 17421
  • Joined: 20-May 05

Posted 18 June 2012 - 05:32 AM

E=mc2

#17 User is offline   CacheNCarryMA 

  • Geocacher
  • Group: +Premium Members
  • Posts: 1727
  • Joined: 15-November 02

Posted 18 June 2012 - 05:34 AM

O_o

#18 User is offline   knowschad 

  • Charter Nobody
  • Group: +Premium Members
  • Posts: 17421
  • Joined: 20-May 05

Posted 18 June 2012 - 05:39 AM

][][][


[Edited to fix typo]
[Edited for brevity]

This post has been edited by knowschad: 18 June 2012 - 05:42 AM


#19 User is offline   thistleRacers 

  • Spatial Tea
  • Group: +Premium Members
  • Posts: 112
  • Joined: 08-April 10

Posted 18 June 2012 - 05:40 AM

®

#20 User is offline   knowschad 

  • Charter Nobody
  • Group: +Premium Members
  • Posts: 17421
  • Joined: 20-May 05

Posted 18 June 2012 - 06:12 AM

@..@
(----)

#21 User is offline   coggins 

  • MAGC Member
  • Group: +Premium Members
  • Posts: 2481
  • Joined: 17-February 06

Posted 18 June 2012 - 07:32 AM

☆〜(ゝ。∂)

#22 User is offline   thistleRacers 

  • Spatial Tea
  • Group: +Premium Members
  • Posts: 112
  • Joined: 08-April 10

Posted 18 June 2012 - 07:34 AM



#23 User is offline   Sioneva 

  • Strangelet
  • Group: +Premium Members
  • Posts: 1725
  • Joined: 03-January 06

Posted 18 June 2012 - 09:05 AM

\|/
/|\

#24 User is offline   knowschad 

  • Charter Nobody
  • Group: +Premium Members
  • Posts: 17421
  • Joined: 20-May 05

Posted 18 June 2012 - 09:19 AM

.

This post has been edited by knowschad: 18 June 2012 - 09:21 AM


#25 User is offline   SwineFlew 

  • Nobody
  • Group: +Premium Members
  • Posts: 2347
  • Joined: 23-September 09

Posted 18 June 2012 - 09:50 AM

 

              _ _ _ _ 
            /'        /|
           /         / |_
          /         /  //|
         /_________/  ////|
        |   _ _    | 8o////|
        | /'// )_  |   8///|
        |/ // // ) |   8o///|
        / // // //,|  /  8//|
       / // // /// | /   8//|
      / // // ///__|/    8//|
     /.(_)// /// |       8///|
    (_)' `(_)//| |       8////|___________
   (_) /_\ (_)'| |        8///////////////
   (_) \"/ (_)'|_|         8/////////////
    (_)._.(_) d' Hb         8oooooooopb'
      `(_)'  d'  H`b
            d'   `b`b
           d'     H `b
          d'      `b `b
         d'           `b
        d'             `b



#26 User is offline   Dgwphotos 

  • Covington, WA
  • Group: +Premium Members
  • Posts: 1798
  • Joined: 03-October 05

Posted 18 June 2012 - 10:36 AM

sudo chmod 700 "SwineFlew's Private Thread"

This post has been edited by Dgwphotos: 18 June 2012 - 10:36 AM


#27 User is offline   knowschad 

  • Charter Nobody
  • Group: +Premium Members
  • Posts: 17421
  • Joined: 20-May 05

Posted 18 June 2012 - 10:54 AM

View PostDgwphotos, on 18 June 2012 - 10:36 AM, said:

sudo chmod 700 "SwineFlew's Private Thread"


sudo chmod go+x "SwineFlew's Private Thread"

#28 User is offline   Dgwphotos 

  • Covington, WA
  • Group: +Premium Members
  • Posts: 1798
  • Joined: 03-October 05

Posted 18 June 2012 - 11:07 AM

View Postknowschad, on 18 June 2012 - 10:54 AM, said:

View PostDgwphotos, on 18 June 2012 - 10:36 AM, said:

sudo chmod 700 "SwineFlew's Private Thread"


sudo chmod go+x "SwineFlew's Private Thread"

I think you have to give the permissions separately, i.e. g+x,o+x, when assigning permissions in that manner.

#29 User is offline   thistleRacers 

  • Spatial Tea
  • Group: +Premium Members
  • Posts: 112
  • Joined: 08-April 10

Posted 18 June 2012 - 11:10 AM

View PostDgwphotos, on 18 June 2012 - 11:07 AM, said:

View Postknowschad, on 18 June 2012 - 10:54 AM, said:

View PostDgwphotos, on 18 June 2012 - 10:36 AM, said:

sudo chmod 700 "SwineFlew's Private Thread"


sudo chmod go+x "SwineFlew's Private Thread"

I think you have to give the permissions separately, i.e. g+x,o+x, when assigning permissions in that manner.

http://www.washingto...ermissions.html

#30 User is offline   hzoi 

  • When in doubt -- bushwhack!
  • Group: +Premium Members
  • Posts: 1751
  • Joined: 23-February 07

Posted 18 June 2012 - 11:13 AM

10 PRINT "DON'T POST HERE, THIS IS SWINEFLEW'S PRIVATE THREAD"
20 GOTO 10
30 END


#31 User is offline   Dgwphotos 

  • Covington, WA
  • Group: +Premium Members
  • Posts: 1798
  • Joined: 03-October 05

Posted 18 June 2012 - 11:15 AM

View PostthistleRacers, on 18 June 2012 - 11:10 AM, said:

View PostDgwphotos, on 18 June 2012 - 11:07 AM, said:

View Postknowschad, on 18 June 2012 - 10:54 AM, said:

View PostDgwphotos, on 18 June 2012 - 10:36 AM, said:

sudo chmod 700 "SwineFlew's Private Thread"


sudo chmod go+x "SwineFlew's Private Thread"

I think you have to give the permissions separately, i.e. g+x,o+x, when assigning permissions in that manner.

http://www.washingto...ermissions.html

Ok, it can be done both ways.

#32 User is offline   knowschad 

  • Charter Nobody
  • Group: +Premium Members
  • Posts: 17421
  • Joined: 20-May 05

Posted 18 June 2012 - 11:19 AM

View Posthzoi, on 18 June 2012 - 11:13 AM, said:

10 PRINT "DON'T POST HERE, THIS IS SWINEFLEW'S PRIVATE THREAD"
20 GOTO 10
30 END



You could dispense with the last line. (line numbering and GOTOs? :unsure:)

This post has been edited by knowschad: 18 June 2012 - 11:20 AM


#33 User is offline   Dgwphotos 

  • Covington, WA
  • Group: +Premium Members
  • Posts: 1798
  • Joined: 03-October 05

Posted 18 June 2012 - 11:25 AM

BRB

This post has been edited by Dgwphotos: 18 June 2012 - 11:25 AM


#34 User is offline   knowschad 

  • Charter Nobody
  • Group: +Premium Members
  • Posts: 17421
  • Joined: 20-May 05

Posted 18 June 2012 - 11:26 AM

while ( true ) 
{  
     printf("DON'T POST HERE, THIS IS SWINEFLEW'S PRIVATE THREAD");
 }

This post has been edited by knowschad: 18 June 2012 - 11:30 AM


#35 User is offline   Dgwphotos 

  • Covington, WA
  • Group: +Premium Members
  • Posts: 1798
  • Joined: 03-October 05

Posted 18 June 2012 - 11:28 AM

#!/bin/bash
#This script checks users to see if they are SwineFlew and can post in this thread.

echo "What is your user name?"
read USERNAME
if [$USERNAME = "SwineFlew" ]
then
echo "You can post in this thread!"
else
echo "You cannot post here, this thread is SwineFlew's Private Thread!
fi
exit 0

This post has been edited by Dgwphotos: 18 June 2012 - 11:29 AM


#36 User is offline   hzoi 

  • When in doubt -- bushwhack!
  • Group: +Premium Members
  • Posts: 1751
  • Joined: 23-February 07

Posted 18 June 2012 - 11:32 AM

I only know HTML and BASIC. So sue me.

The "END" line, FYI, was troll bait.

#37 User is offline   knowschad 

  • Charter Nobody
  • Group: +Premium Members
  • Posts: 17421
  • Joined: 20-May 05

Posted 18 June 2012 - 11:35 AM

View Posthzoi, on 18 June 2012 - 11:32 AM, said:

I only know HTML and BASIC. So sue me.

The "END" line, FYI, was troll bait.


Leave it to a lawyer.

B)

#38 User is offline   thistleRacers 

  • Spatial Tea
  • Group: +Premium Members
  • Posts: 112
  • Joined: 08-April 10

Posted 18 June 2012 - 11:38 AM

Posted Image

This post has been edited by thistleRacers: 18 June 2012 - 11:43 AM


#39 User is offline   knowschad 

  • Charter Nobody
  • Group: +Premium Members
  • Posts: 17421
  • Joined: 20-May 05

Posted 18 June 2012 - 11:46 AM

Posted Image

#40 User is offline   coggins 

  • MAGC Member
  • Group: +Premium Members
  • Posts: 2481
  • Joined: 17-February 06

Posted 18 June 2012 - 03:21 PM

☆*:.。. o(≧▽≦)o .。.:*☆

#41 User is offline   Sioneva 

  • Strangelet
  • Group: +Premium Members
  • Posts: 1725
  • Joined: 03-January 06

Posted 19 June 2012 - 01:09 PM

View PostDgwphotos, on 18 June 2012 - 11:28 AM, said:

#!/bin/bash
#This script checks users to see if they are SwineFlew and can post in this thread.

echo "What is your user name?"
read USERNAME
if [$USERNAME = "SwineFlew" ]
then
echo "You can post in this thread!"
else
echo "You cannot post here, this thread is SwineFlew's Private Thread!
fi
exit 0


Shouldn't it be if [$USERNAME == "SwineFlew" ] ?
You want a comparision, not an assignation - the way you have it now, ANYONE can post in this thread.

#42 User is offline   Dgwphotos 

  • Covington, WA
  • Group: +Premium Members
  • Posts: 1798
  • Joined: 03-October 05

Posted 19 June 2012 - 01:41 PM

View PostSioneva, on 19 June 2012 - 01:09 PM, said:

View PostDgwphotos, on 18 June 2012 - 11:28 AM, said:

#!/bin/bash
#This script checks users to see if they are SwineFlew and can post in this thread.

echo "What is your user name?"
read USERNAME
if [$USERNAME = "SwineFlew" ]
then
echo "You can post in this thread!"
else
echo "You cannot post here, this thread is SwineFlew's Private Thread!
fi
exit 0


Shouldn't it be if [$USERNAME == "SwineFlew" ] ?
You want a comparision, not an assignation - the way you have it now, ANYONE can post in this thread.

It's an If, Then, Else statement. If you meet this condition, then you can post in this thread. If you don't meet this condition, then you cannot post in this thread. Of course, it doesn't actually prevent anyone from posting here, because that would be managed by permissions. But the script would display the messages correctly as as it is written. I'll try it on a virtual Linux machine later.

#43 User is offline   Sioneva 

  • Strangelet
  • Group: +Premium Members
  • Posts: 1725
  • Joined: 03-January 06

Posted 19 June 2012 - 02:25 PM

View PostDgwphotos, on 19 June 2012 - 01:41 PM, said:

View PostSioneva, on 19 June 2012 - 01:09 PM, said:

View PostDgwphotos, on 18 June 2012 - 11:28 AM, said:

#!/bin/bash
#This script checks users to see if they are SwineFlew and can post in this thread.

echo "What is your user name?"
read USERNAME
if [$USERNAME = "SwineFlew" ]
then
echo "You can post in this thread!"
else
echo "You cannot post here, this thread is SwineFlew's Private Thread!
fi
exit 0


Shouldn't it be if [$USERNAME == "SwineFlew" ] ?
You want a comparision, not an assignation - the way you have it now, ANYONE can post in this thread.

It's an If, Then, Else statement. If you meet this condition, then you can post in this thread. If you don't meet this condition, then you cannot post in this thread. Of course, it doesn't actually prevent anyone from posting here, because that would be managed by permissions. But the script would display the messages correctly as as it is written. I'll try it on a virtual Linux machine later.



:) I know, I'm a programmer. At least in Perl, you'd have to use ==, but I'm not sure if your shell script needs that.

#44 User is offline   knowschad 

  • Charter Nobody
  • Group: +Premium Members
  • Posts: 17421
  • Joined: 20-May 05

Posted 19 June 2012 - 02:30 PM

View PostDgwphotos, on 19 June 2012 - 01:41 PM, said:

View PostSioneva, on 19 June 2012 - 01:09 PM, said:

View PostDgwphotos, on 18 June 2012 - 11:28 AM, said:

#!/bin/bash
#This script checks users to see if they are SwineFlew and can post in this thread.

echo "What is your user name?"
read USERNAME
if [$USERNAME = "SwineFlew" ]
then
echo "You can post in this thread!"
else
echo "You cannot post here, this thread is SwineFlew's Private Thread!
fi
exit 0


Shouldn't it be if [$USERNAME == "SwineFlew" ] ?
You want a comparision, not an assignation - the way you have it now, ANYONE can post in this thread.

It's an If, Then, Else statement. If you meet this condition, then you can post in this thread. If you don't meet this condition, then you cannot post in this thread. Of course, it doesn't actually prevent anyone from posting here, because that would be managed by permissions. But the script would display the messages correctly as as it is written. I'll try it on a virtual Linux machine later.


In some languages, "=" is only a assignation symbol. In some, it can also be a conditional. Some languages require "==" to make a comparison. I have no idea which way bash works.

#45 User is offline   SwineFlew 

  • Nobody
  • Group: +Premium Members
  • Posts: 2347
  • Joined: 23-September 09

Posted 19 June 2012 - 02:33 PM

Whats the topic in my private thread? :wub:

#46 User is offline   knowschad 

  • Charter Nobody
  • Group: +Premium Members
  • Posts: 17421
  • Joined: 20-May 05

Posted 19 June 2012 - 02:43 PM

View PostSioneva, on 19 June 2012 - 02:25 PM, said:

View PostDgwphotos, on 19 June 2012 - 01:41 PM, said:

View PostSioneva, on 19 June 2012 - 01:09 PM, said:

View PostDgwphotos, on 18 June 2012 - 11:28 AM, said:

#!/bin/bash
#This script checks users to see if they are SwineFlew and can post in this thread.

echo "What is your user name?"
read USERNAME
if [$USERNAME = "SwineFlew" ]
then
echo "You can post in this thread!"
else
echo "You cannot post here, this thread is SwineFlew's Private Thread!
fi
exit 0


Shouldn't it be if [$USERNAME == "SwineFlew" ] ?
You want a comparision, not an assignation - the way you have it now, ANYONE can post in this thread.

It's an If, Then, Else statement. If you meet this condition, then you can post in this thread. If you don't meet this condition, then you cannot post in this thread. Of course, it doesn't actually prevent anyone from posting here, because that would be managed by permissions. But the script would display the messages correctly as as it is written. I'll try it on a virtual Linux machine later.



:) I know, I'm a programmer. At least in Perl, you'd have to use ==, but I'm not sure if your shell script needs that.


I wish you were having this conversation with SwineFlew instead. I'd love the chance to make a Perl before Swine pun.

#47 User is offline   Dgwphotos 

  • Covington, WA
  • Group: +Premium Members
  • Posts: 1798
  • Joined: 03-October 05

Posted 19 June 2012 - 03:28 PM

Here you go!

Posted Image

#48 User is offline   knowschad 

  • Charter Nobody
  • Group: +Premium Members
  • Posts: 17421
  • Joined: 20-May 05

Posted 19 June 2012 - 04:36 PM

!

#49 User is offline   knowschad 

  • Charter Nobody
  • Group: +Premium Members
  • Posts: 17421
  • Joined: 20-May 05

Posted 22 June 2012 - 07:08 PM

?????

#50 User is offline   knowschad 

  • Charter Nobody
  • Group: +Premium Members
  • Posts: 17421
  • Joined: 20-May 05

Posted 23 June 2012 - 05:45 PM

Posted Image

Share this topic:


  • (2 Pages)
  • +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic