Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - Krazed

Pages: 1 ... 5 6 [7]
92
General Discussion / Name poll
« on: June 18, 2005, 01:51:55 pm »
No text.

93
General Discussion / Name change.
« on: June 16, 2005, 10:43:31 pm »
I dropped the ch and added an s, bitches.


This is the last name change, ever, so don't complain.



Note: Updated contact information.


Battle.net: Arson[x86]
AIM: Crims0nVisi0n
E-Mail: stevenjh at optonline dot net (No spam.  :P)
IRC: Arson at #x86 on irc.betaproductions.net / 6667

94
[x86] Announcements / Welcome RoMi!
« on: June 15, 2005, 05:47:21 pm »
I'd like to welcome romi to the clan.

There is currently 17 active members, which would make him need about 12 votes to join.
Vote Results: 12-1-2
                      (Y-N-A)

95
Backstabbing / The Official Replay Thread
« on: June 14, 2005, 01:34:59 pm »
Post your favorite replays here.

Just to start us off, this replay is nothing special.. It's just me and wires backstabbing some kids. Wires did mostly everything, because it was my first time playing in a few years.


[Link:] http://prodigy.x86labs.org:187/~steven/replay1.rep

96
Unix / Linux Discussion / Text Editors
« on: June 14, 2005, 09:27:13 am »
What's your preference when it comes to text editors in linux?

I use pico, and sometimes, barley ever, emacs.

97
General Discussion / Let's hear it!
« on: June 12, 2005, 08:59:30 pm »
Let's hear about any random thing that happens in your life, yes, that's right. Post, now.




Thing: [*snatch*]


Rabbit, don't edit my posts.

98
[x86] Announcements / x86 on IRC
« on: May 24, 2005, 11:05:42 pm »
For those of you that didn't know, x86 has been on IRC, for months. I've recently seen some of you idling #vl, and have NEVER seen you in our IRC channel, that's just lame.

Anyway....

Server: irc.tehnetwork.org:6667

Channel: #x86


Note: If you're going to be as immature as is seen sometimes in the channel, and on these forums. Stick to the battle.net channel and don't even waste our time by coming to the channel. <3

99
General Discussion / [SH] Shell scripting
« on: May 22, 2005, 11:51:00 pm »
I've recently, (today) gotten into shell scripting. I've written three scripts today, I'll post them here and let you guys discuss them.

We'll start with helloworld.sh.

Code: [Select]
#!/bin/bash

echo "Hello world bash script!"
echo "Writen by krazed of x86!"
echo "The first of many. :P"

#this script is pointless, shush.
#what directory are we in!?

pwd

#what's in this directory!?

ls

#and, what's the uptime on this boxs?

uptime

#how about the processes being ran?

ps -aux

#Okay, that's all for today, 'folks.
#Written by krazed of x86.
#E-Mail: krazedx86@gmail.com
#AIM: krazedx86

This is called cmdlisting.sh. It takes the contents of the command directorys and lists them into three different .txt files.

Code: [Select]
#!/bin/bash

echo "Command listing bash script."
echo "Purpose: Copy your command lists to three different text files."

# First, we start off with /usr/bin, the default commands.

ls /usr/bin > defaultcommands.txt
echo "Contents of /usr/bin written to defaultcommands.txt"
echo " "

# Okay, now we have copied the contents of /usr/bin into the file defaultcommands.txt, Next!
# Now, time for /bin, the system commands.

ls /bin > systemcommands.txt
echo "Contents of /bin written to systemcommands.txt"
echo " "

# Okay, contents of /bin are now in systemcommands.txt
# Let's move on to /usr/X11/bin, the X windows programs.

ls /usr/X11/bin > xwincommands.txt
echo "Contents of /usr/X11/bin written to xwincommands.txt"
echo " "

# Alright, last but not least, let's list your installed programs. /usr/local/bin

ls /usr/local/bin > installedprograms.txt
echo "Contents of /usr/local/bin written to installedprograms.txt"
echo " "
echo "Script executed, no errors, not bad for my second script ever, eh?"

# Okay, that's the script for yah.
# It's not too bad for my second script ever.
# This script written by krazed of the x86 crew.
# We're on IRC at irc.tehnetwork.org:6667 #x86.
# E-Mail: krazedx86@gmail.com AIM: krazedx86

And, this is the third one. This one is actually pretty nifty, it's me experimenting with ANSI color codes, and scripting in color.

Code: [Select]
#!/bin/bash

# A small shell script written so I could fuck around
# and get the hang of coding with colors in shell scripts.

