Skip to content

Instantly share code, notes, and snippets.

💭
working...

pechkin

💭
working...
Block or report user

Report or block pechkin

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View htmlbars.md

A future version of Ember will come with a new templating engine known as HTMLBars.

The original motivation for HTMLBars was to allow helpers and properties to have better contextual information about what they were bound to.

So for example, consider a template like this:

<a href="{{url}}">{{link}}</a>
@pwenzel
pwenzel / ffmpeg-mkv-to-mp4.sh
Last active Feb 15, 2020
MKV and AVI to MP4 Conversion for Apple TV
View ffmpeg-mkv-to-mp4.sh
# See also https://trac.ffmpeg.org/wiki/Encode/AAC
# direct copy
ffmpeg -i input.mkv -c:v copy -c:a copy output.mp4
# direct copy video, but convert audio to AAC with default variable bit rate
ffmpeg -i input.mkv -c:v copy -c:a aac -strict experimental output.mp4
# direct copy video, but convert audio to AAC with constant bit rate
ffmpeg -i input.mkv -c:v copy -c:a aac -strict experimental -b:a 320k output.mp4
You can’t perform that action at this time.