NetworkManager: Disable Sending Hostname to DHCP Server

Edit /etc/NetworkManager/NetworkManager.conf file to contain the following default settings for new connections:
Disable sending hostname to DHCP server for already existing connections:
nmcli -t -f uuid connection | while read uuid; do
 nmcli connection modify $uuid \
 ipv4.dhcp-send-hostname false \
 ipv6.dhcp-send-hostname false
Restart NetworkManager to apply the settings:
systemctl restart NetworkManager

Perl UDP Daemon

A simple UDP daemon listening on UDP/162 port.

MPV Restore Playback

Configure MPV to remember playback position when closing its window so that the playback can be resumed automatically when the video is watched the next time:
echo 'CLOSE_WIN quit_watch_later' >> ~/.config/mpv/input.conf

Split FLAC Album Based on Cue Sheet

cuebreakpoints *.cue | shnsplit -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