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
# -*- coding: utf-8 -*- | |
from PySide import QtCore, QtGui | |
import os | |
class MainW(QtGui.QDialog): | |
def __init__(self, parent=None): | |
super(MainW, self).__init__(parent) | |
self.resize(350, 300) | |
self.verticalLayout_2 = QtGui.QVBoxLayout(self) |
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
a. Adb Command for FRP Reset 1 | |
* adb shell content insert --uri content://settings/secure --bind name:s:user_setup_complete --bind value:s:1 | |
b. Adb Command for FRP Reset 2 | |
* adb shell am start -n com.google.android.gsf.login/ | |
* adb shell am start -n com.google.android.gsf.login.LoginActivity | |
d. Fastboot Command for FRP Reset 1 | |
* fastboot -w | |
e. Fastboot Command for FRP Reset 2 | |
*fastboot erase config | |
f. Fastboot Command for FRP Reset 3 |
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
#include <ESP8266WiFi.h> | |
#include <DNSServer.h> | |
#include <ESP8266WebServer.h> | |
#include <WiFiManager.h> | |
#include <ESP8266mDNS.h> | |
#define wpump 14 | |
#define yard 12 | |
#define hkitchen 4 | |
#define room 5 |
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 sys | |
try: | |
import requests | |
except: | |
print('Please install requests: "pip install requests"') | |
sys.exit() | |
try: | |
from bs4 import BeautifulSoup as bs | |
except: | |
print('Please install BeautifulSoup: "pip install bs4"') |
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 sys | |
try: | |
import requests | |
except: | |
print('Please install requests: "pip install requests"') | |
sys.exit() | |
try: | |
from bs4 import BeautifulSoup as bs | |
except: | |
print('Please install BeautifulSoup: "pip install bs4"') |
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
Enable diag | |
adb devices | |
adb shell | |
su | |
setprop sys.usb.config diag,adb | |
disable diag | |
adb devices |