Skip to content

Instantly share code, notes, and snippets.

Avatar

Suwon Chae doortts

  • South Korea
View GitHub Profile
@doortts
doortts / escape_to_en.json
Last active Apr 29, 2021
vim 이나 IdeaVim 에서 esc 누를 때 영문으로 IME 변경하는 Rule (Mac + Karabiner)
View escape_to_en.json
// ~/.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 / 0_reuse_code.js
Last active Aug 29, 2015
Here are some things you can do with Gists in GistBox.
View 0_reuse_code.js
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
View gist:5572633
-server
-XX:-UseAdaptiveSizePolicy
-XX:ParallelGCThreads=2
-XX:+UseParNewGC
-XX:NewRatio=3
-XX:+PrintGCDetails -XX:+PrintHeapAtGC
-XX:+HeapDumpOnOutOfMemoryError
@doortts
doortts / crossroads.navigator.js
Created Jan 26, 2012 — forked from emmanuelbuah/crossroads.navigator.js
Add bookmark and application state navigation(port from backbone.js) to crossroads.js
View crossroads.navigator.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*#/;