Skip to content

Instantly share code, notes, and snippets.

View rafa-br34's full-sized avatar
🐲

rafa_br34 rafa-br34

🐲
View GitHub Profile
@rafa-br34
rafa-br34 / RobloxStreamSniper.py
Last active October 1, 2025 09:38
A simple Roblox stream sniper that I made overnight.
#< VERSION:0.1.0, REV:10
import threading
import requests
import argparse
import json
import zlib
import gzip
import time
import os
@rafa-br34
rafa-br34 / RandomWindowsKeys.py
Created October 7, 2023 06:02
A random Windows key generator.
import threading
import random
import ctypes
import time
import sys
import os
c_Workers = 32
c_Dictionary = "ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789"
@rafa-br34
rafa-br34 / Benchmark.cpp
Last active August 9, 2024 23:47
A C++17 benchmark to test branched vs branchless performance.
// Compile with
// g++ -O3 -Ofast -m64 -lstdc++ -std=c++17 Benchmark.cpp -o Benchmark
// or
// g++ -O3 -Ofast -m64 -lstdc++ -lpthread -std=c++17 Benchmark.cpp -o Benchmark
#include <iostream>
#include <cstring>
#include <vector>
#include <thread>
#include <random>
@rafa-br34
rafa-br34 / PixiesetDownloader.js
Created September 12, 2023 02:06
Downloader for pixieset
var s = "["
for (let ImageElement of document.getElementsByTagName("img")) {
if (ImageElement.getAttribute("id")) {
let str = ImageElement.getAttribute("src")
s += `'${str.substr(2, str.length)}',`
}
}
s += "]"
c = `import shutil, requests\\ns=${s}\\ni=0\\nfor u in s:\\n\\tb = requests.get('https://'+(u.replace('-large.','-xxlarge.')), stream=True)\\n\\twith open(str(i)+'.png','wb') as f:\\n\\t\\tshutil.copyfileobj(b.raw,f)\\n\\t\\ti+=1`
console.log(`python -c "exec(\\"${c}\\")"`)