Skip to content

Instantly share code, notes, and snippets.

View j3rr7's full-sized avatar

Jeremy j3rr7

View GitHub Profile
@j3rr7
j3rr7 / WinError.cpp
Created September 8, 2026 16:22
Force Crash Windows
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#include <winternl.h>
#pragma comment(lib, "user32.lib")
#pragma comment(lib, "kernel32.lib")
#pragma comment(lib, "ntdll.lib")
#define STATUS_ASSERTION_FAILURE ((NTSTATUS)0xC0000420L)
#define STATUS_SUCCESS ((NTSTATUS)0x00000000L)
@j3rr7
j3rr7 / tui.py
Created June 19, 2026 10:02
Conway's Game of Life
#!/usr/bin/env python3
"""
Conway's Game of Life — High-Performance Terminal UI
╔══════════════════════════════════════════════════════════╗
║ Single-file; numpy core; Textual TUI; optional numba ║
║ & CuPy GPU acceleration with clean fallback. ║
╚══════════════════════════════════════════════════════════╝
Usage:
python gol.py [--width 120] [--height 60] [--density 0.3]
@j3rr7
j3rr7 / ModUIBuilder.cs
Created May 31, 2026 17:50
UI Utility For Unity Mod
using System;
using UnityEngine;
namespace UI
{
public static class ModUIBuilder
{
private static bool _initialized = false;
public static GUIStyle WindowStyle { get; private set; }
@j3rr7
j3rr7 / Cpp.cpp
Created January 10, 2026 13:57
Prime Number in various programming language
bool isPrime(int n) {
if (n <= 1) return false;
if (n == 2) return true;
if (n % 2 == 0) return false;
for (int divisor = 3; divisor * divisor <= n; divisor += 2) {
if (n % divisor == 0) return false;
}
return true;
}
@j3rr7
j3rr7 / Hook.cpp
Created December 29, 2025 11:54
Fake CPU Core
#include "Hook.h"
#define EASY_SUCCESS(s) (NT_SUCCESS(status = s))
#define EASY_FAILED(s) (!EASY_SUCCESS(s))
Hook::Hook() {
ACLEntries_[0] = 0;
}
Hook::~Hook() {
@j3rr7
j3rr7 / README.md
Created December 24, 2025 03:23
Compile XMRIG with 0 dono with dockerfile

Compile XMRIG with 0 dono with dockerfile

to build

docker build -t <name> .

to pull the result

docker create --name tmp 
<Deny ID="ID_DENY_D_0001" Hash="000E984D3EEBC54259A24A17745EED07D9C3658B86462CB5EBC26381302F7A38" />
<Deny ID="ID_DENY_D_0002" Hash="002223FDDC5658EA22B7A8979984A9B54F63B316" />
<Deny ID="ID_DENY_D_0003" Hash="00573981F5478DBEC6704FB77131AD92E91F00178CCCCCAEB2F70763E927F2D7" />
<Deny ID="ID_DENY_D_0004" Hash="005C8117D7BF2E73E6139D3C91F24B70E22A844E" />
<Deny ID="ID_DENY_D_0005" Hash="00A813073AED7A5C795C35BF239536962683A73BB315C774DBA9838144131DEF" />
<Deny ID="ID_DENY_D_0006" Hash="00B4FDC0F7F28DDECD5B4E5880A71E7F08B5F825" />
<Deny ID="ID_DENY_D_0007" Hash="0116793210498AC83727C7B902FDBAE0FE76BB7E" />
<Deny ID="ID_DENY_D_0008" Hash="0122CDCF450F03B95B04560F77C2BB4643F379FBD903B07EA1300F9B974D32A3" />
<Deny ID="ID_DENY_D_0009" Hash="0122F7A57784F2AC460D175687450D8940CACE6E" />
<Deny ID="ID_DENY_D_000A" Hash="01371BEB459717F8030A4F1F1B3C6E041D8A540D" />
@j3rr7
j3rr7 / mouse.py
Created March 13, 2025 14:51
Mouse Movement without libraries Python (Windows)
import ctypes
from ctypes import wintypes
import time
import enum
class MouseEvent(enum.IntEnum):
"""Mouse event constants"""
LEFT_DOWN = 0x0002
LEFT_UP = 0x0004
RIGHT_DOWN = 0x0008
@j3rr7
j3rr7 / KS_Diagnostics_Process.cpp
Created February 24, 2025 01:29
KS_Diagnostics_Process Hollow for proxy dll purposes
#include <cstdio>
#define DLL \
extern "C" __declspec(dllexport)
auto __stdcall DllMain(void* hModule, int ul_reason_for_call, int lpReserved) -> int {
switch (ul_reason_for_call) {
case 1:
printf("\a");
case 2:
@j3rr7
j3rr7 / fetch_key.py
Created March 25, 2024 03:05
FileCentipede activation key fetcher
import os
import re
import requests
from bs4 import BeautifulSoup
from datetime import datetime, timedelta
headers = {
"User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36"
}