Understand your Mac and iPhone more deeply by tracing the evolution of Mac OS X from prelease to Swift. John Siracusa delivers the details.
You've got two main options:
[ | |
{ | |
"context": "Editor && VimControl && !VimWaiting && !menu", | |
"bindings": { | |
"ctrl-w z": "workspace::ToggleZoom", | |
"ctrl-w t": "terminal_panel::ToggleFocus", | |
"g ]": "editor::GoToDiagnostic", | |
"g [": "editor::GoToPrevDiagnostic", | |
"g r": "editor::FindAllReferences", | |
"shift-k": "editor::Hover", |
#!/usr/bin/env bash | |
##################################################################### | |
# REFERENCES | |
# - https://cloud.google.com/run/docs/multiple-regions | |
# - https://cloud.google.com/compute/docs/instance-groups/distributing-instances-with-regional-instance-groups | |
# - https://cloud.google.com/load-balancing/docs/https/setup-global-ext-https-compute | |
# - https://cloud.google.com/load-balancing/docs/backend-service#named_ports | |
##################################################################### |
https://gist.github.com/leoh0/3b3c908f0e931d7c620d273c77ea3757
docker-desktop 를 2022년 1월 31일까지 대체해야 하기에 다들 여러 방법을 사용하실 것 같은데 windows에서는 사실 wsl2 를 사용하면서 docker 를 그대로 깔아서 쓸 수 있다는 것 때문에 큰 제약없이(eg. wsl이 결국 브릿지를 거치기 때문에 vpn등 사용시 mtu 조절이 필요할 수 있는 제약이 있음)사용 가능한데 맥은 사실 linux 스택을 그대로 사용할 수 없기때문에 vm을 올려야 하는 상태입니다.
하지만 이에 따라 여러가지 불편한 점들이 있습니다.
// ~/.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", |
// only works when there is no task running | |
// because we have a server always listening port, this handler will NEVER execute | |
process.on("beforeExit", (code) => { | |
console.log("Process beforeExit event with code: ", code); | |
}); | |
// only works when the process normally exits | |
// on windows, ctrl-c will not trigger this handler (it is unnormal) | |
// unless you listen on 'SIGINT' | |
process.on("exit", (code) => { |
;; switch to english input method when switching to normal mode | |
;; and switch back when entering insert/replace modes | |
;; need external script support, currently mac-only | |
(defvar default-im "org.unknown.keylayout.layoutformc" "Default ascii-only input method") | |
(defvar prev-im (substring (shell-command-to-string "/usr/local/bin/im-select") 0 -1) | |
"IM that I use when starting Emacs and exiting insert mode") | |
(defun im-use-english () | |
"Switch to english input method on a Mac. im-select is a tool | |
provided at https://github.com/daipeihust/im-select" |
{"lastUpload":"2021-01-19T12:42:11.302Z","extensionVersion":"v3.4.3"} |
# require 'active_support/all' | |
def korean_topic_marker(str) | |
k = str[-1] # last one char | |
return '는' if k.mb_chars.decompose.size < 3 # 종성이 없는 경우 | |
return '은' | |
end | |
def korean_subject_marker(str) | |
k = str[-1] # last one char |
SPC | |
SPC: find file | |
, switch buffer | |
. browse files | |
: MX | |
; EX | |
< switch buffer | |
` eval | |
u universal arg | |
x pop up scratch |