scripts

misc scripts and tools
git clone git://git.2f30.org/scripts
Log | Files | Refs

commit 1a2fb59326847d5869e10ee07b00da01e694de96
parent 444b37eec7faf0db2bb922361207dad35ca4d888
Author: lostd <lostd@2f30.org>
Date:   Mon, 12 Aug 2013 01:48:32 +0300

this has no place here

Diffstat:
Dsuicide | 44--------------------------------------------
1 file changed, 0 insertions(+), 44 deletions(-)

diff --git a/suicide b/suicide @@ -1,44 +0,0 @@ -#!/bin/sh - -echo "A PROGRAMMATICAL GUIDE TO SUICIDE" - -sudo mkdir /hell -sudo chmod 777 /hell -export CVSROOT=/hell -cvs init -mkdir tmp && cd tmp -cvs import -m 'help me' misery self stageone -cd .. && rmdir tmp -cvs checkout misery && cd misery - -cat > suicide.c << THISWAY -/* one-way program */ - -#include <stdlib.h> - -#define SOUL 0 -#define MAXPAIN 666 - -int -main(void) -{ - short *suffer; - double suffering; - unsigned int pain; - - suffer = malloc(MAXPAIN * sizeof (*suffer)); - - for (pain = 0; pain < MAXPAIN; pain++) - suffer[pain] = 1; - - if (suffer[MAXPAIN - 1] == 1) - suffering = 1; /* double suffering */ - - free(suffer); - - return (SOUL); -} -THISWAY - -cvs add suicide* -cvs commit -m 'sorry' suicide*