Skip to content

Instantly share code, notes, and snippets.

View VenenJean's full-sized avatar
🔮
Autonomous Software Engineer

♦ Venen Jean ♦ VenenJean

🔮
Autonomous Software Engineer
View GitHub Profile
@VenenJean
VenenJean / discord_status.js
Created December 31, 2024 09:23
A simple JS script that can be pasted in the Discord web page which will change your status based on the window.
function ChangeStatus(status) {
const jsonData = {
"status": status
};
fetch("https://discord.com/api/v10/users/@me/settings", {
method: 'PATCH',
headers: {
'Authorization': "MTEzNDU4NDk3NTc0OTA0MjM1OA.GQW9bM.LA_eT1tz3MSJqLraT755JAyCmPNAGGZv2xLJP4",
'Content-Type': 'application/json'

C++ Notes

Notes I took while learning C++.

Escape codes

std::endl; -> No escape code | Adds a new line and flushes the buffer
std::cout << "\n"; -> New line | Recommended in most cases instead of "std::endl"
std::cout << "\t"; -> Horizontal Tab