Permalink
Browse files

Initial commit

  • Loading branch information...
lexszero committed Jan 14, 2011
0 parents commit 93324942b6da0d3d5863a4aad2ffbc0c8b04d359
Showing with 3,124 additions and 0 deletions.
  1. +3 −0 2-ch.ru/2ch
  2. +30 −0 2-ch.ru/wakaba_search_image.sh
  3. +26 −0 allcdcovers.com/grab.sh
  4. +4 −0 bugmenot.com/bugmenot
  5. +27 −0 codepad.org/cdp
  6. +1,108 −0 counter.li.org/machine-update
  7. BIN danbooru.donmai.us/danbooru-v7sh-grabber-v0.10.18.tar.gz
  8. +2 −0 downforeveryoneorjustme.com/dfeojm
  9. +2 −0 dump.bitcheese.net/dump
  10. +64 −0 ehentai.org/grab.sh
  11. +1 −0 google.com/google
  12. +214 −0 hpaste.org/hpaste.py
  13. +2 −0 hugeurl.com/hugeurl
  14. +5 −0 iichan.ru/iichan-thread-download.sh
  15. +4 −0 iichan.ru/iichan-thread-download_v1.1.sh
  16. +20 −0 iichan.ru/imgboard-get-check.py
  17. +47 −0 iichan.ru/imgboard-thread-pic-download.py
  18. +73 −0 imageshack.us/imageshack_upload.sh
  19. +15 −0 jabber.ru/jruloggrep
  20. +2 −0 last.fm/grab-lastfm-userpic
  21. +41 −0 last.fm/lastfm.pl
  22. +37 −0 last.fm/lastfm.pl.2
  23. +46 −0 last.fm/lastfm.pl.4
  24. +42 −0 last.fm/lastfmpost
  25. +576 −0 last.fm/mplayer-lastfm
  26. +2 −0 mailinator.com/mailibox
  27. +2 −0 mailinator.com/mailidomain
  28. +8 −0 mailinator.com/mailinator
  29. +6 −0 mailinator.com/mailiread
  30. +3 −0 myip.ru/myip
  31. +3 −0 nethack.alt.org/nethack
  32. +4 −0 omploader.org/omp
  33. +156 −0 omploader.org/ompload
  34. +361 −0 pornotube.com/pornotube-dl
  35. +3 −0 prostopleer.com/prostomplayer
  36. +9 −0 prostopleer.com/prostosearch
  37. +3 −0 prostopleer.com/prostourl
  38. +16 −0 radikal.ru/radikal.sh
  39. +2 −0 rghost.ru/drghost
  40. +2 −0 rghost.ru/drghost.1
  41. +11 −0 rghost.ru/urghost
  42. +10 −0 savefrom.net/savefrom
  43. +3 −0 thatguywiththeglasses.com/thatguywiththeglasses
  44. 0 tinyarro.ws/tinyarrows
  45. +8 −0 translate.google.com/gtr
  46. +23 −0 tutmp3.net/tutmp3
  47. +3 −0 vkontakte.ru/jpg2vkjpg
  48. +9 −0 vkontakte.ru/listen
  49. +13 −0 vkontakte.ru/vkfindaudio
  50. +29 −0 vkontakte.ru/vkfindaudio.pl
  51. +10 −0 vkontakte.ru/vklogin
  52. +13 −0 vkontakte.ru/vkvideo.pl
  53. +17 −0 vkontakte.ru/vkvideo_best.pl
  54. +2 −0 whatthecommit.com/whatthecommit
  55. +2 −0 縮.jp/japshort
@@ -0,0 +1,3 @@
#!/bin/sh
wget -r -I '*/src/' -R '*.html' -nd "$1"
@@ -0,0 +1,30 @@
#!/bin/bash
if [ -z "$1" ]; then
echo "usage: $0 <img_url> [last_page]"
exit 1
fi
HOST=`awk -F/ '{print $3}' <<< "$1"`
BOARD=`awk -F/ '{print $4}' <<< "$1"`
IMAGE=`basename "$1"`
if [ "$2" ]; then
PAGES=`eval echo {0.."$2"}`
else
PAGES="0 1 2 3"
fi
for page in $PAGES; do
url="http://$HOST/$BOARD/"
if [ "$page" -ne "0" ]; then url="$url$page.html"; fi
echo "Extracting threads from $url..."
threads=`curl -s "$url" | \
sed 's@<hr />@\n@g' | \
sed -n "s@.*\[<a href=\"\([^\"]\+\)\">Ответ</a>\].*@http://$HOST\1@p"`
echo "Searching image..."
for thread in $threads; do
if [ "`curl -s \"$thread\" | fgrep -o \"$IMAGE\"`" ]; then
echo "*** Found in $thread"
exit
fi
done
done
@@ -0,0 +1,26 @@
#!/bin/bash
[ ! "$1" ] && { echo "USAGE: $0 <Artist> - <Album Name>"; exit; };
urlencode() {
(
IFS="";
cat | od -t x1 -v |
sed 's/^[0-9]*//g;s/[[:space:]]\{1,\}/%/g;s/[%]*$//g;' |
while read -r line; do
printf "%s" "${line}";
done;
return 0;
)
};
sstring="$@";
url="http://www.allcdcovers.com/search/all/all/$(echo "$sstring" | urlencode)/1";
links="$(wget -O- "$url" | sed -n '/<td class="expander">/{s/.*//g;N;s|<a href="\([^"]*\)">[^<]*</a>|http://www.allcdcovers.com\1 |g;s,\(<[/]*td>\||\),,g;p}')";
for link in $links; do
wget -O- "$link" | sed -n '/download.gif/{s|.*href="\(/download/[^"]*\)".*|http://www.allcdcovers.com\1|g;p}';
done | while read line; do
wget -c "$line" -O "${line##*/}.jpg";
done;
@@ -0,0 +1,4 @@
#!/bin/sh
# cli-interface to the bugmenot.com
curl -s "http://www.bugmenot.com/view/$1?utm_source=extension&utm_medium=firefox" -A "Firefox" |
perl -ne 's/.*<tr><th>(Username|Password).*<td>(.*)<\/td>.*/\2/ and print'
@@ -0,0 +1,27 @@
#!/bin/sh
if [ "x$1" = "x" ]; then
lang="Plain Text"
else
case "$1" in
c) lang="C";;
c*) lang="C%2B%2B";;
d) lang="D";;
h*) lang="Haskell";;
lua) lang="Lua";;
py*) lang="Python";;
p*) lang="Perl";;
r*) lang="Ruby";;
l*) lang="Scheme";;
t*) lang="Tcl";;
*) lang="Plain Text";;
esac
fi
code=`curl -d "lang=$lang&private=True&submit=Submit" \
--data-urlencode "code@-" \
--silent \
http://codepad.org | \
sed -n "s|.*found at <a.*>\(.*\)</a>.*|\1|p"`
echo "http://codepad.org$code"
Oops, something went wrong.

0 comments on commit 9332494

Please sign in to comment.