The Web as I envisaged it, we have not seen it yet. The future is still so much bigger than the past.. – Tim Berners-Lee – Inventor of the World Wide Web
Just a collection of useful little things ..
Just because I can’t recall it all.. on here it goes..
Mac OSX: Extract the 1st page of each pdf in a collection of them as an image
This little CLI snippet has to be executed in the directory where you have your collection of pdf’s. It uses sips to extract the first page some each pdf and maintains the full filename. It just appends the new extension. Source: https://stackoverflow.com/questions/53496654/convert-a-pdf-to-images-using-sips
find . -name "*.pdf" -exec sips -s format png {} -Z 512 --out {}.png \;
Google Drive: Embedding a Google Drive image in a web page
The standard share link will not work. You will have to change the link to make the picture appear as an embedded image in a html page.
https://drive.google.com/file/d/[image_id]/view?usp=sharing
… needs to be changed to something like …
https://drive.google.com/uc?export=view&id=[image_id]
Source: https://dev.to/temmietope/embedding-a-google-drive-image-in-html-3mm9