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
# /// script
# dependencies = [
# "prefect",
# "networkx",
# ]
# ///
from typing import Any, Dict
import networkx as nx
@jamiephan
jamiephan / README.md
Last active June 16, 2025 17:51
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 June 14, 2025 18:43
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 April 29, 2025 00:17
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 10, 2025 12:58
Connection to the App Store Connect API using Python3
@Vonflaken
Vonflaken / VirtualJoystick.cs
Last active June 1, 2021 02:36
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
@kdrzymala
kdrzymala / InjcetableFeature.cs
Last active January 4, 2023 08:26
A feature that's Injectable by Zenject
using Entitas;
using Zenject;
using System.Collections;
using System.Collections.Generic;
public class InjectableFeature : Feature
{
public InjectableFeature()
: base()
{
@LotteMakesStuff
LotteMakesStuff / 1.md
Last active January 2, 2025 21:54
UPM: How to make a custom package

UPM: How to make a custom package So, Unity has this shiny new package manager, and you have code you want to share between projects - wouldn't it be great if we could bundle up our shared code and plug it into all the projects that need it? Let's figure out how to make our own Package!


Todo

  • Modify the project manifest
  • Make a package manifest
  • Package the manifest up with some test code
  • Try it out in Unity!