- https://github.com/Benjamin-Loison
- Joined on
2022-10-16
Block a user
Interact with virtual display with
adb
adb shell input text test
works as wanted after using adb shell monkey.
Interact with virtual display with
adb
adb shell uiautomator dump
FILE=window_dump.xml
adb pull /sdcard/$FILE
xmllint --format $FILE
Interact with virtual display with
adb
adb shell uiautomator dump, tap and sending text.
Pointer location may help.
Would allow using the device at the same time as app interaction in the background, to send a Signal message…
Interact with virtual display with
adb
Change home folder without
root access
import os, pwd
pwd.getpwuid(os.getuid()).pw_dir
'/mnt/homes/@LH-CENSORED/61/loison_benjamin-1000004'
Source: [the Stack Overflow answer 3085545](https://stackoverfl…
Change home folder without
root access
from pathlib import Path
str(Path.home())
'/scratch/loison_benjamin'
Change home folder without
root access
os.path.expanduser('~user')
'~user'
os.path.expanduser('~USER')
'~USER'
os.path.expanduser('~$USER')
'~$USER'
Change home folder without
root access
os.environ['HOME']
'/scratch/loison_benjamin'
os.exp
Output:
Traceback (most recent call last):
File…
Change home folder without
root access
DuckDuckGo search Linux get user home folder.
eval echo ~$USER
/mnt/homes/@LH-CENSORED/61/loison_benjamin…
Make function reference clickable
Redirect on given cookie value
Make computer behave as a screen
If I remember correctly it may be a physical limitation specific to the HDMI controller manufacturer.
Make computer behave as a screen
The person:
-----BEGIN PGP MESSAGE-----
hF4DTQa9Wom5MBgSAQdAmNN4y/Wu7w9aV+cpbMaL8SAAWyI+JenbJ73cWxIIsH4w
QzxA2RArmVm2sJbJhpP3TLonjHG7jEvEipMi5vytHWRQTtVyCV…