the cat eyes have it

September 4, 2017

I needed a cat photo today, and Beau obliged. Taken with the Olympus Pen F and the Panasonic/Leica 25mm wide open. The photo is SOOC (with cropping via Snapseed on my IPhone 7). The black and white highlights are set to +3 and shadows -1.

If you’re playing with Powershell under Mac (see ) you reach a point where you want to quickly install and uninstall Powershell from the command line. Thus, the following two scripts.

First to install;

#!/usr/bin/env bash

file=`ls powershell*`
[ -z "$file" ] && echo "Cannot find powershell installer" || sudo installer -pkg ${file} -target /

Then to uninstall;

#!/usr/bin/env bash

sudo rm -rf /usr/local/bin/powershell /usr/local/microsoft/powershell

You can name these whatever you want (I chose and respectively) and remember to set their permissions respectively. Make sure the install script is in the same directory with the the Powershell dmg file, otherwise you can run the uninstall script from anywhere.