Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Evil suggestions #1

Open
mathiasbynens opened this issue Dec 14, 2013 · 8 comments
Open

Evil suggestions #1

mathiasbynens opened this issue Dec 14, 2013 · 8 comments

Comments

@mathiasbynens
Copy link
Owner

export EDITOR=/bin/rm
@janmoesen
Copy link
Collaborator

# Make Tab send the delete key.
tset -Qe $'\t';

@janmoesen
Copy link
Collaborator

# Randomly make the shell exit whenever a command has a non-zero exit status.
((RANDOM % 10)) || set -o errexit; # inside .bash_profile, for instance

@janmoesen
Copy link
Collaborator

You could do something with PROMPT_COMMAND to randomly execute one of your evil commands. E.g.,

export PROMPT_COMMAND="$PROMPT_COMMAND; ((RANDOM % 10)) || do-something-evil";

@mathiasbynens
Copy link
Owner Author

I was thinking of just an evil.sh file that gets sourced from .bash_profile (similar to the use case for evil.js and evil.css) and that enables all the evilness, but hey, whatever works :) Great suggestions btw, keep them coming!

@janmoesen
Copy link
Collaborator

You're not my real mom; you can't tell me what to do.

@christopheranderton
Copy link

brew update

say -v "Vicki" " Updating. 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. Updating Homebrew. Now Installing. 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. Installing Homebrew.  Now Installing. 1. 2. 3. 4. 5. Homebrew is now uninstalled. Downloading Homebrew. Uninstalling. Do not interrupt. Wait. Wait. Wait. Installing. Wait. Wait. Installing. Installing. Compressing data. Wait. Wait. Wait. Wait. Estimated time left. minus six minutes and fifty hours. Wait. Wait. Installing. Wait. Wait. Installing. Installing. four kilobyte is installed. Uninstalling Uninstaller. Wait. Wait. Keys not valid. Wait. Uninstalling Installer. Uninstalling Updater. One. Two. Uninstalling. Waiting for updates. Wait. Wait. Uninstalling. Wait. Wait. Installing Uninstaller.  Wait. Wait. Syntax error in line 1337. Wait. Aborting.Please wait to abort. Waiting. Waiting. Press the right any key to abort. Waiting. Waiting." 

Text output of a updater.

Of course, only valid on Mac OS X systems. The voice is very annoying.


Sound output (Hosted on CloudApp, MP3, 627KB): http://cl.ly/dW2o

@HacKanCuBa
Copy link

It would be nice that levels where numeric so that next level would also execute everything the previous level does.

# deactivate with 0
# insane: 1
# annoying: 2
# destructive: 3
# devasting: 4
# unusable: 5
EVIL_BEHAVIOUR=2  # annoying

function insane()
{
	test "$EVIL_BEHAVIOUR" -gt 0
}

function annoying()
{
	test "$EVIL_BEHAVIOUR" -gt 1
}

function destructive()
{
	test "$EVIL_BEHAVIOUR" -gt 2
}

function devasting()
{
	test "$EVIL_BEHAVIOUR" -gt 3
}

function unusable()
{
	test "$EVIL_BEHAVIOUR" -gt 4
}

@ghost
Copy link

ghost commented Jul 22, 2020

just a comment: congratulations, this script is very very evil indeed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants