I hereby claim:
- I am mmstick on github.
- I am mmstick (https://keybase.io/mmstick) on keybase.
- I have a public key whose fingerprint is 2A8C B607 A1D3 332C 18E8 6652 B273 2D42 40C9 212C
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
#!/bin/bash | |
set -e | |
for field in $(cat /proc/cmdline); do | |
if [[ "${field}" = root=* ]]; then | |
UUID=$(echo $field | awk -F= '{print $3}') | |
break | |
fi | |
done |
#!/bin/bash | |
GREEN='\e[32m' | |
RESET='\e[0m' | |
FILTER_CHAIN_DIR="${HOME}/.config/pipewire/filter-chain.conf.d" | |
FILTER_CONFIG='https://gist.githubusercontent.com/mmstick/039422a63c73a09e998d08608abaee43/raw/9c4dfef5a447fe25a47e3492e518e134e57ee9d4/7.1-spatializer.conf' | |
SOFA_RESOURCES='/usr/share/pipewire/sofa' | |
SOFA_INPUT='https://sofacoustics.org/data/database_sofa_0.6/ari/dtf%20b_nh724.sofa' | |
echo -e "${GREEN}1/3: Requesting permission to install resources to ${SOFA_RESOURCES}${RESET}" | |
sudo mkdir -p ${SOFA_RESOURCES} |
context.modules = [ | |
{ name = libpipewire-module-filter-chain | |
args = { | |
node.description = "7.1 Spatializer" | |
media.name = "7.1 Spatializer" | |
filter.graph = { | |
nodes = [ | |
{ | |
type = sofa | |
label = spatializer |
#!/bin/bash | |
cd /tmp | |
if ! which lynx > /dev/null; then sudo apt-get install lynx -y; fi | |
if [ "$(getconf LONG_BIT)" == "64" ]; then arch=amd64; else arch=i386; fi | |
function download() { | |
wget $(lynx -dump -listonly -dont-wrap-pre $kernelURL | grep "$1" | grep "$2" | grep "$arch" | cut -d ' ' -f 4) | |
} |
#!/bin/bash | |
# Ubuntu 13.10 and 14.04 should work perfectly with this script. | |
# PPAS | |
## Essentials | |
sudo add-apt-repository -y "deb http://archive.canonical.com $(lsb_release -sc) partner" | |
sudo add-apt-repository -y ppa:mc3man/mpv-tests # MPV (ffmpeg version) | |
sudo add-apt-repository -y ppa:atareao/nautilus-extensions # Nautilus Image Extensions | |
sudo add-apt-repository -y ppa:ubuntu-wine/ppa # Updated Wine Packages from Wine Developers | |
sudo add-apt-repository -y ppa:webupd8team/y-ppa-manager # Namely for YAD |
#!/bin/bash | |
sourcedir="$HOME/.local/src/" | |
mkdir "$sourcedir" | |
export CFLAGS='-march=native -O3 -pipe -fstack-protector -Wall' | |
export CXXFLAGS='-march=native -O3 -pipe -fstack-protector -Wall' | |
function install-dependencies() { | |
# Install build tools and Mesa VDPAU support. | |
sudo apt-fast install -y cmake yasm autoconf build-essential mesa-vdpau-drivers \ | |
libvdpau-va-gl1 |
#!/bin/bash | |
function package-version { | |
apt-cache policy $1 | grep Installed | awk -F ' ' '{print $2}' | |
} | |
function kernel-current-version { | |
major=$(uname -r | awk -F '.' '{print $1}') | |
minor=$(uname -r | awk -F '.' '{print $2}') | |
if [ $(uname -r | grep rc) ]; then | |
rc="rc$(uname -r | awk -F '-' '{print $2}' | awk -F 'rc' '{print $2}')" |
#!/bin/bash | |
export CFLAGS='-march=native -O3 -pipe -fstack-protector -Wall' | |
export CXXFLAGS='-march=native -O3 -pipe -fstack-protector -Wall' | |
sourcedir="$HOME/.local/src" | |
mkdir "$sourcedir" | |
function git-clone() { | |
target="${sourcedir}/$1" | |
git clone "https://github.com/geany/$1" "$target" | |
cd "$target" |
/* | |
* X-Box gamepad driver | |
* | |
* Copyright (c) 2002 Marko Friedemann <mfr@bmx-chemnitz.de> | |
* 2004 Oliver Schwartz <Oliver.Schwartz@gmx.de>, | |
* Steven Toth <steve@toth.demon.co.uk>, | |
* Franz Lehner <franz@caos.at>, | |
* Ivan Hawkes <blackhawk@ivanhawkes.com> | |
* 2005 Dominic Cerquetti <binary1230@yahoo.com> | |
* 2006 Adam Buchbinder <adam.buchbinder@gmail.com> |