Skip to content

Instantly share code, notes, and snippets.

View doortts's full-sized avatar

Suwon Chae doortts

  • South Korea
View GitHub Profile
@doortts
doortts / crossroads.navigator.js
Created January 26, 2012 02:20
Add bookmark and application state navigation(port from backbone.js) to crossroads.js
// crossroads.navigator
// ----------------
// Handles cross-browser history management, based on URL fragments. If the
// browser does not support `onhashchange`, falls back to polling.
crossroads.navigator = function() {
};
// Cached regex for cleaning hashes.
var hashStrip = /^#*/; ///^\w*#/;
-server
-XX:-UseAdaptiveSizePolicy
-XX:ParallelGCThreads=2
-XX:+UseParNewGC
-XX:NewRatio=3
-XX:+PrintGCDetails -XX:+PrintHeapAtGC
-XX:+HeapDumpOnOutOfMemoryError
@doortts
doortts / 0_reuse_code.js
Last active August 29, 2015 14:07
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@doortts
doortts / escape_to_en.json
Last active April 29, 2021 14:29
vim 이나 IdeaVim 에서 esc 누를 때 영문으로 IME 변경하는 Rule (Mac + Karabiner)
// ~/.config/karabiner/assets/complex_modifications/escape_to_en.json 에 파일 위치시킴
// Complex modifications 에서 위 규칙 추가
// bundle_identifiers 는 Karabiner-EventViewer 를 이용해서 찾는다
//
// See: https://github.com/johngrib/simple_vim_guide/blob/master/md/with_korean.md
{
"title": "Convert to en when ESC",
"rules": [
{
"description":"Convert to en when ESC",
@doortts
doortts / kakaotalk-multi.sh
Created September 15, 2022 04:12
카카오톡을 복수개 만드는 방법
rm -rf /Applications/KakaoTalkDev.app
cp -a /Applications/KakaoTalk.app /Applications/KakaoTalk2nd.app
mv /Applications/KakaoTalk2nd.app/contents/MacOS/KakaoTalk /Applications/KakaoTalk2nd.app/Contents/MacOS/KakaoTalk2nd
cd /Applications/KakaoTalk2nd.app/Contents/