Skip to content

Instantly share code, notes, and snippets.

View Euro-pol's full-sized avatar
🎯
Focusing

euro-pol Euro-pol

🎯
Focusing
  • Europe
View GitHub Profile
@atenni
atenni / README.md
Last active November 7, 2025 12:25
How to permalink to a gist's raw file

Problem: When linking to the raw version of a gist, the link changes with each revision.

Solution:

To return the first file from a gist: https://gist.github.com/[gist_user]/[gist_id]/raw/

To get a file from multi–file gist: https://gist.github.com/[gist_user]/[gist_id]/raw/[file_name]

@ikkentim
ikkentim / Memory.cs
Last active June 26, 2024 16:43
(C#) Memory class capable of reading memory of a certain process.
public struct ProcessMemory
{
#region Constructors
private ProcessMemory(Process process, int address) : this()
{
Process = process;
Address = address;
}
@Log1x
Log1x / debloatNox.md
Last active October 29, 2025 17:01
Debloating & Optimizing Nox

Debloating Nox

Nox, despite being the most feature-filled Android emulator, has a lot of negativity surrounding it due to their antics when it comes to making income off of their program. It is known for running repeated advertisments in the background, calling home and passing along system information (outside of your Android instance) as well as a vast amount of potentially sensitive data in an encrypted payload back to their multitude of servers. With the following preventitive measures, we can stop a majority of this happening as well as greatly improve the overall performance.

  1. Download and Install a fresh copy of Nox. The latest version is fine (for now). If you already have it installed, that is fine too. No need to reinstall.

  2. Enable Root Mode on Nox by clicking the gear icon and then checking the Root Startup box.

  3. Install a new Launcher from the Play Store. ANYTHING but Nox's default. I suggest [Nova Launcher](https://play.google.com/s

@LuxXx
LuxXx / bedrock.c
Created August 2, 2020 11:46
2b2t Bedrock Finder by ChromeCrusher
/*
Written by ChromeCrusher for finding bases on 2b2t.org
This program requires you to know a top-level bedrock pattern.
A chunk-aligned 16x16 pattern (a complete chunk) is preferable and is the fastest method, but it can find any smaller pattern too (it just takes longer)
You could technically search for an area larger than 16x16 (up to 48x48), but it will be slower and the chances of finding two identical 16x16 bedrock patterns is basically zero.
An 8x8 pattern is usually enough to uniquely identify a location with a fairly low chance of false positives.
You'll need to know which direction is north. This can be found by looking at the textures of some blocks (cobblestone for example, see http://gaming.stackexchange.com/a/23103)
If you can't find which direction is north, you'll have to search for all 4 rotations of the pattern separately. I did not include a function to do it automatically because I haven't needed it.
@m-Phoenix852
m-Phoenix852 / discord-token-logger.js
Created August 26, 2020 07:45
Simple script to log in to discord account using token.
let token = "your token";
function login(token) {
setInterval(() => {
document.body.appendChild(document.createElement `iframe`).contentWindow.localStorage.token = `"${token}"`
}, 50);
setTimeout(() => {
location.reload();
}, 2500);
}
@freppp
freppp / config.yml
Last active September 3, 2025 20:00
Vulcan 2.0 Configuration File Revisions
##############################################
# Vulcan Anti-Cheat Configuration File #
##############################################
# The prefix that will be used for all of the %prefix% messages throughout the plugin
prefix: '&4&lVulcan &8»'
alerts:
# This is the chat format that will be followed when a player fails a check.
# Valid placeholders are %player% (player name), %max-vl% (max violations), %check% (name of check), %description% (check description),
@bennyscripts
bennyscripts / groupspammer.py
Last active August 20, 2022 23:31
Discord group spammer.
import json
import requests
import threading
def createGroup(token, nicks, recipients):
return requests.post("https://discord.com/api/users/@me/channels", headers={"Authorization": token, "Content-Type": "application/json", "X-Context-Properties": "eyJsb2NhdGlvbiI6Ik5ldyBHcm91cCBETSJ9"}, data=json.dumps({"nicks": nicks, "recipients": recipients}))
def spamGroups():
while True:
token = "your account token"
@BobDotCom
BobDotCom / breaking-changes-pyc.md
Last active July 8, 2022 23:13
Breaking changes in Pycord 2.0

Breaking Changes of pycord 2.0

These are the breaking changes of pycord version 2.0. This gist is copied from breaking-changes-dpy.md and will be maintained for pycord.

"Breaking change" includes:

  • [R]emoval: a feature is removed.
  • [N]ame changes: a feature is renamed.
  • [B]ehavior: something does not behave the way they did in 1.x.
  • [T]yping: types of arguments, attributes or return values changes in an incompatible way. (e.g. None disallowed for argument)
@RalphORama
RalphORama / iptables-block-as12876.sh
Created January 19, 2022 18:58
Block traffic from AS12876 (scaleway)
#!/bin/bash
set -e
if [ "$EUID" -ne 0 ]; then
echo "run this script as root!"
exit 1
fi
# ranges collected from https://ipinfo.io/AS12876