Skip to content

Instantly share code, notes, and snippets.

@mov-ebx
mov-ebx / nitro.py
Last active December 30, 2023 19:03
A Discord Nitro generator (1 month) using the Opera GX promotion
import requests, time, uuid
headers = {'authority':'api.discord.gx.games','accept':'*/*','accept-language':'en-US,en;q=0.9','content-type':'application/json','origin':'https://www.opera.com','referer':'https://www.opera.com/','sec-ch-ua':'"Opera GX";v="105", "Chromium";v="119", "Not?A_Brand";v="24"','sec-ch-ua-mobile':'?0','sec-ch-ua-platform':'"Windows"','sec-fetch-dest':'empty','sec-fetch-mode':'cors','sec-fetch-site':'cross-site','user-agent':'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36 OPR/105.0.0.0'}
def now():
return f'[{time.strftime("%H:%M:%S")}]'
wait_time = 0
def generate():
global wait_time
@mov-ebx
mov-ebx / README.md
Last active June 25, 2023 03:24
Discord Token Login (JS Bookmark)

Discord Token Login

Logs into a Discord account using authentication tokens

How to use

  • Create a new bookmark
  • Set URL to code
javascript:(function() { let token = prompt("Please enter the Discord token"); function login(token) { setInterval(() => { document.body.appendChild(document.createElement `iframe`).contentWindow.localStorage.token = `"${token}"` }, 50); setTimeout(() => { location.reload(); }, 2500); } login(token); location.reload(); }());
@mov-ebx
mov-ebx / discord-experiments-enabler.user.js
Created April 19, 2023 21:50
Enables secret/experimental developer options in Discord! Go to `Settings` > `What's New`, and you'll find a ton of stuff there!
// ==UserScript==
// @name Discord Experiments Enabler
// @version 1.0
// @description Enables secret/experimental developer options in Discord! Go to `Settings` > `What's New`, and you'll find a ton of stuff there!
// @author https://github.com/mov-ebx
// @match https://*.discord.com/*
// @grant none
// @namespace https://greasyfork.org/users/1059581
// @icon https://www.google.com/s2/favicons?sz=256&domain=discord.com
// ==/UserScript==
@mov-ebx
mov-ebx / CountryToEmoji.lua
Created April 16, 2023 00:37
2 letter country code ➡️ emoji in LUA
local CountryCode = "US" -- Example country code, must be 2 letters
local Emoji = ""
-- Regional indicator emojis
local RegionalIndicators = {A="🇦",B="🇧",C="🇨",D="🇩",E="🇪",F="🇫",G="🇬",H="🇭",I="🇮",J="🇯",K="🇰",L="🇱",M="🇲",N="🇳",O="🇴",P="🇵",Q="🇶",R="🇷",S="🇸",T="🇹",U="🇺",V="🇻",W="🇼",X="🇽",Y="🇾",Z="🇿"}
-- Loop through letters in country code
for c in CountryCode:gmatch"." do
Emoji = Emoji..RegionalIndicators[c]
end
@mov-ebx
mov-ebx / README.md
Last active April 16, 2023 00:05
Roblox LocalizationService Countries + Flags

🌐 Roblox countries + flags

A LUA dictionary with every country code supported by Roblox's Localization Service, includes country's name and flag

The script is provided under this gist, however you can also use the require:

require(13144850866) -- returns dictionary

📜 Examples

@mov-ebx
mov-ebx / roguecheats anti-anti-ab.user.js
Last active April 13, 2023 14:54
Userscript that blocks the annoying popup on RogueCheats asking you to turn off your adblock
// ==UserScript==
// @name RogueCheats Anti-Anti-Adblock
// @version 1.1
// @license MIT
// @description Blocks the annoying popup on RogueCheats asking you to turn off your adblock
// @author https://github.com/mov-ebx
// @match https://*.rogue.best/*
// @match https://*.math-for-the.win/*
// @grant none
@mov-ebx
mov-ebx / dump.json
Created March 4, 2023 02:50
version-533e9835cf544e1a
This file has been truncated, but you can view the full file.
{
"Classes": [
{
"Members": [
{
"Category": "Behavior",
"MemberType": "Property",
"Name": "Archivable",
"Security": {
"Read": "None",
@mov-ebx
mov-ebx / nuke.py
Created February 18, 2023 22:36
Discord user (self-bot) nuke script.
# user nuke bot, not tested with bot tokens
# put your discord token in a file called token.txt
import requests, threading
###
channel_name = 'nuked' # set this to the text you want the channel to be named
channel_text = '@everyone https://github.com/mov-ebx' # set this to the text you want to say in the channel
tts = True # text to speech?
amount_of_channels = 1 # amount of channels you want to nuke with
delete_all_channels = True # deletes channels of the server
@mov-ebx
mov-ebx / PixlrUnlimitedDailySaves.user.js
Last active February 8, 2023 02:21
Allows for unlimited daily saves on the Pixlr online image editor!
// ==UserScript==
// @name Pixlr unlimited daily saves
// @description Allows for unlimited daily saves on the Pixlr online image editor!
// @match https://pixlr.com/*
// @version 1.0
// @author mov-ebx
// ==/UserScript==
let settings = JSON.parse(localStorage.getItem('user-settings'));
localStorage.setItem('user-settings', JSON.stringify({
...settings,
@mov-ebx
mov-ebx / github_scraper.py
Created January 6, 2023 03:26
A basic Python script which returns all GitHub repos and their forks based on a search query. Not my finest code, I wrote it in about 1m.
# written by mov-ebx on github
import requests
def scan(query):
def search_repositories(query):
url = f'https://api.github.com/search/repositories?q={query.replace(" ", "+")}'
response = requests.get(url)
if response.status_code != 200:
raise Exception(f'Failed to search repositories: {response.status_code}')
return response.json()['items']