Skip to content

Instantly share code, notes, and snippets.

View botsmack's full-sized avatar

Richard Watt botsmack

View GitHub Profile
@botsmack
botsmack / gist:1d3d06fe937257b394a5
Created November 20, 2015 23:41 — forked from saetia/gist:1623487
Clean Install – OS X 10.11 El Capitan

OS X Preferences


most of these require logout/restart to take effect

# Enable character repeat on keydown
defaults write -g ApplePressAndHoldEnabled -bool false

# Set a shorter Delay until key repeat
#!/bin/bash
#
# transcode-video.sh
#
# Copyright (c) 2013 Don Melton
#
# This script is a wrapper for `HandBrakeCLI` (see: <http://handbrake.fr/>).
# The purpose of this script is to transcode a video file into a format and
# size similar to a video available for download from the iTunes Store.
#
@botsmack
botsmack / encode.sh
Last active December 18, 2015 22:19 — forked from lisamelton/encode.sh
#!/bin/bash
# encode.sh
#
# Copyright (c) 2013 Don Melton
#
# This version published on June 7, 2013.
#
# Re-encode video files in a format suitable for playback on Apple TV, Roku 3,
# iOS, OS X, etc.