]*>([\s\S]*?)<\/element-name>
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 rows = document.querySelectorAll('#dataGridRight table tbody tr.listCell'); | |
const result = []; | |
rows.forEach(row => { | |
const cells = row.querySelectorAll('td'); | |
const title = cells[0].textContent.trim(); | |
if(!cells[2]) return; | |
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
// claim_daily_login | |
const res = await fetch("https://gateway.venge.io/?request=request_ads_coin", { | |
"headers": { | |
"accept": "*/*", | |
"accept-language": "en-US,en;q=0.9", | |
"content-type": "application/x-www-form-urlencoded", | |
"sec-fetch-mode": "cors", | |
"sec-fetch-site": "same-site" | |
}, | |
"referrer": "https://venge.io/", |
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 getNumber(el) { | |
const value = el.querySelector('[data-e2e="video-views"]').textContent; | |
if (value.endsWith("K")) { | |
return parseInt(value.replace("K", "")) * 1_000; | |
} else if (value.endsWith("M")) { | |
return parseInt(value.replace("M", "")) * 1_000_000; | |
} | |
} |
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
echo -e " | |
127.0.0.1 marriott.com | |
" | sudo tee -a /etc/hosts >/dev/null |
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 K_FACTOR = 20; | |
const RATING_SCALING = 400; | |
interface Player { | |
isWin: boolean; | |
elo: number; | |
} | |
interface Result { | |
firstPlayer: Player; |
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 lessonUUID = window.location.pathname.split("/")[2]; | |
const sleep = (m) => new Promise((r) => setTimeout(r, m)); | |
fetch( | |
`https://api.garbanzo.io/api/assignment/${lessonUUID}?localized_date_time=2023-09-14%2011:31:06`, | |
{ | |
headers: { | |
authorization: localStorage.getItem("auth._token.local"), | |
}, | |
method: "GET", |
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
window.onload = () => { | |
const blackList = [ | |
"Math", | |
"Science", | |
]; | |
const observer = new MutationObserver((mutationsList) => { | |
for (const mutation of mutationsList) { | |
if (mutation.type === "childList" && mutation.addedNodes.length > 0) { | |
const matchingElements = Array.from( |
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
#include <ESP8266WiFi.h> | |
#include <ESP8266HTTPClient.h> | |
#include <WiFiClientSecure.h> | |
#include <Arduino_JSON.h> | |
#include <LedControl.h> | |
#include <NTPClient.h> | |
#include <WiFiUdp.h> | |
int latitude = 48.83; | |
int longitude = 10.09; |
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
"workbench.colorCustomizations": { | |
// Contrast Colors - The contrast colors are typically only set for high contrast themes. If set, they add an additional border around items across the UI to increase the contrast. | |
"contrastActiveBorder": "", | |
"contrastBorder": "", | |
// Base Colors | |
"focusBorder": "", | |
"foreground": "", | |
"widget.shadow": "", | |
"selection.background": "", | |
"descriptionForeground": "", |
NewerOlder