Skip to content

Instantly share code, notes, and snippets.

@vortex-5
vortex-5 / utorrent
Last active December 10, 2018 20:40
utorrent Linux startup script
#!/bin/sh
#
#
# Original source: http://forum.utorrent.com/viewtopic.php?id=88044
#
# uTorrent start stop service script
#
# copy to /etc/init.d
# run "update-rc.d utorrent defaults" to install
# run "update-rc.d utorrent remove" to remove
#!/bin/bash
#
# converts an MKV file to PS3 format
#
# Requires avconv and HandbrakeCLI
#
# This script will attempt to convert a file with avconv (fast)
# and will fallback to Handbrake to encode more difficult files
# when encountering an error.
#
@vortex-5
vortex-5 / gist:1300249
Last active September 27, 2015 16:38
utorrent server gist
# It is highly recommended that you run this under a user account and not as root
# The LOGFILE must also be set to a directory writable by the user account
# Location of the log file (must be by the current user writable)
env LOGFILE=/home/utorrent/log/utorrent.log
# Path to the utorrent server
env UTORRENT_PATH=/home/utorrent/shared/programs/utorrent/utorrent-server-v3_0
# Name of the utorrent server binary (you usually don't need to change this)
@vortex-5
vortex-5 / mkv2m2ts
Created August 17, 2011 01:18
Script to convert MKV2M2TS on linux
#!/bin/bash
#########################################
# Vortex-5's Remuxing Script based on: #
# EqUaTe's MKV to M2TS remuxing script #
# #
# Version: 0.5.10 #
# #
# This script takes an H.264 encoded #
# video, in an MKV container, demuxes #