Skip to content

Instantly share code, notes, and snippets.

@Stuyk
Stuyk / index.js
Created March 15, 2024 03:33
Ethereum Address & Balance Checker
// This is incredibly stupid and you will never hit an address with a balance.
// Anyway, enjoy.
const bip39 = require("bip39");
const { hdkey } = require("@ethereumjs/wallet");
const { Web3 } = require("web3");
const web3 = new Web3("RPC_ENDPOINT_GOES_HERE");
const generateMnemonic = () => {
const TATTOO_GROUPS = {
mpairraces_overlays: [
{
name: 'Turbulence',
male: 'MP_Airraces_Tattoo_000_M',
female: 'MP_Airraces_Tattoo_000_F',
zone: 'ZONE_TORSO'
},
{
name: 'Pilot Skull',
@Stuyk
Stuyk / gist:c65f345b73a7eab4a0ee30b540e57c76
Created April 15, 2020 16:20
GTA:V Hair Overlay Values
export const HairOverlaysMale = {
0: { collection: 'mpbeach_overlays', overlay: 'FM_Hair_Fuzz' },
1: { collection: 'multiplayer_overlays', overlay: 'NG_M_Hair_001' },
2: { collection: 'multiplayer_overlays', overlay: 'NG_M_Hair_002' },
3: { collection: 'multiplayer_overlays', overlay: 'NG_M_Hair_003' },
4: { collection: 'multiplayer_overlays', overlay: 'NG_M_Hair_004' },
5: { collection: 'multiplayer_overlays', overlay: 'NG_M_Hair_005' },
6: { collection: 'multiplayer_overlays', overlay: 'NG_M_Hair_006' },
7: { collection: 'multiplayer_overlays', overlay: 'NG_M_Hair_007' },
8: { collection: 'multiplayer_overlays', overlay: 'NG_M_Hair_008' },
export const VehicleData = [
{
displayName: 'Zhaba',
manufacturer: 'RUNE',
price: 1200000,
weightKG: 1600,
drivetrain: 'AWD',
realMaxSpeedMPH: null,
gameMaxSpeedKPH: 92.5,
model: 'zhaba',
@Stuyk
Stuyk / singleton.gd
Last active August 25, 2023 16:21
Global Godot Singleton - Without Auto Loading
extends Node2D
class_name MySingleton
var hello_world: String = "Hello World!";
static var _instance: MySingleton;
static func instance() -> MySingleton:
if (!_instance):
_instance = MySingleton.new();
@Stuyk
Stuyk / femaleClothes.ts
Created April 20, 2023 20:05
(Stuyk) Clothing for GTA:V with DLC Hashes, and Max Textures Per Drawable (Generated April 20, 2023)
export const femaleClothes = {
clothes: {
'0': [
{
dlc: 0,
drawable: 0,
maxTextures: 1,
},
{
dlc: 0,
@Stuyk
Stuyk / aInterfaces.ts
Last active April 23, 2023 01:14
GTA:V Clothing Maximums (April 22, 2023)
interface ComponentData {
[component: number]: {
[drawable: number]: number;
};
}
interface ClothingList {
clothing: { [dlc: number]: ComponentData };
props: { [dlc: number]: ComponentData };
}
@Stuyk
Stuyk / gist:d134315df8ae55482d14c6c784aa6c08
Created April 15, 2020 16:36
GTA:V Ped Head Overlays
const pedHeadOverlays = [
{
label: 'Facial Hair',
key: 'facialhair',
value: 0,
min: 0,
max: 28,
increment: 1,
id: 1,
colorType: 1
@Stuyk
Stuyk / gist:ed191dc92528a58765048ee72b8899fb
Created April 15, 2020 16:31
GTA:V Face Structure List
const StructureGroup: [
{
label: 'Nose Width',
key: 'nosewidth',
value: 0,
min: -1,
max: 1,
increment: 0.1,
id: 0
},
@Stuyk
Stuyk / gist:76f8f31c1a08bd04afc88917f3aeb829
Created April 15, 2020 16:24
GTA:V Incorrect Hairstyle Names and Colors
export const maleHairNames = [
'Close Shave',
'Buzzcut',
'Faux Hawk',
'Shaved Sides Slicked Back',
'Raised Front Same Length',
'Col De Sacs and Long Back',
'Close Shave and Loose Mohawk',
'Ponytail',
'Corn Rows',