Skip to content

Instantly share code, notes, and snippets.

View synchrok's full-sized avatar
๐Ÿ™‚

Woosung Jeon synchrok

๐Ÿ™‚
  • Awesomepiece
  • Seoul, South Korea
View GitHub Profile
@synchrok
synchrok / SpriteShapeFlip.cs
Created September 13, 2022 09:33
[Unity] X-Axis flip to SpriteShapeController spline
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.U2D;
#if UNITY_EDITOR
using UnityEditor;
#endif
public class SpriteShapeFlip {
#if UNITY_EDITOR
using UnityEditor;
[InitializeOnLoad]
public class DisableRecompile {
static bool waitingForStop = false;
static DisableRecompile() {
EditorApplication.update += OnEditorUpdate;
}
public static class Utility {
public static bool Eulrlega(string word) {
var last = word[word.Length - 1];
if (last < 0xAC00)
return true;
last -= (char)0xAC00;
var jong = (char)((last % 28) + 0x11a7);
@synchrok
synchrok / LerpBlurA.java
Last active December 17, 2015 00:28 — forked from mattdesl/LerpBlurA.java
Pixmap's width and height have to same for blur with using this way (LerpBlurA) so I fixed this problem (make pixmap to same width and height).
import com.badlogic.gdx.ApplicationListener;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.backends.lwjgl.LwjglApplication;
import com.badlogic.gdx.backends.lwjgl.LwjglApplicationConfiguration;
import com.badlogic.gdx.graphics.GL10;
import com.badlogic.gdx.graphics.OrthographicCamera;
import com.badlogic.gdx.graphics.Pixmap;
import com.badlogic.gdx.graphics.Pixmap.Format;
import com.badlogic.gdx.graphics.Texture;
import com.badlogic.gdx.graphics.Texture.TextureFilter;
@synchrok
synchrok / eulrlega.cpp
Created March 9, 2013 19:57
* eulrlera (์„๋ฅผ์ด๊ฐ€) * ๋‹จ์–ด ๋’ค์— ๋ถ™์„ ๋ง์ด ์„(์ด/์€)์ธ์ง€ ๋ฅผ(๊ฐ€/๋Š”)์ธ์ง€ ์•Œ๋ ค์ฃผ๋Š” ํ•จ์ˆ˜ * @param (wchar_t*) * @return true(์„, ์ด, ์€) / false(๋ฅผ, ๊ฐ€, ๋Š”)
#include <windows.h>
#include <iostream>
#include <locale>
using namespace std;
boolean eulrlega(wchar_t *word)
{
int len = wcslen(word);
wchar_t completeCode = word[len-1];
@synchrok
synchrok / eulrlega.java
Last active November 5, 2023 11:16
eulrlera (์„๋ฅผ์ด๊ฐ€): ๋ฌธ์ž์—ด ๋’ค์— ๋ถ™์„ ๋ง์ด ์„(์ด/์€)์ธ์ง€ ๋ฅผ(๊ฐ€/๋Š”)์ธ์ง€ ์•Œ๋ ค์ฃผ๋Š” ํ•จ์ˆ˜
public class Utility {
public static boolean eulrlega(String word) {
char last = word.charAt(word.length()-1);
if(last < 0xAC00)
return true;
last -= 0xAC00;
char jong = (char) ((last % 28) + 0x11a7);