When someone sends a PDF that’s too huge, just navigate to the directory, and run this command: gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/prepress -dNOPAUSE -dQUIET -dBATCH -sOutputFile=name_of_compressed_OUTPUT_file.pdf name_of_UNcompressed_INPUT_file.pdf For even smaller files and lower resolution of 150dpi, just change the /prepress part to /ebook SPEED TIP: to quickly get the path in your terminal so you can cd to it quickly, just…
Category: Ubuntu
How to fix a damaged PDF file in Ubuntu
How to fix a damaged PDF file in Ubuntu…
My Journey to Nymea (land)
Edit: Feb 6, 2023 – Nymea has recently launched version 1.6 which appears to have added / adjusted at least some of my ‘positive criticism’ comments below so some may no longer be relevant. Further, be advised always to go to the official nymea.io documentation for the latest and greatest instructions. My stuff is just to go alongside with it.…
How to do DMARC, SPF and BIMI settings (and other stuff) in Digital Ocean DNS settings
SECOND EDIT: DEC 12, 2022 FIRST EDIT DATE: Sept 1, 2022 I had a hard time with this one for some reason. My email provider (Webnames) has an email setup page which showed the SPF records without quotations. Even their tech support told me not to use quotations in the txt file entries in my server! I guess they hadn’t…
HOW TO VIEW AND CHANGE PRESTASHOP MYSQL TABLES IN UBUNTU SERVER
Learn a bit of MySQL while we manually force Prestashop to point to a new domain…
HOW TO VIEW AND CHANGE PRESTASHOP MYSQL TABLES IN UBUNTU SERVER
When your prestashop keeps pointing to the old domain….
Giving a Remote Dev Firm SSH Access to your Ubuntu Server
How to share quick (but not super secure) SSH access to Ubuntu server…
NMAP Quick Guide Ubuntu
Quick guide to nmap on Ubuntu
How to Reformat or Repurpose an Encrypted Hard Drive
Repurpose an encrypted drive so it’s useful again…
How to make HP Laserjet 1000 work on Ubuntu 20.04
my updated notes on getting an hp laserjet1000 working on ubuntu…