Skip to content

Instantly share code, notes, and snippets.

View ferrellsl's full-sized avatar

Stephen Ferrell ferrellsl

View GitHub Profile
@unixabg
unixabg / gist:4ca86477b6ad0504d8b9486f1a160057
Created July 22, 2022 23:43
Samsung Chromebook 4 alsa helper script for the glkda7219max
#!/bin/bash
echo Adding microphone to Pulseaudio
grep -qxF 'load-module module-alsa-source device=hw:0,99' /etc/pulse/default.pa || echo 'load-module module-alsa-source device=hw:0,99' >> /etc/pulse/default.pa
echo Adding headphone to Pulseaudio
grep -qxF 'load-module module-alsa-sink device=hw:0,1' /etc/pulse/default.pa || echo 'load-module module-alsa-sink device=hw:0,1' >> /etc/pulse/default.pa
echo Adding headset microphone to Pulseaudio
@Rajssss
Rajssss / install-supersu-to-anbox.sh
Last active June 1, 2022 04:28
script to root anbox with supersu.
#!/bin/bash -v
#some code edited from [email protected]
#Modified script by https://github.com/rypz79, taken from https://github.com/anbox/anbox/issues/894#issuecomment-420766769
#Tested with SuperSU-v2.82-201705271822 only!! Check test system details in comments.
set -e
#get zip file and set workdir
mkdir -p ~/temp