Maybe it’s no longer working
if [ "$result" = "200 OK" ]; then
02 | echo "1 (proxy works)"
|
03 | # Otherwise, we've got a problem (either the HTTP Proxy Server does not work
|
04 | # or the request timed out)
|
05 | |
06 | else
|
07 | echo "0 (proxy does not work or request timed out)"
|
08 | fi
|
09 | |
10 |
1 | curl -s http://www.last.fm/user/$LASTFMUSER | grep -A 1 subjectCell | sed -e 's#<[^>]*>##g' | head -n2 | tail -n1 | sed 's/^[[:space:]]*//g'
| 11 |
01 | #!/bin/bash
| 12 | # Google url shortener bash script
| 13 | # We're fetching the return code and assigning it to the $result variable
| 14 | # http://ggl-shortener.appspot.com/instructions/
| 15 |
| 16 | app='http://ggl-shortener.appspot.com/?url='
| 17 | url="$1"
| 18 | protocol=`echo "$1" | sed -e "/^http:\/\//g"`
| 19 |
| 20 |
|
How to remove an ssh host by name or ip from your authorized hosts file.
echo -e "you need to pass the url through an argument";
| 2 | echo -e "e.g. `basename $0` http://url";
|
Some cat with awk and then sort to find out what ips are most common in your apache access.log file. Remember that all ips are include here. Bots, crawlers, clients…
else
|