Things you need...
chrome browser in your system chromdervier (add it in your environment PATH) https://chromedriver.chromium.org/downloads
install selenium with pip
pip install selenium
then use below script
Things you need...
chrome browser in your system chromdervier (add it in your environment PATH) https://chromedriver.chromium.org/downloads
install selenium with pip
pip install selenium
then use below script
#!/data/data/com.termux/files/usr/bin/bash | |
# Get the URL | |
URL=$1 | |
clear | |
# Check if its spotify URL or not. | |
# if it is then execute spotifydl command to download. |
/* | |
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; |
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 ([email protected]) | |
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/[email protected] <<< | |
09-14 00:20:02.120 3074 3074 F DEBUG : #00 pc 00000000000052f8 /vendor/lib64/hw/fingerprint.searchf.so |
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) |