Skip to content

Instantly share code, notes, and snippets.

@aamiaa
aamiaa / CompleteDiscordQuest.md
Last active April 25, 2026 01:59
Complete Recent Discord Quest

Caution

As of April 7th 2026, Discord has expressed their intent to crack down on automating quest completion.

Some users have received the following system message:

image

There isn't much I can do to make the script undetected, so use it at your own risk, as you most likely WILL get flagged by doing so.

Complete Recent Discord Quest

@kingardor
kingardor / tkinter-webcam.py
Last active May 6, 2021 22:09
To display Webcam in a tkinter display box
import PIL
from PIL import Image,ImageTk
import pytesseract
import cv2
from tkinter import *
width, height = 1920, 1080
cap = cv2.VideoCapture(0)
cap.set(cv2.CAP_PROP_FRAME_WIDTH, width)
cap.set(cv2.CAP_PROP_FRAME_HEIGHT, height)
@audreybongalon
audreybongalon / atan2-function-for-scratch.js
Last active February 14, 2026 03:49
reference for scratch games. scratch doesn't have an atan2 function, which is very useful for calculating directions (in terms of angles). so i made a reference file here. keep in mind that scratch automatically puts things in degrees, so there's no need to have a conversion function in scratch. also, sometimes this will return values 360 degree…
function toDegrees (angle) {
return angle * (180 / Math.PI);
}
function myAtan2(y, x) {
if (x > 0) {
return toDegrees(Math.atan(y/x));
}
else if (x < 0) {
return (180 + toDegrees(Math.atan(y/x)));