Last active
January 5, 2020 12:17
-
-
Save researcx/2060a4fb6f21adccc26a3ae8799f19fb to your computer and use it in GitHub Desktop.
Download documentation for offline viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Download documentation | |
wget https://docs.python.org/2/archives/python-2.7.15-docs-html.zip | |
wget https://docs.python.org/3/archives/python-3.8.0-docs-html.zip | |
wget https://downloads.mysql.com/docs/refman-8.0-en.html-chapter.zip | |
wget https://www.gnu.org/software/bash/manual/bashref.html | |
wget https://raw.githubusercontent.com/a8m/go-lang-cheat-sheet/master/README.md -O go-lang-cheat-sheet.md | |
wget https://www.golang-book.com/public/pdf/gobook.pdf | |
wget http://zeus.nyf.hu/~bajalinov/my_special/SW/C%23%203.0%20-%20The%20Complete%20Reference%20-%20Herbert%20Schildt.pdf | |
wget http://zeus.nyf.hu/~bajalinov/my_special/SW/C%23%20Bible.pdf | |
wget https://kapeli.com/feeds/zzz/mdn/HTML.tgz | |
wget https://kapeli.com/feeds/zzz/mdn/CSS.tgz | |
wget https://kapeli.com/feeds/zzz/mdn/JavaScript.tgz | |
wget https://kapeli.com/feeds/zzz/mdn/SVG.tgz | |
wget https://kapeli.com/feeds/zzz/mdn/XSLT.tgz | |
wget http://au1.php.net/distributions/manual/php_manual_en.tar.gz | |
wget http://ruby-doc.org/downloads/ruby_2_6_core_rdocs.tgz | |
wget -E -k -K -nd -N -p -np -r -e robots=off -R txt,pdf -P "BYOND DM Guide" http://www.byond.com/docs/guide/ | |
wget -E -k -K -nd -N -p -np -r -e robots=off -R txt,pdf -P "BYOND DM Reference" http://www.byond.com/docs/ref/ | |
# extract archives | |
for filename in *.tgz | |
do | |
tar zxvf $filename | |
done | |
for filename in *.zip | |
do | |
unzip $filename | |
done | |
## remove unneeded fils | |
rm *.tgz | |
rm *.zip |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment