Skip to content

Instantly share code, notes, and snippets.

View johnteske's full-sized avatar

John Teske johnteske

View GitHub Profile
@aldemirenes
aldemirenes / android_build_run.sh
Last active September 19, 2024 14:34
Shell scripts for Android development without needing to use Android Studio
#!/bin/sh
package_name=$1
./gradlew assembleDebug
adb -d install -r app/build/outputs/apk/app-debug.apk
adb shell monkey -p "$package_name" -c android.intent.category.LAUNCHER 1
./logcat.sh "$package_name"
@palopezv
palopezv / dwm_config_pulseaudio.h
Last active September 12, 2024 09:21 — forked from neuro-sys/dwmconfig.h
dwm volume control with hardware multimedia keys (pipewire, pulseaudio, amixer and light as an extra)
/**
* dwmconfig.h
* Hardware multimedia keys
*/
/* Somewhere at the beginning of config.h include: */
/*
You obviously need the X11 development packages installed, X11proto in particular, but
here is the location of the keysyms header upstream copy if you can't bother
using the contents of your own hard drive. ;-P