Skip to content

Instantly share code, notes, and snippets.

#include <stdio.h>
#include <unistd.h>
#include <fcntl.h>
#include <sys/ioctl.h>
#include <linux/soundcard.h>
#include <webrtc_audio_processing/module_common_types.h>
#include <webrtc_audio_processing/audio_processing.h>
# TODO: Exceptions Different Error Classes?
# - Card not present / token_id not found
# - Transport Error (try again)
# - Key Error (retry is futile?)
# - Unknown Token Error
class AuthenticationDriver(object):
def __init__(self, slot=4):
self.slot = slot
@strfry
strfry / PostPi
Created January 9, 2017 00:32
Title3
Post-Pi3 Hardware
=================
Alternatives After the RPI.
Broadcom got bought by Avago and no one knows if the RPi4 will happen and on which architecture.
Looking for bBoards with MIPI Camera/Display Interface, and video encoding stuff
Possible Candidate:
import requests
response = requests.request('GET', 'https://api.chaos-darmstadt.de/api/payback')
events = response.json()['events']
### Merge all Aral .*
def map_partner(name):
if 'Aral' in name: return 'Aral'
return name
;SMBDIS.ASM - A COMPREHENSIVE SUPER MARIO BROS. DISASSEMBLY
;by doppelganger (doppelheathen@gmail.com)
;This file is provided for your own use as-is. It will require the character rom data
;and an iNES file header to get it to work.
;There are so many people I have to thank for this, that taking all the credit for
;myself would be an unforgivable act of arrogance. Without their help this would
;probably not be possible. So I thank all the peeps in the nesdev scene whose insight into
;the 6502 and the NES helped me learn how it works (you guys know who you are, there's no
from myhdl import *
def SRL16E(
CLK, CE,
D,
A,
Q):
reg = Signal(intbv()[16:0])