Skip to content

Instantly share code, notes, and snippets.

@miguelmota
miguelmota / instructions.sh
Last active March 20, 2023 19:55
Fire TV Stick 4K use USB drive as storage
# install adb shell apk using downloader
# open adb shell
# list usb drivers and their ids
$ sm list-disks
disk:8,0
# partiion all of usb to be used as internal storage
$ sm partition disk:8,0 private
@kibotu
kibotu / adb_shell_inputs.sh
Created March 19, 2019 08:15
amazon-fire-tv-remote-input using adb
#!/usr/bin/env bash
# * https://developer.android.com/reference/android/view/KeyEvent#constants
# * https://developer.amazon.com/appsandservices/solutions/devices/fire-tv/docs/amazon-fire-tv-remote-input
# * ----------------------------------------------------------------------------------------------------
# * | | (KEYCODE_MEDIA_RECORD) | |
# * ----------------------------------------------------------------------------------------------------
# * | |
# * ----------------------------------------------------------------------------------------------------
# * | | KEYCODE_DPAD_UP | |
@ohac
ohac / .gitignore
Last active August 23, 2020 20:02
get file ID from Panasonic Lumix DMC-GX8
result.xml
tmp.xml
tmp2.txt
*.jpg
*.mp4
*.ts
@darealshinji
darealshinji / mis2x264.sh
Last active May 2, 2023 20:54
Convert MediaInfo encoding settings to x264 commands
#!/bin/sh
if [ -z "$1" ] ; then
echo "Convert MediaInfo encoding settings to x264 commands"
echo "Usage: $0 <video>"
echo " $0 \"MediaInfo encoding settings\""
exit 0
fi