Skip to content

Instantly share code, notes, and snippets.

View UrbanDesimator's full-sized avatar

UrbanMusic UrbanDesimator

  • UK
  • 12:42 (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
@soediro
soediro / ubuntu-kernel-tuning.sh
Last active June 20, 2025 04:26
ubuntu kernel tuning script
#!/bin/bash
#vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4:
#
# Author : Nicolas Brousse <nicolas@brousse.info>
# From : https://www.shell-tips.com/2010/09/13/linux-sysctl-configuration-and-tuning-script/
#
# Added kernel version < 2.6.33 set net.ipv4.tcp_congestion_control=htcp
# Notes :
# This script is a simple "helper" to configure your sysctl.conf on linux
# There is no silver bullet. Don't expect the perfect setup, review comments
@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