Skip to content

Instantly share code, notes, and snippets.

View adrianb93's full-sized avatar
🍝
Somebody touch'ah my spaghet!

Adrian Brown adrianb93

🍝
Somebody touch'ah my spaghet!
View GitHub Profile
@jvenator
jvenator / gist:9672772a631c117da151
Last active June 14, 2024 13:31
PDFtk Server Install Workaround for Mac OS X

Installing PDFtk Server edittion on your Mac

This workaround install is necessary because PDFtk was pulled from homebrew-cask due to issues with it aggressively overwriting file permissions that could impact other installed libraries. See this homebrew-cask issue.
The following steps worked on Mac OS X 10.10.1 with a standard brew installation for the PDFtk Mac OS X server libary version 2.02.
All Terminal commands separated by a full line space. Some commands wrap into multiple lines.

Download and extract the Mac OS X server install pacakge

# try to figure out simple multi php install
# https://www.npmjs.com/package/switch-php (yarn or npm - your choice)
yarn global add switch-php
# npm install --global switch-php
for version in 7.0 7.1 7.2
do
brew reinstall php@$version