Skip to content

Instantly share code, notes, and snippets.

View raftheunis87's full-sized avatar

Raf Theunis raftheunis87

View GitHub Profile
@raftheunis87
raftheunis87 / encoding-video.md
Created April 11, 2018 06:44 — forked from Vestride/encoding-video.md
Encoding video for the web

Encoding Video

Installing

Install FFmpeg with homebrew. You'll need to install it with a couple flags for webm and the AAC audio codec.

brew install ffmpeg --with-libvpx --with-libvorbis --with-fdk-aac --with-opus
@raftheunis87
raftheunis87 / android_instructions_27.md
Last active March 2, 2018 13:47 — forked from agrcrobles/android_instructions_29.md
Setup Android Development Environment on a Mac

Prerequisites:

  • XCode is installed (via the App Store)
  • XCode Command Line Tools are installed (xcode-select --install in Terminal/iTerm)
  • Java

Install Homebrew:

/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

Make sure the doctor is happy (do what it tells you):

/**
* ================== angular-ios9-uiwebview.patch.js v1.1.0 ==================
*
* This patch works around iOS9 UIWebView regression that causes infinite digest
* errors in Angular.
*
* The patch can be applied to Angular 1.2.0 – 1.4.5. Newer versions of Angular
* have the workaround baked in.
*
* To apply this patch load/bundle this file with your application and add a