Skip to content

Instantly share code, notes, and snippets.

@psyphyaudio
psyphyaudio / servicename.sh
Created August 2, 2024 06:26 — forked from bluebycode/servicename.sh
Service init script + Mono + Executable. servicename <start|stop|status> #bash #initscript #services #mono
service="servicename"
exe="Service.exe"
mono=/usr/local/bin/mono
logs_path=logs
pid_file="/var/run/services/$service.pid"
get_pid() {
cat "$pid_file"
}

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?