Basic kill for those times you just can't seem to stop a process. Originally written to help stop Node processes.
The script has a couple of options. Use a "port"
#!/bin/bash | |
# | |
# Where I pulled this from: https://gist.github.com/jellea/3438926 | |
# | |
# This script will make a webcam snapshot every commit. The jpg file will have | |
# the commit id as the filename. | |
# | |
# This script requires imagesnap. Install with: 'brew install imagesnap' | |
# | |
# Put this file in the '.git/hooks/' name it 'post-commit' and chmod it by: |