Skip to content

Instantly share code, notes, and snippets.

View SwapnilSoni1999's full-sized avatar
👨‍💻
SGFoYSEgWW91IGRlY29kZWQgaXQuIGxldHMgY29ubmVjdC4K

Swapnil Soni SwapnilSoni1999

👨‍💻
SGFoYSEgWW91IGRlY29kZWQgaXQuIGxldHMgY29ubmVjdC4K
View GitHub Profile
@SwapnilSoni1999
SwapnilSoni1999 / accept_req.js
Created April 19, 2019 08:55
Facebook Auto Friend Request Accepter
/*
Open https://www.facebook.com/friends/requests and make sure theres no queries passed after /request
(like /requests?someQueryName=) it should be plain URL. Then open Browser Developer Console and
paste this code and Press Enter Key it will Automatically accept length of the request
(usually around 40-50 person)
Then you have to refresh again to do the thing so.
(C) Swapnil Soni (https://github.com/SwapnilSoni1999)
*/
var i = 0;
var len = document.querySelector('div.phl').children.length;
@SwapnilSoni1999
SwapnilSoni1999 / realme.js
Last active April 20, 2019 09:06
Realme Contest R-Power Script - Selenium Script
const webdriver = require('selenium-webdriver'),
By = webdriver.By,
Keys = webdriver.Key;
until = webdriver.until;
const chrome = require('selenium-webdriver/chrome');
const proxy = require('selenium-webdriver/proxy');
const path = require('chromedriver').path;
//env
var currentpath = process.cwd();
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
int main(int argc,char* argv[])
{
if(argc==1) {
printf("\033[0;31m");
printf("\nNo filename provided! Exiting...");
printf("\033[0m \n");
---- 14-Sep-2018 12:30:32 AM ----
09-14 00:20:01.938 928 1051 F libc : Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0 in tid 1051 (HwBinder:928_1), pid 928 (fingerprint@2.1)
09-14 00:20:02.114 3074 3074 F DEBUG : Build fingerprint: 'Xiaomi/santoni/santoni:7.1.2/N2G47H/V9.5.10.0.NAMMIFD:user/release-keys'
09-14 00:20:02.114 3074 3074 F DEBUG : pid: 928, tid: 1051, name: HwBinder:928_1 >>> /vendor/bin/hw/android.hardware.biometrics.fingerprint@2.1-service-custom <<<
09-14 00:20:02.120 3074 3074 F DEBUG : #00 pc 00000000000052f8 /vendor/lib64/hw/fingerprint.searchf.so
@SwapnilSoni1999
SwapnilSoni1999 / Buildbot-Guide.txt
Created November 28, 2017 16:48
[GUIDE] ROM Compiling from source [Buildbot]
First of all have a brief look at xda threads about compiling rom from source dont follow all stuff from there tho.. just have a look on those threads specially that jackeagle thread.
now first what you need :
If on local
-> Fast internet connection (fast enough to download 50GB rom source without waiting for a day or two xD )
-> 4core cpu(or higher)
-> 8gb minimum ram
-> Linux (Ubuntu for this guide)