This file contains 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
### just for arm64 | |
```` | |
BASE=`pwd` | |
## cross-compile toolchain | |
git clone https://github.com/0neday/buildroot | |
cd buildroot | |
make menuconfig | |
### select aarch64 and enable ssp , c++ support | |
make -j$(nproc) toolchain |
This file contains 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
import requests | |
import json | |
import paho.mqtt.client as mqtt | |
import paho.mqtt.publish as publish | |
from requests.structures import CaseInsensitiveDict | |
# http get | |
url = 'https://api.vultr.com/v2/' | |
VULTR_API_KEY = '' | |
total = 0 |
This file contains 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
#!/bin/bash | |
set -e | |
set -x | |
BASE=`pwd` | |
########### ################################################################# | |
# zlib # #################################################################### | |
########### ################################################################# | |
wget -c https://zlib.net/zlib-1.2.11.tar.gz |
This file contains 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
pm uninstall --user 0 com.iqoo.secure | |
pm uninstall --user 0 com.vivo.gamecube | |
pm uninstall --user 0 com.vivo.vhomeguide | |
pm uninstall --user 0 com.vivo.gamewatch | |
pm uninstall --user 0 com.vivo.smartLife | |
pm uninstall --user 0 com.vivo.smartshot | |
pm uninstall --user 0 com.bbk.cloud | |
pm uninstall --user 0 com.vivo.quickpay | |
pm uninstall --user 0 com.bbk.iqoo.logsystem | |
pm uninstall --user 0 com.android.bbklog |
This file contains 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
#!/bin/sh | |
#BIN_DIR= | |
BIN_DIR=/mnt/jffs2/plug/app/busybox | |
export PATH=$BIN_DIR/bin:$BIN_DIR/sbin:$BIN_DIR/usr/bin:$BIN_DIR/usr/sbin | |
#set -x | |
# cloudflare api | |
AUTH_EMAIL="" |
This file contains 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
pm uninstall --user 0 com.miui.analytics | |
pm uninstall --user 0 com.xiaomi.mipicks | |
pm uninstall --user 0 com.miui.msa.global | |
pm uninstall --user 0 com.miui.cloudservice | |
pm uninstall --user 0 com.miui.cloudservice.sysbase | |
pm uninstall --user 0 com.miui.newmidrive | |
pm uninstall --user 0 com.miui.cloudbackup | |
pm uninstall --user 0 com.miui.backup | |
pm uninstall --user 0 com.xiaomi.glgm | |
pm uninstall --user 0 com.xiaomi.payment |
This file contains 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
import os | |
import pickle | |
import requests | |
import re | |
import base64 | |
import json | |
import urllib.parse | |
import codecs |
This file contains 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
[ | |
{ | |
"id": "5bfc1ec08cb3472e", | |
"type": "tab", | |
"label": "home assisstant ", | |
"disabled": false, | |
"info": "研究用的", | |
"env": [] | |
}, | |
{ |
This file contains 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
esphome: | |
name: esp32 | |
# on_boot: | |
# priority: -100 | |
# then: | |
# - fan.turn_on: | |
# id: living_room_fan | |
# speed: 50 | |
esp32: |
This file contains 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
# | |
utility_meter: | |
daily_energy: | |
source: sensor.pzem_004t_energy | |
name: PZEM-004T Daily Energy | |
cycle: daily | |
tariffs: | |
- peak | |
- offpeak | |
monthly_energy: |
NewerOlder