Skip to content

Instantly share code, notes, and snippets.

View misiek08's full-sized avatar
😁
Hacking for performance and less resources usage!

Michał Idzikowski misiek08

😁
Hacking for performance and less resources usage!
View GitHub Profile
@misiek08
misiek08 / ffmpeg.md
Created April 15, 2019 17:40 — forked from dvlden/ffmpeg.md
Convert video files to MP4 through FFMPEG

This is my personal list of functions that I wrote for converting mov files to mp4!

Command Flags

Flag Options Description
-codec:a libfaac, libfdk_aac, libvorbis Audio Codec
-quality best, good, realtime Video Quality
-b:a 128k, 192k, 256k, 320k Audio Bitrate
-codec:v mpeg4, libx264, libvpx-vp9 Video Codec
@misiek08
misiek08 / 0-README.md
Created December 6, 2018 23:40 — forked from Overbryd/0-README.md
Cloudflare Fragment Caching

Cloudflare fragment rendering/caching

This worker script will evaluate your origin response, and replace html comments marked as fragment:key with a respective prefetch defined in a X-Fragments response header.

Usage

Your origin must include the X-Fragments header, specifying the a comma separated list of prefetch requests to make for that response.

< HTTP/1.1 200 OK