Skip to content

Instantly share code, notes, and snippets.

I ❤️ C

Vahid pylover

I ❤️ C
Block or report user

Report or block pylover

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
pylover /
Last active Mar 29, 2020
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:
Run it with python3.5 or higher after pairing/connecting the bluetooth stereo headphone.
This will be only fixes the bluez5 problem mentioned above .
pylover / inspections.txt
Last active Mar 30, 2020 — forked from ar45/inspections.txt
PyCharm inspections
View inspections.txt
# Extracted using: $ unzip -p lib/pycharm.jar com/jetbrains/python/ | grep -B1 INSP.NAME | grep '^#' | sed 's|Inspection||g' | sed -e 's|#\s\{,1\}|# noinspection |'
# noinspection PyPep8
# noinspection PyPep8Naming
# noinspection PyTypeChecker
# noinspection PyAbstractClass
# noinspection PyArgumentEqualDefault
# noinspection PyArgumentList
# noinspection PyAssignmentToLoopOrWithParameter
# noinspection PyAttributeOutsideInit
#!/usr/bin/env python
# -*- coding: utf-8 -*-
SSH Tunnel using pure python and openssh-client/server
Server configurations:
* Enable ip forwarding. (linux: /etc/sysctl.conf)
* Enable tunnel in openssh server config file: $ echo "PermitTunnel yes" >> /etc/ssh/sshd_config
You can’t perform that action at this time.