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 July 1, 2024 09:54
[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 November 12, 2024 05:44
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 November 17, 2024 18:07
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