tinypic() { HOMEPAGE=`curl -silent 'http://it.tinypic.com'` ID=`echo $HOMEPAGE | grep "UPLOAD_IDENTIFIER" | sed -e 's/.*value=\(\".*\"\).*/\1/' | sed -e 's/\"//g'` UPK=`echo $HOMEPAGE | grep "upk" | sed -e 's/.*value=\(\".*\"\).*/\1/' | sed -e 's/\"//g'` PAGE=`curl -silent -F UPLOAD_IDENTIFIER=$ID -F upk=$UPK -F domain_lang=it -F action=upload -F MAX_FILE_SIZE=500000000 -F the_file=@$1 -F description=tinypic -F file_type=image -F dimension=1600 http://s4.tinypic.com/upload.php | grep '