# A full list of all the ANSI color codes.
#1m     -     Change text to hicolour (bold) mode
#4m     -        "    "   "  Underline (doesn't seem to work)
#5m     -        "    "   "  BLINK!!
#8m     -        "    "   "  Hidden (same colour as bg)
#30m    -        "    "   "  Black
#31m    -        "    "   "  Red
#32m    -        "    "   "  Green
#33m    -        "    "   "  Yellow
#34m    -        "    "   "  Blue
#35m    -        "    "   "  Magenta
#36m    -        "    "   "  Cyan
#37m    -        "    "   "  White
#40m    -     Change Background to Black
#41m    -        "       "      "  Red
#42m    -        "       "      "  Green
#43m    -        "       "      "  Yellow
#44m    -        "       "      "  Blue
#45m    -        "       "      "  Magenta
#46m    -        "       "      "  Cyan
#47m    -        "       "      "  White
#49m    -        "       "      "  Default background
#7m     -     Change to Black text on a White bg
#0m     -     Turn off all attributes.

echo -e "\x1B[34;49m This is blue text on default background."
echo -e "\x1B[32;49m This is green text on default background."
echo -e "\x1B[37;42m This is white text on green background."

# This script written by krazed of the x86 crew.
# We're on IRC at irc.tehnetwork.org:6667 #x86.
# E-Mail: krazedx86@gmail.com AIM: krazedx86

I re-wrote cmdlisting.sh so I could practice getting color codes down. So here it is, the new and improved, cmdlistingv2.

Code: [Select]
#!/bin/bash

echo -e "\x1B[34;49m" "Command listing bash script, version2. Rewritten 05/22/05."
echo -e "\x1B[34;49m" "Purpose: Copy your command lists to four different text files."
echo " "

# First, we start off with /usr/bin, the default commands.

ls /usr/bin > defaultcommands.txt
echo -e "\x1B[31;49m" "Contents of /usr/bin written to defaultcommands.txt"
echo " "

# Okay, now we have copied the contents of /usr/bin into the file defaultcommands.txt, Next!
# Now, time for /bin, the system commands.

ls /bin > systemcommands.txt
echo -e "\x1B[31;49m" "Contents of /bin written to systemcommands.txt"
echo " "

# Okay, contents of /bin are now in systemcommands.txt
# Let's move on to /usr/X11/bin, the X windows programs.

ls /usr/X11/bin > xwincommands.txt
echo -e "\x1B[31;49m" "Contents of /usr/X11/bin written to xwincommands.txt"
echo " "

# Alright, last but not least, let's list your installed programs. /usr/local/bin

ls /usr/local/bin > installedprograms.txt
echo -e "\x1B[31;49m" "Contents of /usr/local/bin written to installedprograms.txt"
echo " "
echo -e "\x1B[34;49m" "Script executed."
echo -e "\x1B[0m"

# Okay, that's the script for yah.
# This script written by krazed of the x86 crew.
# Script rewritten so I could fuck with color codes.
# We're on IRC at irc.tehnetwork.org:6667 #x86.
# E-Mail: krazedx86@gmail.com AIM: krazedx86

100
General Discussion / Deaf/Blind Spin-off.
« on: April 27, 2005, 08:50:11 pm »
This is a spinoff of the last topic..

What would you do if you woke up tommorow morning and you were deaf?

What would you do if you woke up tommorow morning and you were blind?

Answer seperatley.

101
General Discussion / Animals!
« on: April 26, 2005, 11:24:44 am »
Do you have pictures of your pretty pretty animals??? I have a bunch of animals, but this ones my favorite.. (It gets all the chicks.  ;))


www.x86labs.org/~steve/images-real-life/dakota

Sorry about the HUGE pictures, but eh, you'll live. :)

102
Entertainment District / Sin City
« on: April 15, 2005, 10:12:18 am »
Overall... 5-6/10... This was one fucked up movie.

The effects and the overall movie was pretty cool. The plot was sorta fucked up and wierd. It was a really cool movie to go see, I'm trying to remember who I saw it with.. Oh right, keelin and jesse... Yeah, anyway, It was crazy, and cool.

103
General Discussion / The post your picture thread.
« on: April 15, 2005, 09:39:11 am »
Yeah, this should probably be in general, but, fuck you. :)

Post your pictures...

This is me, 2 years ago.

http://www.x86labs.org/~steve/images-real-life/wheelie.JPG

This is me, 4 months ago.

http://www.x86labs.org/~steve/images-real-life/steven.jpg

Note: Use [ url ] [ /url ] tags. Don't use [ img ] [ /img ].
Oh, and only post IF you have pictures.  :)

Pages: 1 ... 5 6 [7]