Jump to content

The last poster wins


TheCalliton

Recommended Posts

Finally, it's done! I think Thor will like it, he was the one asking for it.

 

I finished a script that, once executed, prints one to five random error messages. For now I don't have too many errors to print (14), still looking. A test run pic:

Screenshot%20from%202013-06-21%2014%3A04

The script is pretty darn simple:

#!/bin/bash
cd $(dirname $0)
echo "Scanning system..."
sleep 5
echo "
WARNING! The following errors were found:
"
cat data | sort --random-sort | head -n $(shuf -i 1-5 -n 1)
Now I just need to add more errors and find a way to port it over to Windows. :thumbsup:
Link to comment
Share on other sites

Finally, it's done! I think Thor will like it, he was the one asking for it.

 

I finished a script that, once executed, prints one to five random error messages. For now I don't have too many errors to print (14), still looking. A test run pic:

Screenshot%20from%202013-06-21%2014%3A04

The script is pretty darn simple:

#!/bin/bash
cd $(dirname $0)
echo "Scanning system..."
sleep 5
echo "
WARNING! The following errors were found:
"
cat data | sort --random-sort | head -n $(shuf -i 1-5 -n 1)
Now I just need to add more errors and find a way to port it over to Windows. :thumbsup:

 

 

 

Omg please don't I have enough problems with windows and microsoft in general...

Link to comment
Share on other sites

Omg please don't I have enough problems with windows and microsoft in general...

There's never enough problems with Windows and Microsoft, the problems just multiply. Just like mother in law, Windows is very buggy and those are hardcoded so you can't get rid of them. Mine are at least funny. :yes:

 

And that's why I don't have Windows or any other Microsoft product any more, all replaced by Debian and open-source software. No bugs so far, and I run the testing distribution instead of stable. :happy:

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...