Skip to content

Instantly share code, notes, and snippets.

View ErfanEbrahimnia's full-sized avatar
🎯
Focusing

Erfan Ebrahimnia ErfanEbrahimnia

🎯
Focusing
  • Salzburg, Austria
View GitHub Profile
@paulirish
paulirish / rAF.js
Last active November 11, 2024 03:20
requestAnimationFrame polyfill
// http://paulirish.com/2011/requestanimationframe-for-smart-animating/
// http://my.opera.com/emoller/blog/2011/12/20/requestanimationframe-for-smart-er-animating
// requestAnimationFrame polyfill by Erik Möller. fixes from Paul Irish and Tino Zijdel
// MIT license
(function() {
var lastTime = 0;
var vendors = ['ms', 'moz', 'webkit', 'o'];
@jaydenseric
jaydenseric / ffmpeg-web-video-guide.md
Last active November 12, 2024 21:24
A quick guide to using FFmpeg to create cross-device web videos.

Video conversion with FFmpeg

Install

On mac:

  1. Download the latest release.
  2. Extract the binary and place it in /usr/local/bin.

Command basics