Created on 2021/11/03 with VSCode version 1.53.
Last revision on 2022/06/30 with VSCode version 1.68.2.
I'm not a native English speaker, so please report inconsistencies to [u/anonymous1184][00] (or send a .patch
of the [source][01]).
^!Space::Media_Play_Pause ;"Ctrl + Alt + Space" to play/pause/resume media | |
^!Shift::Volume_Mute ;"Ctrl + Alt + Shift" to toggle mute/unmute | |
^!Left::Media_Prev ;"Ctrl + Alt + ⭠" to play previous clip | |
^!Right::Media_Next ;"Ctrl + Alt + ⭢" to play next clip | |
^!Up::Volume_Up ;"Ctrl + Alt + ⭡" to increase volume | |
^!Down::Volume_Down ;"Ctrl + Alt + ⭣" to reduce volume |
My personal customizations to the Keychron Q3 VIAL firmware. | |
* Add some custom backlight to certain keys if "mac" layer is enabled. This is | |
done because I use the "mac" layer to remap some keys to F-keys for quick | |
access, so this modification lights them up for clarity | |
* new custom keycode KC_BRCYCLE will cycle through three different backlight | |
brightnesses. I map this to Fn-Space, so it behaves a bit like the backlight | |
settings on my Lenovo laptop |
import android.content.Context | |
import android.graphics.Point | |
import android.os.Build | |
import android.view.WindowManager | |
import kotlin.math.pow | |
import kotlin.math.sqrt | |
/** | |
* An extension function to return current device real width and height | |
*/ |
KEYMAPOPTS="us us" | |
HOSTNAMEOPTS="-n alpine" | |
INTERFACESOPTS="auto lo | |
iface lo inet loopback | |
auto eth0 | |
iface eth0 inet dhcp | |
hostname alpine | |
" | |
TIMEZONEOPTS="-z UTC" |
-- assign logical name to macro keyboard | |
-- lmc_assign_keyboard('MACROS') | |
-- lmc_minimize(); | |
-- lmc_reset(); | |
lmc_say('Loading keyboard configuration') | |
lmc.minimizeToTray = false | |
-- lmc_minimize() | |
-- lmc_load('E:\\lmc.lua') | |
-- The function returns title of active window. Useful if you want different behaviour of macros depending of active application. |
{ | |
"key_events": { | |
"key_unknown": "adb shell input keyevent 0", | |
"key_soft_left": "adb shell input keyevent 1", | |
"key_soft_right": "adb shell input keyevent 2", | |
"key_home": "adb shell input keyevent 3", | |
"key_back": "adb shell input keyevent 4", | |
"key_call": "adb shell input keyevent 5", | |
"key_endcall": "adb shell input keyevent 6", | |
"key_0": "adb shell input keyevent 7", |
#!/system/xbin/bash | |
#Based on https://github.com/termux/termux-app/issues/77 | |
export PREFIX='/data/data/com.termux/files/usr' | |
export HOME='/data/data/com.termux/files/home' | |
export LD_LIBRARY_PATH='/data/data/com.termux/files/usr/lib' | |
export PATH="/data/data/com.termux/files/usr/bin:/data/data/com.termux/files/usr/bin/applets:$PATH" | |
export LANG='en_US.UTF-8' | |
export SHELL='/data/data/com.termux/files/usr/bin/bash' | |
export BIN='/data/data/com.termux/files/usr/bin' | |
export TERM=vt220 |
$INPUTVIDEO='input.mp4' | |
$OUTPUTVIDEO='output.mp4' | |
ffmpeg -i $INPUTVIDEO -metadata:s:v rotate="-90" -codec copy $OUTPUTVIDEO |