Skip to content

Instantly share code, notes, and snippets.

View MarkWalters-dev's full-sized avatar

MarkWalters.dev MarkWalters-dev

View GitHub Profile
@MarkWalters-dev
MarkWalters-dev / oneplus6t
Created May 19, 2019 11:12
OnePlus 6T commands
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
@MarkWalters-dev
MarkWalters-dev / jpbd.sh
Last active May 16, 2019 22:16
jedie pybee docker test
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
@MarkWalters-dev
MarkWalters-dev / weightgurus.py
Last active October 24, 2023 21:29
Access data collected by your Greater Goods Weight Gurus scale
#!/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