Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Excellent idea! I am investigating how to best do that.


This should submit the commands but not any of the optional questions:

  hist=`history | awk '{print $2}' | sort | uniq -c | sort -rn | head -n 100`; curl --data-urlencode -i -X POST -H 'Content-Type: application/x-www-form-urlencoded; charset=utf-8' -d "draftResponse=%5B%5D%0D%0A&pageHistory=0&entry.194207258=&entry.1414618252=&entry.1080345712=$hist" https://docs.google.com/forms/d/1XNMoSdfYFe_WkPfU--M88oL00PDLIOAo1HxjhZvZYJ4/formResponse


To anyone copying/pasting: the whole command extends far to the right of what's visible.




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

Search: