Skip to content

Instantly share code, notes, and snippets.

View joerodriguez's full-sized avatar

Joseph Rodriguez joerodriguez

  • Expel
  • Boulder, CO
View GitHub Profile
@joerodriguez
joerodriguez / encode.sh
Last active December 28, 2015 20:38 — forked from botsmack/encode.sh
remix with ffmpeg if input is already avc
#!/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.
$('div.toc a').bind('click', function(event) {
go_to_top();
$.get($(this).attr("href"), $(this).serialize(), null, "script");
if ( history.pushState ){ // trying to use this clause to check pushState compability
event.preventDefault();
history.pushState(null, "", this.href); // pushes the URL to link bar
}
return false;