Skip to content

Instantly share code, notes, and snippets.

View UrbanDesimator's full-sized avatar

UrbanMusic UrbanDesimator

  • UK
  • 09:48 (UTC -12:00)
View GitHub Profile
@GamePlayer-8
GamePlayer-8 / sysctl.conf
Created July 19, 2023 08:31
sysctl.conf
kernel.printk = 4 4 1 7
kernel.panic = 10
kernel.sysrq = 0
kernel.shmmax = 4294967296
kernel.shmall = 4194304
kernel.core_uses_pid = 1
kernel.msgmnb = 65536
kernel.msgmax = 65536
vm.swappiness = 20
vm.dirty_ratio = 80
@smartmic
smartmic / loop2jack.sh
Created September 26, 2015 16:29
loop2jack
#!/bin/sh
# script loop2jack, located in /usr/local/bin
# loop client creation
/usr/bin/alsa_out -j ploop -dploop -q 1 2>&1 1> /dev/null &
/usr/bin/alsa_in -j cloop -dcloop -q 1 2>&1 1> /dev/null &
# give it some time before connecting to system ports
sleep 1
@smartmic
smartmic / .asoundrc
Last active February 3, 2024 19:52
.asoundrc
defaults.pcm.!rate_converter "samplerate_best"
# ******************************************************
# PLAYBACK
# hardware 0,0 : ALSA playback
pcm.loophw00 {
type hw
card Loopback
device 0
subdevice 0