Skip to content

Instantly share code, notes, and snippets.

View disjukr's full-sized avatar
🌇
I wanna something happen like a movie in my life

JongChan Choi (Rieul) disjukr

🌇
I wanna something happen like a movie in my life
View GitHub Profile
@disjukr
disjukr / DefaultKeyBinding.dict
Created December 25, 2013 11:58
my mac keybinding (Users/disjukr/Library/KeyBindings/DefaultKeyBinding.dict)
{
/* home */
"\UF729" = "moveToBeginningOfLine:";
"$\UF729" = "moveToBeginningOfLineAndModifySelection:";
/* end */
"\UF72B" = "moveToEndOfLine:";
"$\UF72B" = "moveToEndOfLineAndModifySelection:";
/* page up */
"\UF72C" = "pageUp:";
/* page down */
@disjukr
disjukr / TGM_randomizer.md
Last active January 1, 2016 09:09
TGM randomizer

원문: TGM randomizer

아리카의 테트리스 그랜드 마스터 시리즈에서 대부분의 게임은 같은 테트로미노가 연속적으로 나오지 않도록 순서를 뒤섞는다. 히스토리에는 최근에 나온 4 개의 테트로미노 조각을 담고, 가능한 이 중에 없는 테트로미노를 골라내도록 시도한다. 이 랜더마이저는 히스토리에 없는 조각이 나오지 않으면 주어진 횟수만큼 다시 "주사위를 던진다". TGM1은 4 번 시도한다; 이후 게임들이 사용하는 TGM 랜더마이저는 6 번 시도한다.

/*
code
{
char: string,
cho: number,
jung: number,
jong: number,
eliminate: boolean
}
*/
@disjukr
disjukr / Default (OSX).sublime-keymap
Last active July 27, 2016 05:53
My sublime text setting file
[
{ "keys": ["home"], "command": "move_to", "args": {"to": "bol"} },
{ "keys": ["end"], "command": "move_to", "args": {"to": "eol"} },
{ "keys": ["shift+end"], "command": "move_to", "args": {"to": "eol", "extend": true} },
{ "keys": ["shift+home"], "command": "move_to", "args": {"to": "bol", "extend": true } }
]
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@disjukr
disjukr / SplattingTerrain.shader
Created April 1, 2013 16:37
unity3d shader for terrain
Shader "Custom/SplattingTerrain"
{
Properties
{
_R ("R channel Image", 2D) = "white" {}
_G ("G channel Image", 2D) = "white" {}
_B ("B channel Image", 2D) = "white" {}
_A ("A channel Image", 2D) = "white" {}
}
SubShader

문자열 인코딩에 대해서...

문자 코드는 우리가 표현하고자 하는 문자들의 집합을 코드화시킨 것이고, 문자열 인코딩은 그러한 문자 코드의 배열을 메모리상에 표현하는 방법입니다.

문자 코드 인코딩
아스키 코드 iso 8859
// ==UserScript==
// @name discord-mini
// @namespace http://0xabcdef.com/discord-mini
// @version 0.0.1
// @description 디스코드 방목록이랑 유저목록 가리고싶엉
// @author JongChan Choi <jong@chan.moe>
// @match https://discordapp.com/channels/*
// @grant none
// ==/UserScript==
@disjukr
disjukr / favorites.jql
Last active March 29, 2019 04:50
지라 즐겨찾기 필터 모음
# 나에게 할당된 이슈
assignee = currentUser() AND statusCategory != Done
# 내 거지만 아직 진행중이진 않은 이슈
assignee = currentUser() AND statusCategory = "To Do"
# 내 이슈중 3개월 넘게 업데이트 안 된 이슈
assignee = currentUser() AND statusCategory != Done AND updatedDate < startOfMonth(-3m)
# 내가 진행중인 이슈
// ==UserScript==
// @name langdev irccloud
// @namespace http://0xABCDEF.com/userscript/irccloud/langdev
// @version 0.1
// @description try to take over the world!
// @author You
// @match https://www.irccloud.com/*
// @grant none
// ==/UserScript==
(function () {