Skip to content

Instantly share code, notes, and snippets.

View PennRobotics's full-sized avatar
Find me over on GitLab!

Brian Wright PennRobotics

Find me over on GitLab!
View GitHub Profile
@PennRobotics
PennRobotics / RtHDDump.optical.txt
Created April 8, 2023 07:00
Realtek HD Audio Dump Utility outputs, ALC700 chip (Intel NUC 11 Enthusiast)
PCI ID ==> PCI\VEN_8086&DEV_A0C8&SUBSYS_20908086&REV_20\3&11583659&0&FB
HDA ID ==> HDAUDIO\FUNC_01&VEN_10EC&DEV_0700&SUBSYS_80862090&REV_1000 <Realtek High Definition Audio>
< RtHDDump.exe file version V2.3.0.6 >
File version =>
File internal name=>
<9456> <RTKVHD64.sys 9456>
Model index = 493
Wid=12 Codec=90A60140 Drv=90A60140 Loc=00000000
@PennRobotics
PennRobotics / alsa.spdif.log
Last active March 30, 2023 01:02
output of alsa-info.sh (options snd-hda-intel model=spdif)
upload=true&script=true&cardinfo=
!!################################
!!ALSA Information Script v 0.5.1
!!################################
!!Script ran on: Thu Mar 30 00:48:25 UTC 2023
!!Linux Distribution
!!------------------
@PennRobotics
PennRobotics / alsa.alc700.log
Last active March 30, 2023 01:02
output of alsa-info.sh (options snd-hda-intel model=alc700-ref)
upload=true&script=true&cardinfo=
!!################################
!!ALSA Information Script v 0.5.1
!!################################
!!Script ran on: Thu Mar 30 00:46:32 UTC 2023
!!Linux Distribution
!!------------------
@PennRobotics
PennRobotics / alsa.log
Last active March 30, 2023 01:02
output of alsa-info.sh (default)
upload=true&script=true&cardinfo=
!!################################
!!ALSA Information Script v 0.5.1
!!################################
!!Script ran on: Thu Mar 30 00:57:36 UTC 2023
!!Linux Distribution
!!------------------
@PennRobotics
PennRobotics / alsa.auto.log
Last active March 30, 2023 01:02
output of alsa-info.sh (options snd-hda-intel model=auto)
upload=true&script=true&cardinfo=
!!################################
!!ALSA Information Script v 0.5.1
!!################################
!!Script ran on: Thu Mar 30 00:42:07 UTC 2023
!!Linux Distribution
!!------------------
@PennRobotics
PennRobotics / alsa.driver3.log
Last active March 29, 2023 23:40
output of alsa-info.sh (options snd-intel-dspcfg dsp_driver=3)
upload=true&script=true&cardinfo=
!!################################
!!ALSA Information Script v 0.5.1
!!################################
!!Script ran on: Wed Mar 29 23:39:17 UTC 2023
!!Linux Distribution
!!------------------
@PennRobotics
PennRobotics / alsa.driver1.log
Last active March 29, 2023 23:53
output of alsa-info.sh (options snd-intel-dspcfg dsp_driver=1)
.upload=true&script=true&cardinfo=
!!################################
!!ALSA Information Script v 0.5.1
!!################################
!!Script ran on: Wed Mar 29 23:22:12 UTC 2023
!!Linux Distribution
!!------------------
@PennRobotics
PennRobotics / HEADER.txt
Created August 20, 2022 13:48
MicroProse Graphics Library
The MicroProse Graphics Library is intended to be a collection of high quality routines
To perform the primitive graphic functions normally required in our games.
The routines are combined together to form a consistent interface between the applications.
As much as possible, graphics adapter specific logic has been hidden.To make the underlying hardware transparent to the user.
Each game will of necessity embellish the library with custom features.
Hopefully the library will at least provide the required primitives.
Many of the C-callable graphics routines get their parameters from a RastPort.
A RastPort is a definition of a window into a screen.
It defines the boundaries of that window for clipping and relative addressing.
As well as maintaining current pen colors and font info for text drawing.
@PennRobotics
PennRobotics / pylines.py
Last active August 2, 2022 15:43
Remake of baoilleach/bresenham.py for Python 3
DEBUG = print if 0 else lambda *_:()
from math import cos, sin, pi
ASPECT = 15./10.
def bresenham_line(start, end):
symbols = getsymbols(start, end)
(x1, y1), (x2, y2) = start, end
steep = False
@PennRobotics
PennRobotics / packing.py
Created October 5, 2021 22:14
Spice drawer simple packing optimization
#!/usr/bin/env python3
# This is used to determine the best cylinder packing for a rectangular spice drawer
import numpy as np
from math import pi, sqrt
"""
VARIABLES
"""