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
#!/usr/bin/env bash | |
# pip has 2 options for downloading chrome extensions. cedl and chrome-webstore-download | |
# cedl has a more recent update than chrome-webstore-download | |
# but cedl polutes ~/bin by downloading to ~/bin/chrome-extensions so it is not an option without fixing that anti-feature | |
# chrome-webstore-download downloads to the current directory but requires -u|--url which is annoying but has the | |
# option to save to a custom filename with -f|--file which could come in handy | |
# | |
# This little script uses chrome-webstore-download to download and extract a chrome extension | |
# | |
# Example: crxdl https://chrome.google.com/webstore/detail/allow-cors-access-control/lhobafahddgcelffkeicbaginigeejlf |
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
All commands tested with termux. With slight modifications they will also work from adb shell. | |
remount root | |
------------ | |
su # tsu won't work with this | |
mount -o rw,remount /system_root | |
mount -o ro,remount /system_root | |
change hostname |
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
set -xe | |
cat jpbd.sh | |
docker image ls -a | |
docker container ls -a | |
git clone https://github.com/jedie/pybee-docker.git | |
cd pybee-docker | |
./pull.sh | |
./build.sh |
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
#!/usr/bin/env python3 | |
# So I asked Greater Goods if they would point me in the direction of their API. So I could get data | |
# from their WiFi scale without the limitations of their Weight Gurus app. They said they don't give | |
# that out. So my options are to return the scale to Amazon because it is useless to me without an | |
# API or I figure it out myself. Anyway, I figured it out so you don't have to return your scale. | |
# This isn't an API but from here you can atleast access the data. | |
# If you don't already have the scale you can find it on Amazon | |
# UPC 875011003964 |
NewerOlder