This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
gdb -p "$1" -batch -ex 'set {short}$rip = 0x050f' -ex 'set $rax=231' -ex 'set $rdi=0' -ex 'cont' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; /usr/share/pulseaudio/alsa-mixer/profile-sets/astro-a50-gen4.conf | |
[General] | |
auto-profiles = yes | |
[Mapping analog-voice] | |
description = Voice | |
device-strings = hw:%f,0,0 | |
channel-map = left,right | |
paths-output = steelseries-arctis-output-chat-common |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# pulseaudio defaults to only detecting Astro A50 voice and microphone, not game | |
# this is what i had to do to fix it, hopefully it saves someone some time | |
# index:subdevice may be different for you | |
# resources: | |
# https://wiki.archlinux.org/index.php/PulseAudio/Examples at "module-alsa-sink" | |
# https://www.freedesktop.org/wiki/Software/PulseAudio/Documentation/User/Modules/#index6h3 | |
.nofail | |
load-module module-alsa-sink device=hw:3,0 sink_name=voice |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
((/usr/local/php/bin/php -f /var/www/queue.php) & echo $! > /var/run/queue.pid &) |