1. This forum is in read-only mode.

Spam Thread Mk. III

Discussion in 'Forum Games, Jokes & Random' started by Reider, Dec 20, 2009.

Thread Status:
Not open for further replies.
  1. athemoe

    athemoe Well-Known Member

  2. Jonez001

    Jonez001 Well-Known Member

    Yeah, I need to go in two hours too. For some boring lessons.
     
  3. athemoe

    athemoe Well-Known Member

  4. MiseryLC

    MiseryLC Guest

    They start at 13.30
    not 12.30 like the past 2 weeks
     
  5. Jonez001

    Jonez001 Well-Known Member

  6. athemoe

    athemoe Well-Known Member

    lucky, luck you...
     
  7. Jonez001

    Jonez001 Well-Known Member

    Meh, we end our lessons at 17h45....
     
  8. melfice666

    melfice666 Well-Known Member

  9. Jonez001

    Jonez001 Well-Known Member

    Damn ,I just needed to leave because my lesson starts :/

    Hi Melfice666
     
  10. Suiseiseki

    Suiseiseki Well-Known Member

    Code:
    #!/bin/bash
    filelist=""
    while [ "$filename" != "compute" ]
    do
    echo "Please enter a filename, or "compute" to begin operations."
    read filename
    if [ "$filename" != "compute" ]; then
    if [ -e "$filename" ]; then
    filelist="$filelist $filename"
    echo "$filelist"
    else
    echo "File not found."
    fi
    fi
    done
    totalwords=`wc -w $filelist | awk '{SUM += $1} END {print SUM}'`
    for file in $filelist
    do
    filewords=`wc -w $file | awk '{print $1}'`
    filedetails=`wc -w $file | awk '{print $1}'`
    percent=$((100 * $filewords / $totalwords))
    echo "$file	 $filedetails words	 $percent%"
    done
    exit 0
    I don't like how my lecturer makes me do esoteric shit for assignments. Not bad work for an on-the-fly deal if I do say so myself.
     
  11. Jonez001

    Jonez001 Well-Known Member

    That isn't the language I am learning
     
  12. Suiseiseki

    Suiseiseki Well-Known Member

    It's bash shell scripting for Linux, so I'm not surprised. I haven't seen a single school below tertiary level deal with Linux to any great degree.

    Which I suppose is fair enough in a sense. Not everyone is going to be a network administrator or the like.
     
  13. Reider

    Reider Modereider

    linux made my head hurt. I think that was mostly due to my instructor only allowing us to use the command line though.
     
  14. Void

    Void Well-Known Member

    I took a linux administration class with some guy from one of those crazy-ass not-English countries in Africa or some shit. Couldn't understand a word the fucking guy said, it was hellish.
     
  15. Reider

    Reider Modereider

    My teacher was a programmer with a hardcore alcohol addiction.

    I miss that guy. His absurdly difficult linux class aside, he was a blast.

    I did have a teacher that kinda sort fit the description of your african guy, except she was clearly from India. Only good things about her were her physical assets if you catch my drift.
     
  16. version3

    version3 Is actually KappaMikey in the internet

    I didn't take up Linux at all, feels like a ton of coding and shit.

    Java is too, but w/e
     
  17. Jonez001

    Jonez001 Well-Known Member

    Ahwn I am learning Java at school
     
  18. Stanley Richards

    Stanley Richards Well-Known Member

    http://puu.sh/7yMS

    Fucking finally
     
  19. Genya Arikado

    Genya Arikado Well-Known Member

    http://www.youtube.com/watch?v=HkScpbpz3wo&feature=related
     
  20. Stanley Richards

    Stanley Richards Well-Known Member

    Closet Hindside Pleasure
    Post Merge: [time]1319574894[/time]
    http://www.youtube.com/watch?v=RmRZvqNcIBI
     
Thread Status:
Not open for further replies.