This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from myhdl import * | |
def SRL16E( | |
CLK, CE, | |
D, | |
A, | |
Q): | |
reg = Signal(intbv()[16:0]) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;SMBDIS.ASM - A COMPREHENSIVE SUPER MARIO BROS. DISASSEMBLY | |
;by doppelganger ([email protected]) | |
;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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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> | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mkdir -p /tmp/alpine | |
sudo apk --root /tmp/alpine --initdb add --repositories-file=/etc/apk/repositories --keys-dir /etc/apk/keys/ --cache-dir /var/cache/apk alpine-base | |
sudo mount -o bind /proc [/tmp/alpine/proc/](file:///tmp/alpine/proc) | |
sudo cp /etc/apk/repositories /etc/apk/keys/ /tmp/alpine/etc/apk/ | |
sudo cp [/etc/resolv.conf](file:///etc/resolv.conf) /tmp/alpine/etc | |
apk add alpine-sdk git autoconf automake libtool motif-dev flex bison | |
git clone <https://www-soc.lip6.fr/git/alliance.git> | |
cd alliance/alliance/src && [./autostuff](file:///home/strfry/Notebooks/Notes/C3D2/LibreSilicon/Alliance_Tutorial/autostuff) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// compile: cc example_basic_2.c -I /opt/vc/include -I /opt/vc/include/interface/vcos/pthreads -I /opt/vc/include/interface/vmcs_host/linux -I /opt/vc/src/hello_pi/libs/ilclient -I /opt/vc/include/interface/mmal/ -L /opt/vc/lib -lmmal -lmmal_core -lmmal_components -lmmal_util -lmmal_vc_client -lvcos -lpthread -lbcm_host -lm | |
// run: ./a.out /opt/vc/src/hello_pi/hello_video/test.h264 | |
/* | |
Copyright (c) 2012, Broadcom Europe Ltd | |
All rights reserved. | |
Redistribution and use in source and binary forms, with or without | |
modification, are permitted provided that the following conditions are met: | |
* Redistributions of source code must retain the above copyright |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module brimmed_text(txt, font, width) { | |
linear_extrude(4) | |
text(txt, font=font, size=33); | |
translate([0, 0, 3.9]) | |
linear_extrude(0.1) | |
square([width, 5]); | |
OlderNewer