- Assuming you created a virtual environment called
matlab
, otherwise:
python -m venv matlab
- Activate the venv:
source matlab/bin/activate
- Assuming you have Matlab installed in your OS:
[Unit] | |
Description=Start service.service 3 minutes after default.target | |
[Timer] | |
Unit=service.service | |
# set to desired time | |
OnBootSec=180s | |
[Install] | |
WantedBy=default.target |
[Unit] | |
Description=Shutdown at specific time | |
After=network.target | |
StartLimitIntervalSec=0 | |
[Service] | |
Type=simple | |
# remove the scheduled shutdown if any | |
ExecStartPre=/sbin/shutdown -c | |
# change to desired time, -r (restart), -P (poweroff/shutdown) |
:: Make sure you run the script with admin rights or it won't work | |
devcon find *hid\vid* | findstr "touch screen" > device_id.txt | |
set /p device=<device_id.txt | |
set "touchscreenid=%device:~0,33%" | |
devcon status "%touchscreenid%" | findstr "running" | |
if %errorlevel% == 0 ( | |
devcon disable "%touchscreenid%" | |
) else ( | |
devcon enable "%touchscreenid%" | |
) |
set "var=ABC&DEF&GHI&012" | |
echo %var:&=^&% |
#!/bin/bash | |
# assuming you are on your git repo folder and you generated a large file list (bigger than 50MB in this case), e.g.: | |
# find . -size +50M | cat >> file-list.txt | |
flist="file-list.txt" | |
while IFS= read -r file | |
do | |
git lfs track "$file" | |
done < "$flist" |
# assuming you know the key you want to remove | |
openssl rsa -in key_with_pass.pem -out key_without_pass.pem | |
# source: https://stackoverflow.com/a/18394172 - https://www.madboa.com/geek/openssl/#key-removepass |
matlab
, otherwise:python -m venv matlab
source matlab/bin/activate
- Given that your phone is rooted with Magisk (https://github.com/topjohnwu/Magisk), place this "Detach.txt" file on "/storage/emulated/0/" and include your app names after line 45 (run `adb shell 'pm list packages -f'` to get their names). Finally, just install Detach module using Magisk (https://github.com/Magisk-Modules-Repo/Detach) and reboot. | |
- Detach Market Apps Configuration - | |
- Remove comment (#) to detach an App. | |
#Contacts | |
#Gmail | |
#Google App | |
#Google Plus | |
#Hangouts | |
#Phone |