Skip to content

Instantly share code, notes, and snippets.

@SAL-e
SAL-e / install_makemkv.py
Created October 25, 2017 20:45 — forked from jvuori/install_makemkv.py
A convenient little script to install MakeMKV on Linux + Python wrapper which determines the version number automatically
import os
import re
import requests
import sys
FORUM_PAGE = 'https://www.makemkv.com/forum2/viewtopic.php?f=3&t=224'
DOWNLOAD_SITE = 'http://www.makemkv.com/download'
FORUM_PAGE_BETA_KEY = 'http://www.makemkv.com/forum2/viewtopic.php?f=5&t=1053'
CONFIG_FILE = os.path.join(
os.path.expanduser('~'),
@SAL-e
SAL-e / a2dp.py
Created October 8, 2017 08:01 — forked from pylover/a2dp.py
Fixing bluetooth stereo headphone/headset problem in ubuntu 16.04, 16.10 and also debian jessie, with bluez5.
#! /usr/bin/env python3.5
"""
Fixing bluetooth stereo headphone/headset problem in ubuntu 16.04 and also debian jessie, with bluez5.
Workaround for bug: https://bugs.launchpad.net/ubuntu/+source/indicator-sound/+bug/1577197
Run it with python3.5 or higher after pairing/connecting the bluetooth stereo headphone.
This will be only fixes the bluez5 problem mentioned above .