Skip to content

Instantly share code, notes, and snippets.

View sonicdebris's full-sized avatar

Athos Bacchiocchi sonicdebris

View GitHub Profile
@sonicdebris
sonicdebris / nvidia-ubuntu.md
Last active August 28, 2018 15:37
Nvidia on ubuntu 17.10

ensure to log-in with xorg and not wayland

check enabled: glxinfo|egrep "OpenGL vendor|OpenGL renderer"

secure boot state: mokutil --sb-state

A failed attempt: sudo prime-select nvidia (or intel)

@sonicdebris
sonicdebris / cpu-isolation.md
Last active March 6, 2022 16:28
CPU Isolation notes
@sonicdebris
sonicdebris / gist:265612f4823364a96e857276e044ff37
Created December 15, 2019 14:44
Setup alsa-only, disable pulse-audio
systemctl --user disable pulseaudio.service
systemctl --user disable pulseaudio.socket
systemctl --user mask pulseaudio.service
systemctl --user mask pulseaudio.socket
systemctl --user mask pulseaudio
without jack, define ~/.asoundrc with:
default.pcm.card 0
default.pcm.device 0
default.ctl.card 0
@sonicdebris
sonicdebris / test.json
Created October 17, 2024 16:40
json-schema-test
{
"$id": "https://example.com/arrays.schema.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"description": "Arrays of strings and objects",
"title": "Arrays",
"type": "object",
"properties": {
"fruits": {
"type": "array",
"items": {