View rotate.py
from PIL import Image, ImageOps | |
import sys | |
import glob | |
import os | |
import piexif | |
if len(sys.argv) != 3: | |
print("usage: rotate.py [input-dir] [output-dir]") | |
exit(1) |
View fish_install.sh
# Bash script for installing Fish Shell on systems without root access | |
# Fish Shell will be installed in $HOME/local/bin | |
# It's assumed that wget and a C/C++ compiler are installed | |
set -e # exit on error | |
FISH_VER=3.0.2 | |
mkdir -p $HOME/local $HOME/fish_shell_tmp # create our directories | |
cd $HOME/fish_shell_tmp | |
wget http://github.com/fish-shell/fish-shell/releases/download/${FISH_VER}/fish-${FISH_VER}.tar.gz # download source files for Fish Shell |