Split FLAC Album Based on Cue Sheet

shnsplit -f *.cue  -t '%n. %t' -o flac *.flac


ZeroJS - The world's smallest JavaScript library! Zero size, zero functionality. Happy April Fool’s Day :)

Android Modding

Change CRT screen off animation into fade screen off animation and minimize 48 dip high navigation bar into smaller 24 dip one.
adb pull /system/framework/framework-res.apk

apktool d framework-res.apk

sed -e 's/<bool name="config_animateScreenLights">false<\/bool>/<bool name="config_animateScreenLights">true<\/bool>/' \
    -i framework-res/res/values/bools.xml

sed -e 's/<dimen name="navigation_bar_height">.*/<dimen name="navigation_bar_height">24.0dip<\/dimen>/' \
    -e 's/<dimen name="navigation_bar_height_landscape">.*/<dimen name="navigation_bar_height_landscape">24.0dip<\/dimen>/' \
    -e 's/<dimen name="navigation_bar_width">.*/<dimen name="navigation_bar_width">24.0dip<\/dimen>/' \
    -i framework-res/res/values/dimens.xml

apktool b framework-res

7z x framework-res/dist/framework-res.apk resources.arsc
7z u -tzip framework-res.apk resources.arsc

adb remount
adb shell mkdir /system/framework/backup
adb shell cp /system/framework/framework-res.apk /system/framework/backup
adb push framework-res.apk /system/framework
adb shell chmod 644 /system/framework/framework-res.apk

adb reboot