Skip to content

Instantly share code, notes, and snippets.

Dan Church h3xx

Block or report user

Report or block h3xx

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
@h3xx
h3xx / README.md
Last active Aug 3, 2018 — forked from ryotarai/README.md
git-commit && change committer and author automatically
View README.md

git-commit-auto

  1. Clone
$ git clone http://gist.github.com/5675296.git /path/to/somewhere
$ echo 'export PATH="/path/to/somewhere:$PATH"' >> ~/.bashrc
$ source ~/.bashrc
@h3xx
h3xx / gifsicle_remove2.sh
Created Jul 28, 2017 — forked from aug2uag/gifsicle_remove2.sh
remove every second frame of GIF with gifsicle
View gifsicle_remove2.sh
#!/bin/bash
# This script will take an animated GIF and delete every other frame
# Accepts two parameters: input file and output file
# Usage: ./<scriptfilename> input.gif output.gif
# Make a copy of the file
cp $1 $2
echo "copy completed"
# Get the number of frames
numframes=`gifsicle $1 -I | grep -P "\d+ images" --only-matching | grep "[0-9][0-9]*" --only-matching`
You can’t perform that action at this time.