Skip to content

Instantly share code, notes, and snippets.

View flesch's full-sized avatar

John Flesch flesch

View GitHub Profile
@flesch
flesch / LICENSE.txt
Created August 22, 2012 21:28 — forked from 140bytes/LICENSE.txt
str2seq: Text to Binary
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Copyright (C) 2012 John Flesch <http://fles.ch/>
Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
@flesch
flesch / LICENSE.txt
Created August 22, 2012 21:29 — forked from 140bytes/LICENSE.txt
seq2str: Binary to Text
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Copyright (C) 2012 John Flesch <http://fles.ch/>
Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
@flesch
flesch / mkv2mp4.sh
Last active August 29, 2015 14:10 — forked from ravnoor/mkv2mp4.sh
Convert Matroska MKV to iTunes compatible MP4 format for Airplay streaming on AppleTV. (http://git.io/mkv2mp4)
#!/bin/bash
# brew install libav
# curl -fsSL http://git.io/mkv2mp4sh | sh
for mkv in *.mkv; do
mp4="$(basename --suffix=.mkv "$mkv").mp4"
avconv -i "$mkv" -c:v copy -c:a aac -strict experimental -threads auto "$mp4"
done