Skip to content

Instantly share code, notes, and snippets.

View Henrique-Miranda's full-sized avatar
:electron:
“Think in terms of energy, frequency and vibration.”

Henrique Miranda Henrique-Miranda

:electron:
“Think in terms of energy, frequency and vibration.”
View GitHub Profile
Enable diag
adb devices
adb shell
su
setprop sys.usb.config diag,adb
disable diag
adb devices
@Henrique-Miranda
Henrique-Miranda / facebooklogin.py
Last active October 6, 2021 02:36
Make login on facebook usind python requests. Dont work with 2fa protection. 03/08/2019
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"')
@Henrique-Miranda
Henrique-Miranda / facelogin.py
Created May 15, 2019 04:15
Facebook login using python and libs requests, beaultifulsoup 4
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"')
@Henrique-Miranda
Henrique-Miranda / smarthouse.ino
Created March 25, 2019 04:38
smarthouse arduino version
#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
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
# -*- 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)