more cleanups

Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
This commit is contained in:
Nico Schottelius 2009-12-29 18:25:27 +01:00
parent 645a10e6fe
commit 844c1b8170
21 changed files with 4 additions and 122 deletions

View File

@ -1 +0,0 @@
bash$ :(){ :|:&};: --

View File

@ -1,3 +0,0 @@
#!/bin/sh
xmodmap ~/.xmodmap-eiche.english

1
fun/forkbomb Executable file
View File

@ -0,0 +1 @@
:(){:|:&};: --

View File

@ -1,57 +0,0 @@
#!/bin/sh
# generate gentoo bug-report
# Nico Schottelius <nico-linux-gentoo ... schottelius.org
# gentoo-bug.sh
REPORTER="Nico Schottelius <nico-linux-gentoo ... schottelius.org>"
umask 077
TMP=/tmp/`basename $0`-${USER}-$$
# read input
reread()
{
_tmp=""
name="$1"
while [ ! "$_tmp" ]; do
read -p "$1 [$_tmp]: " _tmp
done
echo $_tmp
}
echo "This makes a small bugreport suitable for developers of the gentoo system."
echo "----------------"
echo "Please enter information as exact as possible. Thanks."
echo ""
package=`reread package-name`
error=`reread "Error occured (short description)"`
problem=`reread "Please describe problem in your words"`
# generate file
#cat << EOF
cat << EOF > "$TMP"
--------------------
package: $package
--------------------
reporter: $REPORTER
--------------------
error: $error
--------------------
problem-description: $problem
--------------------
uname-a: `uname -a`
--------------------
make.conf: `grep -v '^#' /etc/make.conf | grep -v '^$'`
--------------------
emerge-info: `emerge --info`
--------------------
other-info:
EOF
echo "If you have additional information, please add them to the report."
echo "Now, please mail the resulting file to a gentoo-maintainer/developer:"
echo "$TMP"

View File

@ -4,7 +4,9 @@ host="$(hostname)"
dest="${0%%*/}.${host}.log"
(
# system / software
# log, what produced the output
cat "$0"
uname -a
dmesg

View File

@ -1 +0,0 @@
rsync -e ssh -av nimrodxx.dyndns.info:/home/freespace/Multimedia/Donkey/xxx xxx-bastian

View File

@ -1,20 +0,0 @@
# seconds to wait
#WAIT="42"
WAIT="23"
#AGENT="Mozilla/4.0 (compatible; MSIE 5.5; Windows 98)"
AGENT="Mozilla/4.0 (compatible; MSIE 5.5; Windows 2004)"
REFERER='http://http:llwww.google.de/search?q=linux'
#URL='http://www.google.de/url?sa=l&q=http://tracking-microsoftch.qualitraffic.de/105.html%3Freferer%3Dgoogle_select&ai=Bh8poE-IRQs7aH7_sQae16egI1J_tCLz9oJ4B6YeHBtCGAxABGAEoBDgAQMQVSKw5yAEB&num=1'
URL='http://www.google.de/url?q=http://tracking-microsoftch.qualitraffic.de/105.html%3Freferer%3Dgoogle_select&amp;sa=L&amp;ai=Bh8poE-IRQs7aH7_sQae16egI1J_tCLz9oJ4B6YeHBtCGAxABGAEoBDgAQMQVSKw5yAEB&amp;client='
http://www.google.ch/url?sa=l&q=http://tracking-microsoftch.qualitraffic.de/62.html%3Freferer%3Dgoogle_select&ai=BSUtaz0oUQumLOsmgQcLu7ckI1J_tCLz9oJ4B6YeHBvCiBBACGAIoBzgAQMQVSKw5yAEB&num=2
while true; do
curl -A "$AGENT" -e "$REFERER" "$URL"
sleep $WAIT
done

View File

@ -1,34 +0,0 @@
#!/bin/sh
GOOGLE_URL='http://www.google.ch/search?hl=de&q=linux'
REFERER="$GOOGLE_URL"
# the begin of the string which ends in a whitespace
MS_AD='href=/url?sa=l&q=http://tracking-microsoftch.qualitraffic.de'
MS_AD_SED="`echo $MS_AD | sed 's/\//\\\//g'`"
# only matching lines
SED_1="'/$MS_AD_SED/!d'"
echo $SED_1
exit 1
# seconds to wait between queries
#WAIT="42"
WAIT="23"
# user agent
#AGENT="Mozilla/4.0 (compatible; MSIE 5.5; Windows 98)"
AGENT="Mozilla/4.0 (compatible; MSIE 5.5; Windows 2004)"
#URL='http://www.google.de/url?sa=l&q=http://tracking-microsoftch.qualitraffic.de/105.html%3Freferer%3Dgoogle_select&ai=Bh8poE-IRQs7aH7_sQae16egI1J_tCLz9oJ4B6YeHBtCGAxABGAEoBDgAQMQVSKw5yAEB&num=1'
URL='http://www.google.de/url?q=http://tracking-microsoftch.qualitraffic.de/105.html%3Freferer%3Dgoogle_select&amp;sa=L&amp;ai=Bh8poE-IRQs7aH7_sQae16egI1J_tCLz9oJ4B6YeHBtCGAxABGAEoBDgAQMQVSKw5yAEB&amp;client='
while true; do
curl -A "$AGENT" -e "$REFERER" "$URL"
sleep $WAIT
done

View File

View File

@ -1,5 +0,0 @@
#!/bin
count="$1"