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
Generally, all APIs that synchronously provide layout metrics will trigger forced reflow / layout. Read on for additional cases and details.
|// This gist is now maintained on github at https://github.com/luetkemj/wp-query-ref|
|* WordPress Query Comprehensive Reference|
|* Compiled by luetkemj - luetkemj.github.io|
|* CODEX: http://codex.wordpress.org/Class_Reference/WP_Query#Parameters|
|* Source: https://core.trac.wordpress.org/browser/tags/4.9.4/src/wp-includes/query.php|
A simple script with a few niceties that allows for multiple
requestAnimationFrame calls, and FPS pinning.
The script polyfills rAF if required, then overloads
cancelAnimationFrame with a process that allows multiple frames to be queued up for rAF to run.
This is useful if there are multiple animations running on the page, you want all the callbacks to happen at once, and not on multiple rAF calls. This script is meant as a drop-in solution to that problem.
|ffmpeg -i input.mp4 -vcodec libx264 -pix_fmt yuv420p -profile:v baseline -level 3 -an -vf "scale=-1:1440, reverse" -preset veryslow -g 2 output.mp4|
|// -vcodec libx264 -pix_fmt yuv420p -profile:v baseline -level 3|
|// Encode for web with a good balance of browser compatibility and compression ratio|
|// Strip audio tracks|
|// -vf "scale=-1:1440, reverse"|
|// Scale video to 1440px wide, maintaining aspect ratio|
Below is the list of modern JS frameworks and almost frameworks – React, Vue, Angular, Ember and others.
All files were downloaded from https://cdnjs.com and named accordingly.
ls command is stripped out (irrelevant stuff)
$ ls -lhS 566K Jan 4 22:03 angular2.min.js