Tag: shell

Merge photos into pdf via cmd

Here's a short function for fish shell I am currently using to merge photos into one pdf and then optimize it to massively reduce the resulting size, for instance from 13MB to 230kB without loosing too much quality. Works for me very well, requires GhostScript and ImageMagick 7 o…

PHP test watcher for MacOS

I was successfully able to use my previous Laravel test watcher for a very long time, while I was on Linux. But now on Mac, it does not work, as mac does not support inotifywait. Mac does however support similar thing, called fswatch, install via Brew: brew install fswatch Howev…