Skip to content

Instantly share code, notes, and snippets.

View SugoiDev's full-sized avatar
🎯
Focusing

SugoiDev

🎯
Focusing
View GitHub Profile
@nodlag
nodlag / EasingFunctions.cs
Last active February 21, 2023 13:14 — forked from ManeFunction/EasingFunctions.cs
Easing Functions for Godot Engine
/*
* Created by C.J. Kimberlin
* https://gist.github.com/cjddmut/d789b9eb78216998e95c
*
* Modified by Ilia Petrov
* https://gist.github.com/ManeFunction/9f2d437fca6ccf31e4a48fec0584e21a
*
* Ported to Godot Engine by Javier Garrido Galdón
*
*
@ChristopherSchubert
ChristopherSchubert / EditorGUIIconGenerator.cs
Last active March 13, 2023 16:11
This script makes using Unity3D EditorGUI icons simple. It should work in any version of the Editor, because it scans the editor for icons rather than hard-coding them. Drop the script in your project, and then navigate to the menu "Tools > EditorGUI Icons > Explore". The UI will show you the icons, let you regex search them, and if you click th…
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Text.RegularExpressions;
using UnityEditor;
using UnityEditor.Experimental;
using UnityEngine;
using System;
using System.Collections.Generic;
using Sirenix.OdinInspector.Editor;
using Sirenix.OdinInspector.Editor.Validation;
using Sirenix.Utilities.Editor;
using UnityEngine;
[DrawerPriority(0.0, 10000.1)]
public class MiniValidationDrawer<T> : OdinValueDrawer<T>, IDisposable
{
@ManeFunction
ManeFunction / EasingFunctions.cs
Last active May 3, 2024 13:32 — forked from cjddmut/EasingFunctions.cs
Easing Functions for Unity3D
/*
* Created by C.J. Kimberlin
* Refactored by Mane Function
*
* The MIT License (MIT)
*
* Copyright (c) 2019-2023
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@premek
premek / mv.sh
Last active March 5, 2024 17:43
Rename files in linux / bash using mv command without typing the full name two times
# Put this function to your .bashrc file.
# Usage: mv oldfilename
# If you call mv without the second parameter it will prompt you to edit the filename on command line.
# Original mv is called when it's called with more than one argument.
# It's useful when you want to change just a few letters in a long name.
#
# Also see:
# - imv from renameutils
# - Ctrl-W Ctrl-Y Ctrl-Y (cut last word, paste, paste)
@liortal53
liortal53 / EmbedPackage.cs
Created October 25, 2019 07:19
Embed package into your Unity project to modify the code more easily :)
using System.IO;
using UnityEditor.PackageManager;
using UnityEngine;
namespace UnityEditor.Extensions
{
#if UNITY_2017_3_OR_NEWER
/// <summary>
/// Editor extension for embedding packages as a local copy in the project.
@lordlycastle
lordlycastle / DataSerializer.cs
Last active May 9, 2024 22:21
Inspector window that can serialize an object to disk and load it back up. Can use various methods e.g. binary, JSON, nodes. Good for saving data to disk for later use.
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.IO;
using System.Linq;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using Sirenix.OdinInspector;
@zerog2k
zerog2k / ypyt_sensor_parse.py
Last active April 20, 2023 15:30
reads and parses sensor data of JQ-200 / JQ-300 from ypyt cloud for given device token
#!/usr/bin/env python3
""" reads and parses sensor data from ypyt cloud for given device token """
# see https://github.com/xoseperez/espurna/issues/1644 for more context
import json
import os
import sys
import paho.mqtt.client as mqtt
import time as t
@thefranke
thefranke / RSS.md
Last active April 16, 2024 09:03
A list of RSS endpoints, readers and resources

The RSS Endpoint List

Please refer to this blogpost to get an overview.

Replace *-INSTANCE with one of the public instances listed in the scrapers section. Replace CAPITALIZED words with their corresponding identifiers on the website.

Social Media

Twitter

@zoon
zoon / update-unity-compiler.cmd
Last active February 25, 2019 11:04
Latest version of Roslyn for unity.incrementalcompiler
@rem update-unity-compiler.cmd
@rem start in */com.unity.incrementalcompiler@X.Y.ZZ folder
@echo off
@rem NOTE: FIND.EXE can clash with git/msys/cygwin's find
for %%a in (%ComSpec%) do set __system=%%~dpa
%__system%FIND.EXE /i "com.unity.incrementalcompiler" package.json 1> NUL
if %errorlevel% neq 0 goto :not_found
nuget install Microsoft.Net.Compilers -verbosity quiet