# put stock boot.img into /sdcard/boot.img
# get sha1
adb shell
su
SHA1=$(cat $(magisk --path)/.magisk/config | grep SHA1 | cut -d '=' -f 2)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # calculation are based on http://www.esreality.com/index.php?a=post&id=1945096 | |
| # assuming windows 10 uses the same calculation as windows 7. | |
| # guesses have been made calculation is not accurate | |
| # touchpad users make sure your touchpad is calibrated with `sudo libinput measure touchpad-size` | |
| # import matplotlib.pyplot as plt | |
| import struct | |
| # set according to your device: | |
| xinput_device_id = 13 | |
| device_dpi = 1000 # mouse dpi |
All packages, except for Tini have been added to termux-root. To install them, simply pkg install root-repo && pkg install docker. This will install the whole docker suite, left only Tini to be compiled manually.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Release | |
| on: | |
| push: | |
| tags: ["v*"] | |
| jobs: | |
| run: | |
| runs-on: ubuntu-latest | |
| steps: |
- Use
curlto get the JSON response for the latest release - Use
grepto find the line containing file URL - Use
cutandtrto extract the URL - Use
wgetto download it
curl -s https://api.github.com/repos/jgm/pandoc/releases/latest \
| grep "browser_download_url.*deb" \
| cut -d : -f 2,3 \
| tr -d \" \