Skip to content

Instantly share code, notes, and snippets.

View webmonch's full-sized avatar
🍪
Baking something

Vladyslav Melnychenko webmonch

🍪
Baking something
View GitHub Profile
@fengtality
fengtality / humidifi-swap-parser.js
Created December 4, 2025 04:36
HumidiFi Swap Parser - Decodes obfuscated swap data from HumidiFi transactions on Solana
#!/usr/bin/env node
/**
* HumidiFi Swap Parser
* Parses and decodes obfuscated swap data from HumidiFi transactions on Solana.
*
* HumidiFi obfuscates swap parameters using XOR encryption. This script decrypts
* the data and extracts: pool address, tokens involved, and swap amounts.
*
* Usage:
* node humidifi-swap-parser.js <transaction_signature>
# /// script
# dependencies = [
# "prefect",
# "networkx",
# ]
# ///
from typing import Any, Dict
import networkx as nx
@jamiephan
jamiephan / README.md
Last active June 13, 2026 08:45
A script to automatically add ALL items to your account in quixel

Script to add all items from quixel

As quixel is being removed, all items are free to aquire. This script is to automate the process to add items to your account (As of writing, a total of 18874 items)

Note: This script only tested in the latest version of Chrome.

How to use

  1. Copy the script from below (run.js)
  2. Login into https://quixel.com
@thsbrown
thsbrown / DOTweenBehavior.cs
Created August 17, 2022 19:47
DOTween + Unity Timeline Example
public class DOTweenBehavior : PlayableBehaviour
{
public bool tweenPosition;
public Vector3 targetPosition;
public bool tweenRotation;
public Vector3 targetRotation;
public Ease ease;
private bool firstFrameProcessed;
private Sequence sequence;
@AbstractUmbra
AbstractUmbra / 00-deprecation.md
Last active April 29, 2026 19:55
discord.py 2.0+ slash command info and examples

This gist has now been 'deprecated' and has moved...

... to my blog style space for easier contribution by third parties and to provide what I believe to be an easier reading experience. Please field all enquiries and issues to the source repository.

@imankulov
imankulov / sqlalchemy_with_pydantic.py
Last active November 8, 2025 14:34
Using pydantic models as SQLAlchemy JSON fields (convert beween JSON and pydantic.BaseModel subclasses)
#!/usr/bin/env ipython -i
import datetime
import json
from typing import Optional
import sqlalchemy as sa
from sqlalchemy.orm import declarative_base, sessionmaker
from sqlalchemy.dialects.postgresql import JSONB
from pydantic import BaseModel, Field, parse_obj_as
provider "aws" {
version = "~> 2.0"
region = "eu-west-2"
}
# Providing a reference to our default VPC
resource "aws_default_vpc" "default_vpc" {
}
# Providing a reference to our default subnets
@corrieriluca
corrieriluca / App-Store-Connect-API-Python.md
Last active March 29, 2026 00:06
Connection to the App Store Connect API using Python3
@Omar-Ikram
Omar-Ikram / EndpointSecurityDemo.m
Last active May 24, 2026 20:17
A demo of using Apple's EndpointSecurity framework - tested on macOS Monterey 12.2.1 (21D62)
//
// main.m
// EndpointSecurityDemo
//
// Created by Omar Ikram on 17/06/2019 - macOS Catalina 10.15 Beta 1 (19A471t)
// Updated by Omar Ikram on 15/08/2019 - macOS Catalina 10.15 Beta 5 (19A526h)
// Updated by Omar Ikram on 01/12/2019 - macOS Catalina 10.15 (19A583)
// Updated by Omar Ikram on 31/01/2021 - macOS Big Sur 11.1 (20C69)
// Updated by Omar Ikram on 07/05/2021 - macOS Big Sur 11.3.1 (20E241)
// Updated by Omar Ikram on 04/07/2021 - macOS Monterey 12 Beta 2 (21A5268h)
@Vonflaken
Vonflaken / VirtualJoystick.cs
Last active November 5, 2025 12:56
Virtual joystick component for Unity mobile projects.
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
#if UNITY_EDITOR && !UNITY_CLOUD_BUILD
using UnityEditor;
#endif