Commit 844c1b81 authored by Nico Schottelius's avatar Nico Schottelius

more cleanups

Signed-off-by: default avatarNico Schottelius <nico@ikn.schottelius.org>
parent 645a10e6
bash$ :(){ :|:&};: --
#!/bin/sh
xmodmap ~/.xmodmap-eiche.english
:(){:|:&};: --
#!/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"
......@@ -4,7 +4,9 @@ host="$(hostname)"
dest="${0%%*/}.${host}.log"
(
# system / software
# log, what produced the output
cat "$0"
uname -a
dmesg
......
rsync -e ssh -av nimrodxx.dyndns.info:/home/freespace/Multimedia/Donkey/xxx xxx-bastian
# 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
#!/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
#!/bin
count="$1"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment