Skip to content

Instantly share code, notes, and snippets.

View pjf's full-sized avatar

Paul Fenwick pjf

View GitHub Profile
@pylover
pylover / a2dp.py
Last active May 19, 2024 11:50
Fixing bluetooth stereo headphone/headset problem in ubuntu 16.04, 16.10 and also debian jessie, with bluez5.
#! /usr/bin/env python3
"""Fixing bluetooth stereo headphone/headset problem in debian distros.
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 .
Licence: Freeware
@NV
NV / ligatweet.user.js
Created December 1, 2009 00:38
Script for tweet shortening using unicode ligatures and other compound symbols
// ==UserScript==
// @name ligatweet
// @namespace http://leaverou.me/demos/ligatweet/
// @description Script for tweet shortening using unicode ligatures and other compound symbols
// @include htt*://twitter.com/*
// @author Lea Verou (UserJS by Nikita Vasilyev)
// @version 1.0
// @license Licensed under the MIT license http://www.opensource.org/licenses/mit-license.php
// ==/UserScript==