Skip to content

Instantly share code, notes, and snippets.

CD Cabrera cdcabrera

Block or report user

Report or block cdcabrera

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@cdcabrera
cdcabrera / README.md
Last active Jul 9, 2017
LSOF kill processes associated with a port
View README.md

Process Kill

Basic kill for those times you just can't seem to stop a process. Originally written to help stop Node processes.

Basic Use

The script has a couple of options. Use a "port"

@cdcabrera
cdcabrera / post-commit
Last active Aug 29, 2015
GitShots, take a snapshot when you commit.
View post-commit
#!/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:
You can’t perform that action at this time.