Skip to content

Instantly share code, notes, and snippets.

View johnmoxon's full-sized avatar

John Moxon johnmoxon

View GitHub Profile
@tkrotoff
tkrotoff / FrontendFrameworksPopularity.md
Last active November 19, 2025 21:09
Front-end frameworks popularity (React, Vue, Angular and Svelte)
#!/bin/sh
###########################################
# Output file for HTML5 video #
# Requirements: #
# - handbrakecli #
# - ffmpeg #
# - ffmpeg2theora #
# #
# usage: #
@liamcurry
liamcurry / html5video.sh
Created May 14, 2012 20:24 — forked from markupboy/html5video.sh
automated conversion of a file to all three html5 compatible video formats - h.264, ogg, and webm
#!/bin/sh
# Output file for HTML5 video
# requirements: ffmpeg .6+
# usage: ./html5video.sh infile.mp4 640x360
target_directory='converted'
file=`basename $1`
filename=${file%.*}
filepath=`dirname $1`
@mkoby
mkoby / encode_videos.sh
Created February 18, 2012 20:26
Encode video to HTML5 compatible videos
#!/bin/bash
# This shell script will process & encode a single video file, and output 3
# seperate files in the following formats: WebM, Ogg Theora, & h.264 for
# streaming via an HTML5 player.
#
# You'll need ffmpeg, ffmpeg2theora, & HandbrakeCLI installed to run this
# script. ffmpeg and ffmpeg2theora can be installed via Homebrew on a Mac.
# If you're using Ubuntu, use the PPA at
# https://launchpad.net/~jon-severinsson/+archive/ffmpeg
@lucasfais
lucasfais / gist:1207002
Created September 9, 2011 18:46
Sublime Text 2 - Useful Shortcuts

Sublime Text 2 – Useful Shortcuts (Mac OS X)

General

⌘T go to file
⌘⌃P go to project
⌘R go to methods
⌃G go to line
⌘KB toggle side bar
⌘⇧P command prompt
@markupboy
markupboy / html5video.sh
Created February 8, 2011 15:43
automated conversion of a file to all three html5 compatible video formats - h.264, ogg, and webm
#!/bin/sh
####################################
# Output file for HTML5 video #
# Requirements: #
# - handbrakecli #
# - ffmpeg #
# - ffmpeg2theora #
# #
# usage: #