Skip to content

Instantly share code, notes, and snippets.

View apalazzi's full-sized avatar

Andrea Palazzi apalazzi

View GitHub Profile
@apalazzi
apalazzi / bluetoothctl.py
Created August 11, 2020 12:30 — forked from castis/bluetoothctl.py
Bluetoothctl wrapper in Python
# Based on ReachView code from Egor Fedorov ([email protected])
# Updated for Python 3.6.8 on a Raspberry Pi
import time
import pexpect
import subprocess
import sys
import logging
@apalazzi
apalazzi / opencl-amd_aur_ubuntu
Created March 24, 2020 17:09 — forked from nottux/opencl-amd_aur_ubuntu.bash
Ubuntu implementation of opencl-amd AUR package, Install opencl amdgpu amdgpu-pro opencl only ubuntu 18.04 18.10 19.04 19.10 proprietary drivers
#/bin/bash
prefix='amdgpu-pro-'
postfix='-ubuntu-18.04'
major='19.50'
minor='967956'
shared="opt/amdgpu-pro/lib/x86_64-linux-gnu"
srcdir="$(pwd)/opencl-amd_aur_ubuntu"
pkgdir="${srcdir}/pkgdir"
mkdir -p "${pkgdir}"
cd "${srcdir}"