This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/printer -dNOPAUSE -dQUIET -dBATCH -sOutputFile=output.pdf input.pdf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# install openssl 1.1 next to current openssl@3 | |
brew install [email protected] | |
# install python 2.7 with openssl 1.1 | |
LDFLAGS="-L/opt/homebrew/opt/[email protected]/lib" CPPFLAGS="-I/opt/homebrew/opt/[email protected]/include" pyenv install 2.7.18 | |
# install package which needs openssl libs | |
LDFLAGS="-L/opt/homebrew/opt/[email protected]/lib" CPPFLAGS="-I/opt/homebrew/opt/[email protected]/include" pip install -r requirements.txt | |
OlderNewer