Skip to content

Instantly share code, notes, and snippets.

View floviolleau's full-sized avatar

Florent V. floviolleau

  • Samsic
  • Cesson-Sévigné, France
  • 01:55 (UTC +01:00)
View GitHub Profile
@floviolleau
floviolleau / pihole.md
Created June 12, 2023 20:47 — forked from acoomans/pihole.md
Pi-hole as WiFi AP

SSD card

On the ssd card:

touch ssh

Rasberry Pi

Log in:

@floviolleau
floviolleau / compress_pdf.md
Created March 11, 2019 21:48 — forked from ahmed-musallam/compress_pdf.md
How to compress PDF with ghostscript

How to compress PDF using ghostscript

As a developer, it bothers me when someone sends me a large pdf file compared to the number of pages. Recently, I recieved a 12MB scanned document for just one letter-sized page... so I got to googlin, like I usually do, and found ghostscript!

to learn more abot ghostscript (gs): https://www.ghostscript.com/

What we are interested in, is the gs command line tool, which provides many options for manipulating PDF, but we are interested in compressign those large PDF's into small yet legible documents.

credit goes to this answer on askubuntu forum: https://askubuntu.com/questions/3382/reduce-filesize-of-a-scanned-pdf/3387#3387?newreg=bceddef8bc334e5b88bbfd17a6e7c4f9