pdf to ps to eps : pdf2ps ps2eps
Mac OSX: Install command line tools: xcode-select --install
Download current OS installer:
softwareupdate --download --fetch-full-installer --full-installer-version 12.4
softwareupdate --list
Clean install MAC OS (make bootable disk)
sudo /Applications/Install\ macOS\ Monterey.app/Contents/Resources/createinstallmedia --volume /Volumes/Untitled
Shut down your Mac.
Press the Power button and hold Command-R.
Wait for about 5 seconds.
This is Recovery Mode. Enter your password.
Click Utilities -- Startup Security Utility.
Under Secure boot, choose Medium security.
Under Allowed boot media, select "Allow booting from external media.
Pdfjam goodies:
pdfjam --landscape --papersize '{8.5in, 11in}' file.pdf 7-23 --outfile out.pdf
EPS to PDF
for i in *.eps; do epstopdf $i ; done
BREW
brew update
brew upgrade
brew install poppler
brew install ps2eps
brew install ghostscript
brew install gsl
brew install gcc
brew install pandoc
brew install --cask mactex
brew install ffmpeg
brew install udunits
(needed for R package units and sf)
Unity: temp folder does not exist by default -- must be created.
export LD_LIBRARY_PATH = $PATH:/usr/local/cuda/lib
mkdir $TMPDIR
RAW to JPG:
for i in *.CR2; do sips -s format jpeg $i --out "${i%.*}.jpg"; done
Resize:
sips -Z 1024 example.png
sips -s format jpeg test.png --out test.jpg
Host rherbei.com
HostKeyAlgorithms +ssh-rsa
PubkeyAcceptedKeyTypes +ssh-rsa
Fix GoPro rotation: exiftool -rotation=0 file.MP4