Skip to content

Instantly share code, notes, and snippets.

View MartyTremblay's full-sized avatar

Martin Tremblay MartyTremblay

View GitHub Profile
# -*- coding: utf-8 -*-
"""
Compiled, mashed and generally mutilated 2014-2015 by Denis Pleic
Made available under GNU GENERAL PUBLIC LICENSE
# Modified Python I2C library for Raspberry Pi
# as found on http://www.recantha.co.uk/blog/?p=4849
# Joined existing 'i2c_lib.py' and 'lcddriver.py' into a single library
# added bits and pieces from various sources
# By DenisFromHR (Denis Pleic)
Verifying that +martytremblay is my blockchain ID. https://onename.com/martytremblay
@MartyTremblay
MartyTremblay / gist:51e2ec7eee9c6cdeb5c099913291cb5a
Created September 22, 2017 18:55
Verifying that "retrohunter.id" is my Blockstack ID. https://onename.com/retrohunter
Verifying that "retrohunter.id" is my Blockstack ID. https://onename.com/retrohunter
@MartyTremblay
MartyTremblay / multiout.conf
Created April 26, 2020 13:35
Alsa multiple out /etc/alsa/conf.d/multiout.conf
pcm.multiout {
type route
slave.pcm {
type multi;
slaves.a.pcm "plughw:0,0"
slaves.b.pcm "plughw:1,0"
slaves.a.channels 2;
slaves.b.channels 2;
bindings.0.slave a;