Skip to content

Instantly share code, notes, and snippets.

Subtitle merger

This bash script merges subtitles and fonts with video files into .mkv containers.

Preparation

It expects the following folder structure:

  • Fonts/
    • All the font files in this folder will be added as attachments to the container
@Phr33d0m
Phr33d0m / qBittorrent-sequential-downloading-always-true.diff
Last active January 3, 2019 13:50
qBittorrent always use sequential downloading (>=v4.1.2)
diff --git a/src/base/bittorrent/addtorrentparams.h b/src/base/bittorrent/addtorrentparams.h
index 280849a..c5e4d2c 100644
--- a/src/base/bittorrent/addtorrentparams.h
+++ b/src/base/bittorrent/addtorrentparams.h
@@ -43,7 +43,7 @@ namespace BitTorrent
QSet<QString> tags;
QString savePath;
bool disableTempPath = false; // e.g. for imported torrents
- bool sequential = false;
+ bool sequential = true;
@import url(http://fonts.googleapis.com/css?family=Open+Sans:400,700);
#bugzilla-body * {
font-family: 'Open Sans', sans-serif;
font-size: 14px;
}
#bugzilla-body table {
border-spacing: 5px 0px;
}
@Phr33d0m
Phr33d0m / fstab
Created October 3, 2012 17:53
A fstab example for Bedrock Linux's client management
/dev/sda1 / ext4 noatime 0 1
/dev/sda2 none swap sw 0 0
# Bedrock Linux 1.0alpha2 /etc/fstab
#
# Things which should be mounted at boot go here. Additionally, things which
# should be mounted to share between clients should be placed here.
#
# It is recommended to make the core Bedrock accessible as a client as well, so
# that it can be accessed from within other clients. This is the only item