- https://github.com/Benjamin-Loison
- Joined on
2022-10-16
Block a user
inotifywait
FILE=libinotifytools.so
curl https://packages.termux.dev/apt/termux-main/pool/main/i/inotify-tools/inotify-tools_4.25.9.0_aarch64.deb
inotifywait
file libc++_28c-1_aarch64.deb
libc++_28c-1_aarch64.deb: Debian binary package (format 2.0), with control.tar.xz/, data compression xz
DuckDuckGo search *Linux extract…
inotifywait
The Unix Stack Exchange answer 61464:
tar -xvf libc++_28c-1_aarch64.deb data/data/com.termux/files/usr/lib/libc++_shared.so
inotifywait
I checked that:
adb shell touch /data/local/tmp/my_file
adb shell ls -lh /data/local/tmp/
Output:
total 4
drwxrwxrwx 3 shell shell 4.0K…
inotifywait
I would like my setup to resist reboots for #29.
adb shell touch /data/local/my_file
touch: '/data/local/my_file': Permission denied
Emulate scrollable screenshot
\d and \\d do not work in the following.
Bash script:
REGEX="\[([0-9]+),([0-9]+)\]\[([0-9]+),([0-9]+)\]"
bounds='[12,34][56,78]'
if [[ $bounds =~…
Emulate scrollable screenshot
xmlstarlet select --template --value-of '//node[@text="Screenshot"]/@bounds' input.xml
[712,415][808,434]
DuckDuckGo and Google search Linux grep to variables and…
Take screenshot with a unique file name
Take screenshot with a unique file name
~/.bashrc:
# Being able to no write top and bottom, but still also have common code with a `take_screenshot` function would be nice.
take_app…
Take screenshot with a unique file name
Related to Benjamin-Loison/android/issues/309#issuecomment-3502576023.
Could add function to ~/.bashrc.
Set and get clipboard content
Termux is a workaround to some extent, see Benjamin-Loison/termux-api/issues/32.
Set and get clipboard content
adb shell input keyevent KEYCODE_NOT_EXISTING_QNHMRR does not return anything
Make computer behave like a (Bluetooth/USB) keyboard to copy-paste secrets for instance
Thanks to webcam could read a QR code being TOTP (to avoid someone able to read the QR code to leverage it later, but maybe can fake the hardware clock, but then face encryption) with more entropy.