Skip to content

Instantly share code, notes, and snippets.

View andering's full-sized avatar

Andrej Kouřil andering

View GitHub Profile
USE="
X xvmc nvidia bindist alsa vim dri sna udev pam polkit truetype type1 cleartype corefonts infinality syslog php acl gtk gtk3 xinerama acpi lame opengl dri3 v4l python usb cups unicode slang glamor vulkan vaapi utils opencl lm-sensors xa evdev
jpeg jpg png mp3 x264 pdf vim-syntax
dbus bluetooth bluez
cuda ffmpeg wayland
openssl openssh
elogind pulseaudio
nvenc gles gles1 gles2
-consolekit -systemd
-gnome -kde -qt4 -qt5 -cdr"
@andering
andering / teeeee.py
Last active January 12, 2020 02:33
test/ean.py
Empty File
from urllib import request
from bs4 import BeautifulSoup
from pprint import pprint
from pathlib import Path
import re, os
regexp_get_id = re.compile("[0-9]{8}")
regexp_remove_non_alphanumeric = re.compile(r'[^a-zA-Z0-9]+')
quote_page = 'http://feeds.gty.org/gtyradiobroadcast'
@andering
andering / # dmesg | grep snd;
Created June 15, 2018 17:29
# dmesg | grep snd;
# dmesg | grep snd
[ 0.259535] snd_hda_intel 0000:00:1f.3: enabling device (0000 -> 0002)
[ 2.237412] snd_hda_intel 0000:00:1f.3: bound 0000:00:02.0 (ops 0xffffffff820adb60)
[ 2.287928] snd_hda_codec_realtek hdaudioC0D0: autoconfig for ALC3246: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:speaker
[ 2.288701] snd_hda_codec_realtek hdaudioC0D0: speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[ 2.366106] snd_hda_codec_realtek hdaudioC0D0: hp_outs=1 (0x21/0x0/0x0/0x0/0x0)
[ 2.368056] snd_hda_codec_realtek hdaudioC0D0: mono: mono_out=0x0
[ 2.376627] snd_hda_codec_realtek hdaudioC0D0: inputs:
[ 2.378770] snd_hda_codec_realtek hdaudioC0D0: Headset Mic=0x19
[ 2.380772] snd_hda_codec_realtek hdaudioC0D0: Headphone Mic=0x1a
@andering
andering / procasoundcards
Created June 15, 2018 17:29
/proc/asound/cards
0 [PCH ]: HDA-Intel - HDA Intel PCH
HDA Intel PCH at 0xd5228000 irq 129
@andering
andering / # cat procasoundcards;
Created June 15, 2018 17:28
# cat /proc/asound/cards;
# cat /proc/asound/cards
0 [PCH ]: HDA-Intel - HDA Intel PCH
HDA Intel PCH at 0xd5228000 irq 129
@andering
andering / # lspci -k -s 00:1f.3;
Created June 15, 2018 17:25
# lspci -k -s 00:1f.3;
# lspci -k -s 00:1f.3
00:1f.3 Audio device: Intel Corporation Sunrise Point-LP HD Audio (rev 21)
Subsystem: Dell Sunrise Point-LP HD Audio
Kernel driver in use: snd_hda_intel
@andering
andering / usrsrclinux.config
Created June 15, 2018 17:23
/usr/src/linux/.config
#
# Automatically generated file; DO NOT EDIT.
# Linux/x86 4.17.0-gentoo Kernel Configuration
#
#
# Gentoo Linux
#
CONFIG_GENTOO_LINUX=y
CONFIG_GENTOO_LINUX_UDEV=y
@andering
andering / etcmodprobe.dalsa.conf
Created June 15, 2018 17:19
/etc/modprobe.d/alsa.conf
# Alsa kernel modules' configuration file.
# ALSA portion
alias char-major-116 snd
# OSS/Free portion
alias char-major-14 soundcore
##
## IMPORTANT:
## You need to customise this section for your specific sound card(s)