ssh tunnel

Posted on November 13th, 2002 in code by skip

ssh user@host -L localport:destip:destport

smash car

Posted on November 11th, 2002 in rant by skip

if [ rain + yellow stoplight + overpass ] ;then [road = slick++] && car = smash ;fi

wait i want to make one more…

while [rain] && [yellow stoplight] && [downhill]
do if [try to stop]
then [car=smashed]
(insurance++)
fi
(slick++)
done

killall

Posted on November 11th, 2002 in code by skip

#!/bin/bash
## script by skip

if [[ $1 ]] ;then
if [[ -f /var/run/$1 ]] ;then
for i in `cat /var/run/$1` ;do kill $i 1>/dev/null 2>/dev/null
done ; fi
for i in `ps ax |grep $1 |awk ‘{print $1}’` ;do kill $i 1>/dev/null 2>/dev/null
done
else echo “usage: killall ” ;fi

for i in *

Posted on November 11th, 2002 in code by skip

for i in * ;do echo $i ;cat $i |grep -B5 -i cisco ;done

hot or not

Posted on November 1st, 2002 in rant by skip