Skip to content

Instantly share code, notes, and snippets.

View lnstchtped's full-sized avatar
🦫
Oramnj Guice

LnsTchTps lnstchtped

🦫
Oramnj Guice
  • 19:55 (UTC -07:00)
View GitHub Profile
@lnstchtped
lnstchtped / noVNCCopyPasteProxmox.user.js
Created October 11, 2024 01:03 — forked from amunchet/noVNCCopyPasteProxmox.user.js
Copy/Paste for noVNC Proxmox
// ==UserScript==
// @name noVNC Paste for Proxmox
// @namespace http://tampermonkey.net/
// @version 0.2a
// @description Pastes text into a noVNC window (for use with Proxmox specifically)
// @author Chester Enright
// @match https://*
// @include /^.*novnc.*/
// @require http://code.jquery.com/jquery-3.3.1.min.js
// @grant none
import requests
from time import sleep
WEBHOOK_URL = "https://discord.com/api/webhooks/your_webhook_url_here"
while True:
if "Authentication Required" not in requests.get("https://www.friend.tech/").text:
requests.post(WEBHOOK_URL, json={"content": "ft live!"})
break
else:
@lnstchtped
lnstchtped / main.py
Created February 19, 2024 04:35
Brainybrawls Bot
import json
import time
import tls_client
def add(x, y):
return x + y