Skip to content

Instantly share code, notes, and snippets.

View maximetinu's full-sized avatar
🌔
🔭

Metinu maximetinu

🌔
🔭
View GitHub Profile
@PaulLowenstrom
PaulLowenstrom / PixelLabRotate.cs
Created December 10, 2024 18:21
Rotate pixel art using PixelLabs AI models
using UnityEngine;
using UnityEditor;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using UnityEngine.Networking;
using System.IO;
// Get an api key at https://www.pixellab.ai/pixellab-api
// Documentation for curl and example code: https://api.pixellab.ai/v1/docs
@tool
extends Node
@export_storage var viewport_position: Vector2
@export_storage var viewport_size: Vector2i
@export var main_screen_position_offset := Vector2(0, -18)
@export var main_screen_size_offset := Vector2i(0, -32)
func _enter_tree() -> void:
@adammyhre
adammyhre / AnimationSystem.cs
Last active May 12, 2025 04:31
Simple Wrapper for Unity Playables API
using System;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Animations;
using UnityEngine.Playables;
using MEC; // Uses More Effective Coroutines from the Unity Asset Store
public class AnimationSystem {
PlayableGraph playableGraph;
readonly AnimationMixerPlayable topLevelMixer;
/* Numerically solve for the time-dependent Schrodinger equation in 2D,
using the split operator method. To build and run, type:
rustc qm2d_split_op.rs
./qm2d_split_op
This will output a series of bmp images which show each frame of the
simulation.
References:
@rain-1
rain-1 / LLM.md
Last active October 20, 2025 07:02
LLM Introduction: Learn Language Models

Purpose

Bootstrap knowledge of LLMs ASAP. With a bias/focus to GPT.

Avoid being a link dump. Try to provide only valuable well tuned information.

Prelude

Neural network links before starting with transformers.

@throwaway96
throwaway96 / crashd.md
Last active September 26, 2025 08:04
crashd instructions

News

EOL (2024-07-21)

I'm not going to be maintaining this document anymore. I'm leaving it as-is since much of the FAQ section is still accurate and has yet to be incorporated into other resources.

Use CanI.RootMy.TV to find an exploit for your TV.

New exploit for webOS 3.5+: DejaVuln (2024-04-21)

@santaklouse
santaklouse / CrossOver.sh
Last active October 28, 2025 07:08
unlimited CrossOver trial (MacOS)
#!/usr/bin/env bash
# checck if pidof exists
PIDOF="$(which pidof)"
# and if not - install it
(test "${PIDOF}" && test -f "${PIDOF}") || brew install pidof
# find app in default paths
CO_PWD=~/Applications/CrossOver.app/Contents/MacOS
test -d "${CO_PWD}" || CO_PWD=/Applications/CrossOver.app/Contents/MacOS
@SolidAlloy
SolidAlloy / AssetDatabaseTests.cs
Last active March 6, 2024 03:42
AssetDatabase unit tests that show the implications of Refresh() and SaveAssets()
using System;
using System.IO;
using JetBrains.Annotations;
using NUnit.Framework;
using UnityEditor;
using UnityEngine;
using Object = UnityEngine.Object;
/// <summary>
/// Unit tests that show how AssetDatabase operates.
@olegmrzv
olegmrzv / .gitattributes
Last active September 17, 2023 11:32
Git LFS Attributes for Unity Game Engine
# Git LFS tracking file types
# IronSource
*.a filter=lfs diff=lfs merge=lfs -text
IS*Adapter filter=lfs diff=lfs merge=lfs -text
GoogleMobileAds filter=lfs diff=lfs merge=lfs -text
# Image
*.jpg filter=lfs diff=lfs merge=lfs -text
*.jpeg filter=lfs diff=lfs merge=lfs -text
@arimger
arimger / BrushPrefabDrawer.cs
Last active January 31, 2022 11:04
Simple tool to create objects on a specific layer in Unity
using UnityEditor;
using UnityEngine;
//NOTE: Editor-related scripts should be placed in an Editor folder
namespace Toolbox
{
[CustomPropertyDrawer(typeof(BrushPrefab))]
public class BrushPrefabDrawer : PropertyDrawer
{