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
import os | |
import time | |
import sys | |
import csv | |
import datetime | |
import subprocess | |
from huawei_lte_api.Client import Client | |
from huawei_lte_api.Connection import Connection |
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
// Simple script that adds a "incognito" shortcut to ChatGPT (toggles the history) | |
// run this in the console, or add it to StopTheMadness, Tampermonkey or similar | |
// Author @gnyman | |
// Licence CCO | |
function waitForElement(xpath) { | |
return new Promise((resolve, reject) => { | |
// Check if the element already exists | |
var existingElement = document.evaluate(xpath, document, null, XPathResult.FIRST_ORDERED_NODE_TYPE, null).singleNodeValue; | |
if (existingElement) { |
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
<?php | |
/* == Minimal stupidly simple file upload script == | |
* *DO NOT USE THIS IN A UNTRUSTED ENVIRONMENT* | |
* There very little security. I have tried to block the most obvious thing | |
* (uploading of php files) and directory traversal. But this was done in 30 | |
* minutes mostly with a LLM so I wouldn't trust it at all. Use something | |
* better for a untrusted environment. | |
* | |
* With that said, you can run this by placing it in a folder, naming it | |
* index.php then running php -S 0.0.0.0:8000 in that folder. You can then |
OlderNewer