Skip to content

Instantly share code, notes, and snippets.

View rumaniel's full-sized avatar
๐Ÿ’€
I'm fine thank you and you?

Ruman Kim rumaniel

๐Ÿ’€
I'm fine thank you and you?
View GitHub Profile
@FreyaHolmer
FreyaHolmer / AssetCopyUtils.cs
Last active June 12, 2024 07:25
Adds context menu items to assets: Copy/Paste import settings & Copy GUID. Put this script in any Editor/ folder in your project and recompile!
// written by https://github.com/FreyaHolmer so use at your own risk c:
using System.Collections.Generic;
using UnityEditor;
using UnityEngine;
/// <summary>Utility functions to copy GUIDs, as well as Copy/Paste import settings</summary>
public static class AssetCopyUtils {
const int CTX_MENU_LOCATION = 70;
@jacking75
jacking75 / 1.md
Created April 24, 2023 14:47
์ปดํˆฌ์Šค ์„œ๋ฒ„ ์บ ํผ์Šค 1๊ธฐ ๊ณผ์ œ1 ASP.NET Core ํ•™์Šต ์ •๋ฆฌ - ํ•œ์„ฑ์žฌ

REST

  • ์˜๋ฏธ: ์ž์›์„ ์ด๋ฆ„์œผ๋กœ ๊ทธ๋ถ„ํ•˜์—ฌ ํ•ด๋‹น ์ž์›์˜ ์ƒํƒœ๋ฅผ ์ฃผ๊ณ ๋ฐ›๋Š” ๋ชจ๋“  ๊ฒƒ. -> ์ž์›์˜ ํ‘œํ˜„์— ์˜ํ•œ ์ƒํƒœ ์ „๋‹ฌ
  • REST API URL ๋„ค์ด๋ฐ ๊ทœ์น™
    1. ๋™์‚ฌ๋ณด๋‹ค ๋ช…์‚ฌ์‚ฌ์šฉ
    2. ๋Œ€๋ฌธ์ž๋ณด๋‹ค ์†Œ๋ฌธ์ž ์‚ฌ์šฉ
    3. ๋งˆ์ง€๋ง‰์— '/' ์‚ฌ์šฉ X
    4. '_' ๋Œ€์‹  '-' ์‚ฌ์šฉ
  1. ํŒŒ์ผ ํ™•์žฅ์ž ํฌํ•จ X
@IJEMIN
IJEMIN / UnityPackageBatchUpdate.cs
Last active October 14, 2023 19:57
Batch update all installed unity packages in the project
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEditor;
using UnityEditor.PackageManager.Requests;
using UnityEditor.PackageManager;
using UnityEngine;
using Unity.EditorCoroutines.Editor;
namespace Unity.Editor.Example
@Widdershin
Widdershin / ssr.md
Last active May 1, 2024 17:36
The absurd complexity of server-side rendering

In the olden days, HTML was prepared by the server, and JavaScript was little more than a garnish, considered by some to have a soapy taste.

After a fashion, it was decided that sometimes our HTML is best rendered by JavaScript, running in a user's browser. While some would decry this new-found intimacy, the age of interactivity had begun.

But all was not right in the world. Somewhere along the way, we had slipped. Our pages went uncrawled by Bing, time to first meaningful paint grew faster than npm, and it became clear: something must be done.

And so it was decided that the applications first forged for the browser would also run on the server. We would render our HTML using the same logic on the server and the browser, and reap the advantages of both worlds. In a confusing series of events a name for this approach was agreed upon: Server-side rendering. What could go wrong?

In dark rooms, in hushed tones, we speak of colours.

@LotteMakesStuff
LotteMakesStuff / AutohookAttribute.cs
Last active March 18, 2025 14:51
[Autohook] property drawer for unity - Add this [Autohook] attribute to a property to and the inspector will automagically hook up a valid reference for you if it can find a component attached to the same game object that matches the field you put it on. You can watch a demo of this in action here https://youtu.be/faVt09NGzws <3
// NOTE DONT put in an editor folder!
using UnityEngine;
public class AutohookAttribute : PropertyAttribute
{
}
@Curookie
Curookie / Unity ์œ ๋‹ˆํ‹ฐ ์‹ค๋ฌด
Last active April 1, 2025 05:06
Unity ์œ ๋‹ˆํ‹ฐ ์‹ค๋ฌด
๊ธ€ ๋กœ๋”ฉ ์ด์Šˆ๋กœ ์•ž์œผ๋กœ ์œ ๋‹ˆํ‹ฐ ์‹ค๋ฌด2์— ์ ๊ฒ ์Šต๋‹ˆ๋‹ค.
์‹ค๋ฌด2 - https://gist.github.com/Curookie/42c979a7de7d656ec8cf6b8c01ea0457
----- ์ ˆ์ฐจ์  ์ฝ˜ํ…์ธ  ์ƒ์„ฑ(Procedural Content Generation, PCG) -----
๋žœ๋ค ์ƒ์„ฑ ์•Œ๊ณ ๋ฆฌ์ฆ˜
1. Cellular Automaton
- 2D Platformer ๋งต ์ƒ์„ฑ์‹œ ์‚ฌ์šฉํ•  ์ˆ˜ ์žˆ์Œ. (๋™๊ตด, ๋˜์ „)
2. Dungeon Room ์ƒ์„ฑ ์•Œ๊ณ ๋ฆฌ์ฆ˜ (BSP)
Binary Space Partitioning (BSP ์•Œ๊ณ ๋ฆฌ์ฆ˜)
@Split82
Split82 / UnityShadersCheatSheet.shader
Created April 17, 2018 10:07
Unity Shaders Cheat Sheet
Shader "Name" {
Properties {
_Name ("display name", Range (min, max)) = number
_Name ("display name", Float) = number
_Name ("display name", Int) = number
_Name ("display name", Color) = (number,number,number,number)
_Name ("display name", Vector) = (number,number,number,number)
@antirez
antirez / lmdb.tcl
Created April 28, 2017 15:40
LMDB -- First version of Redis written in Tcl
# LVDB - LLOOGG Memory DB
# Copyriht (C) 2009 Salvatore Sanfilippo <[email protected]>
# All Rights Reserved
# TODO
# - cron with cleanup of timedout clients, automatic dump
# - the dump should use array startsearch to write it line by line
# and may just use gets to read element by element and load the whole state.
# - 'help','stopserver','saveandstopserver','save','load','reset','keys' commands.
# - ttl with milliseconds resolution 'ttl a 1000'. Check ttl in dump!
@options
options / jugan.net
Created December 10, 2015 05:26
[์ฃผ๊ฐ„๋‹ท๋„ท] ํ˜ผ์ž ์•Œ๊ณ  ์žˆ๊ธฐ์—๋Š” ๋„ˆ๋ฌด๋‚˜ ์•„๊นŒ์šด ๊ธ€, ์†Œ์Šค ์ฝ”๋“œ, ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ๋ฅผ ๋ฐœ๊ฒฌํ•˜์…จ๊ฑฐ๋‚˜ ํ˜น์€ ๊ณต์œ ํ•˜๊ณ ์ž ํ•˜๋Š” ์†Œ์‹์ด ์žˆ์œผ์‹œ๋ฉด ์•Œ๋ ค์ฃผ์„ธ์š”
[์ฃผ๊ฐ„๋‹ท๋„ท]
@PurpleBooth
PurpleBooth / README-Template.md
Last active June 2, 2025 12:42
A template to make good README.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites