Skip to content

Instantly share code, notes, and snippets.

# Quick start-stop-daemon example, derived from Debian /etc/init.d/ssh
set -e
# Must be a valid filename
#This is the command to be run, give the full pathname
oznek /
Created Apr 2, 2015
Keybase Identity Proof

Keybase proof

I hereby claim:

  • I am oznek on github.
  • I am oznek ( on keybase.
  • I have a public key whose fingerprint is 9760 047C 7D83 2ECE 24A4 8AC6 38D7 8C33 E821 595C

To claim this, I am signing this object:

oznek / gist:512277f325fa45afab38
Created Jan 27, 2015
Mediatomb Protocol Info Extended
View gist:512277f325fa45afab38
<protocolInfo extend="yes" />
oznek / gist:86575e6a68ab55588ecb
Created Jan 27, 2015
Mediatomb Mark Video as Played Settings
View gist:86575e6a68ab55588ecb
<mark-played-items enabled="yes" suppress-cds-updates="yes">
<string mode="prepend">*</string>
oznek / gist:0cd88b7de5a686f566eb
Created Jan 27, 2015
Mediatomb Thumbnail Generation Settings
View gist:0cd88b7de5a686f566eb
<ffmpegthumbnailer enabled="yes">
oznek / build-mkv-with-subtitles
Created Apr 8, 2014
Build MKV video with subtitles inside
View build-mkv-with-subtitles
# Build MKV file with subtitles inside
# Author: Kenzo Okamura
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
# This program is distributed in the hope that it will be useful,