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
function scrollToBottom(searchText, cb) { | |
console.log("Search Text", searchText) | |
let mainDiv = Array.from(document.querySelectorAll("span")).find(e => e.innerText.indexOf(searchText) != -1).parentElement.parentElement.parentElement.parentElement.parentElement.parentElement.parentElement.parentElement.parentElement.parentElement; | |
console.log(mainDiv) | |
mainDiv.scrollTo({ top: mainDiv.scrollHeight, behavior: 'smooth' }); | |
if(mainDiv.scrollTop === mainDiv.scrollHeight - mainDiv.offsetHeight) { | |
console.log("We've reached the end of the comments section!"); | |
cb(); | |
} else { |
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
#!/usr/bin/env bash | |
## | |
## Script for cross-compiling bootstrap archives without an apt repo. | |
## On-device builds currently not supported. | |
## | |
set -e | |
. $(dirname "$(realpath "$0")")/properties.sh |
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
const http = require("http"); | |
const token = "ACCESSTOKEN"; | |
const deviceMAC = "00:00:00:00:00" | |
const remoteServer = "139.59.236.228:4445" | |
http.createServer((req, res) => { | |
if(!req.headers.authorization || req.headers.authorization !== "Bearer " + token) | |
return res.end("Unauthorized"); |
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
package main | |
import ( | |
"bufio" | |
"io/ioutil" | |
"log" | |
"net" | |
"net/http" | |
"os" | |
"os/exec" |
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
// Created by 0x6a | |
// Meant for iOS Shortcuts + VLC app | |
function download(link) { | |
let dl = document.createElement("div"); | |
dl.className = 'dlbtn'; | |
dl.style = "position: absolute; width: 100%;"; | |
dl.innerHTML = "<a href='https://yt.frp.0x6a.bid/test?path=" + link + "' style='position: absolute; right: 22px; top: -40px; font-size: 14px; font-weight: bold; background-color: black; color: white; border-radius: 5px; padding:5px 15px 5px 15px;'>📥</a>"; | |
return dl; | |
} |
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
const express = require('express'); | |
const app = express(); | |
const ROUTE = "https://restaurant-1257666530.file.myqcloud.com"; |
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
createCoins: function(e, t) { | |
t.itemType = "coin"; | |
t.itemValue = e * 10; | |
t.callback && t.target && (t.callback = t.callback.bind(t.target)); | |
return this.createItem(t); | |
}, | |
createCandys: function(e, t) { | |
t.itemType = "candy"; | |
t.itemValue = e * 6; | |
t.callback && t.target && (t.callback = t.callback.bind(t.target)); |
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
isFishCollision: function() { | |
return this.fishCollision; | |
}, | |
isWasScared: function() { | |
if (this.forceScared) { | |
var e = s.default[this.fishType].fishScared; | |
this.rate = e.rate; | |
return !0; | |
} | |
if (this.scaredCollision) { |
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
Description | Modify Value/Fx | |
---|---|---|
Modify coins earned | createCoins: function(e...) { t.itemValue = e * 6; } | |
Modify candys earned | createCandys: function(e...) { t.itemValue = e * 6; } | |
Modify loves earned | createLoves: function(e...) { t.itemValue = e * 6; } | |
Modify stars earned | createStars: function(e...) { t.itemValue = e * 6; } | |
Modify tips earning | claimTip: function() { ... value: n * 1000 } | |
Modify number of touch required for promoting new customer | if (this.broadcastCount >= 1) |
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
// Prepare your links in the array | |
// To download the file use aria2c using the command | |
// aria2c -x8 -j8 --input-file=dl.txt | |
const puppeteer = require("puppeteer"); | |
const fs = require("fs"); | |
const links = [ | |
"http://www1.icdrama.to/watch-online-the-great-craftsman-episode-12-149928.html", | |
"http://www1.icdrama.to/watch-online-the-great-craftsman-episode-13-150136.html", | |
"http://www1.icdrama.to/watch-online-the-great-craftsman-episode-14-150140.html", |
NewerOlder