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 serverId = '1012618482094968903'; | |
const channelId = '1193845566204035092'; | |
const authorization = 'token string'; | |
const startTime = 1704672000000; | |
const endTime = 1705190400000; | |
function pick(obj, keys) { | |
const result = {}; | |
keys.forEach((key) => { | |
result[key] = obj[key]; |
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
{ | |
"IRON_ORE": { | |
"title": "Iron Ore", | |
"description": "Type of ore that can be mined from various places. A common material used for forging equipment, among other things.", | |
"rarity": 1, | |
"userItemSettingId": 1010001, | |
"imageAssetKey": "00511" | |
}, | |
"MACHALITE_ORE": { | |
"title": "Machalite Ore", |
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
Java.perform(function () { | |
const array_list = Java.use('java.util.ArrayList'); | |
const ApiClient = Java.use('com.android.org.conscrypt.TrustManagerImpl'); | |
ApiClient.checkTrustedRecursive.implementation = function () { | |
return array_list.$new(); | |
}; | |
}); |
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 getDTSG() { | |
return JSON.parse(document.querySelector("#__eqmc").textContent).f; | |
} | |
async function getComments(id, dtsg, reactions, after = "null") { | |
console.log(new Date().toLocaleString(), "Get comments...."); | |
const urlencoded = new URLSearchParams(); | |
urlencoded.append("__a", "1"); | |
urlencoded.append("__comet_req", "15"); | |
urlencoded.append("fb_dtsg", dtsg); |
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 net.pgtools.auto | |
import android.annotation.SuppressLint | |
import android.app.Service | |
import android.content.Intent | |
import android.hardware.Sensor | |
import android.hardware.SensorEvent | |
import android.hardware.SensorEventListener | |
import android.hardware.SensorManager | |
import android.os.IBinder |
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
(async () => { | |
function deleteFriend(friendId) { | |
return fetch("https://niantic-social-api.nianticlabs.com/niantic/graphql", { | |
headers: { | |
authorization: "Bearer " + localStorage.getItem("sessionToken"), | |
"content-type": "application/json", | |
}, | |
body: | |
'{"query":"mutation RemoveFriendMutation(\\n $input: UnfriendNianticUserRequest!\\n) {\\n unfriendNianticUser(input: $input) {\\n friends {\\n userId\\n nianticId\\n displayName\\n gameProfiles {\\n game\\n codename\\n }\\n avatarUrl\\n }\\n success\\n }\\n}\\n","variables":{"input":{"userId":"' + | |
friendId + |
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
var items = Array.from(Array(500)) | |
.fill(0) | |
.map(function (i, index) { | |
return { | |
id: index, | |
text: "item - " + index, | |
}; | |
}); | |
$(document).ready(function () { | |
$.fn.select2.amd.require( |
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
(async () => { | |
function sleep(ms) { | |
return new Promise((resolve) => setTimeout(resolve, ms)); | |
} | |
function getPageId() { | |
const tags = Array.from( | |
document.body.querySelectorAll("script:not([src])") | |
); |
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
document.body.addEventListener('click', event => { | |
if (!event.target.matches('button[data-clipboard-text]')) { | |
return; | |
} | |
event.preventDefault(); | |
const href = event.target.getAttribute('data-clipboard-text'); | |
const location = href.split(','); | |
console.log(location); | |
fetch('http://localhost:4444/adb', { |
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
gzip on; | |
gzip_disable "msie6"; | |
gzip_types text/plain text/css application/json application/javascript text/xml application/xml application/xml+rss text/javascript image/svg+xml; | |
server { | |
listen 80 default_server; | |
listen [::]:80 default_server; | |
root /usr/share/nginx/html; |
NewerOlder