Hacker News new | past | comments | ask | show | jobs | submit login

    function jpgto(){
      local jptkeyword=$1;
      local jptpath=$2;
      curl -silent -F keyword=$jptkeyword -F file="@$jptpath" jpg.to/finish.php >> /dev/null;
      echo "http://jpg.to/$jptkeyword";
    }


    [you@home]$ jpgto kittay /path/to/cat.jpg
jpgto bash function! Now with no error checking for worry free performance!! :p https://gist.github.com/1878588

EDIT: it outputs the vote link because we don't know if you have the top img for that tag.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: