Skip to content

Instantly share code, notes, and snippets.

@cemerson
cemerson / archive.org-scanned-book-downloader-bookmarklet.md
Last active April 24, 2025 13:30
Archive.org Scanned Book Downloader Bookmarklet

Archive.org Scanned Book Downloader Bookmarklet

A simple "1-click" javascript approach to downloading a scanned book from archive.org to read at your leisure on the device of your choosing w/out having to manually screenshot every pages of the book by hand. In short it's a glorified "Save Image As..." approach but consolidated down to "1 click". BTW there may be a much better option than this out there - I just built this as an autistic project to see if it would work.

Demo Video

Archive.org SBDL Demo

Obligatory Legal/Disclaimer:

By using this script you agree to delete all book files/images after your 1 hour or 14 days is up! I don't support using this script for any other use cases. After all, none of us have ever kept a library book past it's return date, right?

@ilagnev
ilagnev / docker-gc.sh
Last active March 19, 2023 03:06
docker clean up stopped containers and remove unlinked images
#!/usr/bin/sh
# info
docker system df # Show docker disk usage, including space reclaimable by pruning
# automatic clean up
docker system prune # will delete ALL unused data
# (i.e. In order: containers stopped, volumes without containers and images with no containers)
# manual clean up
docker container prune # Remove all stopped containers