by bburky · 10y ago · 0 comments
https://gist.github.com/bburky/40317e6375b1262b1a1fc31072acf...
Just use it as a User Data file on DigitalOcean or elsewhere.
Edit: After doing this, I realized coursera-dl has a Docker script already. You may prefer it: https://github.com/coursera-dl/coursera-dl/tree/master/deplo...
curl "https://news.ycombinator.com/item?id=11881767" | grep -Po "[a-zA-Z0-9-]*-0\d{2}" | sort | uniq
better: curl "https://news.ycombinator.com/item?id=11881767" | grep -Po "[a-zA-Z0-9-]*-0\d{2}" | sort | uniq | awk '{print "# " $0}'
You might might want to update your script :)