Skip to content

Instantly share code, notes, and snippets.

View johnl's full-sized avatar

John Leach johnl

View GitHub Profile
@johnl
johnl / mp4.sh
Created July 14, 2017 21:56 — forked from anonymous/mp4.sh
Merge multiple mp4 files as chapters
#! /usr/bin/env bash
####################################################
# Required Libraries
#
# library name | commands used | verified version
# ------------------------------------------------
# ffmpeg | ffmpeg/ffprobe | 3.1.4 3.2
# gpac | MP4Box | 0.6.1
# mp4v2 | mp4chaps | 2.0.0
@johnl
johnl / config.ru
Last active June 17, 2016 10:20 — forked from damien/config.ru
A simple rack middleware to debug the request pipeline
# Usage example
require "inspect_env"
use InspectEnv
run GenericSinatraApp
def method_in_deploy
puts "METHOD IN DEPLOY"
end
task :task_in_deploy do
puts "TASK IN DEPLOY"
end
task :do_before do
puts "BEFORE"