misc - animeshtrivedi/notes GitHub Wiki

Add ebook cover for epub

https://manual.calibre-ebook.com/edit.html

https://manual.calibre-ebook.com/edit.html#adding-a-cover You can easily add a cover to the book via Tools → Add cover. This allows you to either choose an existing image in the book as the cover or import a new image into the book and make it the cover. When editing EPUB files, the HTML wrapper for the cover is automatically generated. If an existing cover in the book is found, it is replaced. The tool also automatically takes care of correctly marking the cover files as covers in the OPF.

Old

https://www.superhi.com/blog/how-to-start-a-startup-without-ruining-your-life


Cluster ssh configuration for windows alignment (in ~/.clusterssh/config):

#screen_reserve_bottom=60
screen_reserve_left=100
#screen_reserve_right=0
screen_reserve_top=50
...
terminal_reserve_bottom=50
terminal_reserve_left=5
terminal_reserve_right=5
terminal_reserve_top=5

http://jeffhuang.com/best_paper_awards.html


https://askubuntu.com/questions/113544/how-can-i-reduce-the-file-size-of-a-scanned-pdf-file

gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/screen -dNOPAUSE -dQUIET -dBATCH -sOutputFile=output.pdf input.pdf
  • -dPDFSETTINGS=/screen lower quality, smaller size.
  • -dPDFSETTINGS=/ebook for better quality, but slightly larger pdfs.
  • -dPDFSETTINGS=/prepress output similar to Acrobat Distiller "Prepress Optimized" setting
  • -dPDFSETTINGS=/printer selects output similar to the Acrobat Distiller "Print Optimized" setting
  • -dPDFSETTINGS=/default selects output intended to be useful across a wide variety of uses, possibly at the expense of a larger output file
⚠️ **GitHub.com Fallback** ⚠️