Skip to content

Instantly share code, notes, and snippets.

View soomtong's full-sized avatar
๐Ÿ˜‡

YoungTaek soomtong

๐Ÿ˜‡
View GitHub Profile
@soomtong
soomtong / Shell_Keybindings.md
Created April 22, 2025 12:39 — forked from 2KAbhishek/Shell_Keybindings.md
Keyboard shortcuts for bash/zsh

Shell Keybindings

Navigation ๐Ÿš€

Keybinding Action
Alt + f/b Move cursor to previous/next word
Ctrl + a/e Move cursor to beginning/end of command
Ctrl + xx Toggle between the start of line and current cursor position
@soomtong
soomtong / keybindings.json
Last active May 25, 2025 05:32
Cursor(or VSCode based) User keybindings
// Place your key bindings in this file to override the defaults
[
// panel navigation
{
"key": "escape",
"command": "workbench.action.focusActiveEditorGroup",
"when": "!editorFocus"
},
{
"key": "alt+a",
@soomtong
soomtong / KurzPC2.ins
Created August 3, 2024 05:54
Kurzweil PC2 for Cakewalk
; ----------------------------------------------------------------------
.Patch Names
[Kurzweil PC-2 KB3 Programs]
0=0 All Out
1=1 Blues & Gospel
2=2 Sly's Revenge
@soomtong
soomtong / Motif ES MIDI Device.xml
Created August 3, 2024 05:52
Cakewalk midi devices
This file has been truncated, but you can view the full file.
<MidiDevices>
<list name="Devices" type="obj">
<obj class="PMidiParameterDevice" ID="55132352">
<string name="Name" value="Motif ES"/>
<list name="Children" type="obj">
<obj class="PMidiDeviceNode" ID="55457496">
<string name="Name" value="Motif ES"/>
<list name="Children" type="obj">
<obj class="PMidiDeviceNode" ID="55427576">
<string name="Name" value="Kanal 1"/>
@soomtong
soomtong / ALT แ„’แ…กแ†ซแ„€แ…ณแ†ฏ แ„Œแ…ฅแ†ซแ„’แ…ชแ†ซ.reg
Created August 3, 2024 05:49
Windows ํ•œ/์˜ ์ „ํ™˜ ํ‚ค ๋ณ€๊ฒฝ Registry
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\i8042prt\Parameters]
"PollingIterations"=dword:00002ee0
"PollingIterationsMaximum"=dword:00002ee0
"ResendIterations"=dword:00000003
"LayerDriver JPN"="kbd101.dll"
"LayerDriver KOR"="kbd101a.dll"
"OverrideKeyboardType"=dword:00000008
"OverrideKeyboardSubtype"=dword:00000003
@soomtong
soomtong / GoormSansCodeNerdFont.md
Last active February 22, 2025 02:47
GoormSansCodeNerdFont

ํฐํŠธ์˜ ์†Œ์Šค ๋ฐ ์ €์ž‘๊ถŒ์€ https://goorm-sans.goorm.io/ ์— ์žˆ์Šต๋‹ˆ๋‹ค.

๊ตฌ๋ฆ„ ์‚ฐ์Šค์˜ ์ง€์ ์žฌ์‚ฐ๊ถŒ์€ ๊ตฌ๋ฆ„์ด ์†Œ์œ ํ•˜๊ณ  ์žˆ์œผ๋ฉฐ, SIL Open Font License๋ฅผ ๋”ฐ๋ฆ…๋‹ˆ๋‹ค.

  • โ€˜๊ตฌ๋ฆ„ ์‚ฐ์Šค, ๊ตฌ๋ฆ„ ์‚ฐ์Šค ์ฝ”๋“œโ€™๋Š” ๋ชจ๋‘์—๊ฒŒ ๋ฌด๋ฃŒ๋กœ ์ œ๊ณตํ•ฉ๋‹ˆ๋‹ค.
  • ๊ธ€๊ผด์˜ ๋‹จ๋… ํŒ๋งค ๋˜๋Š” ๊ธ€๊ผด์„ ๋ณ€๊ฒฝํ•˜์—ฌ ์ƒ์—…์  ๋ชฉ์ ์„ ์ทจํ•˜๋Š” ๊ฒƒ์€ ์ œํ•œ๋ฉ๋‹ˆ๋‹ค.
  • ๊ตฌ๋ฆ„ ์‚ฐ์Šค๋Š” ์‚ฌ์šฉ, ์ˆ˜์ •, ์žฌ๋ฐฐํฌ๊ฐ€ ๊ฐ€๋Šฅํ•˜๋ฉฐ ๋ชจ๋“  ํŒŒ์ƒ ์ž‘์—…์€ ๋ณธ ๋ผ์ด์„ผ์Šค๋ฅผ ๋”ฐ๋ฆ…๋‹ˆ๋‹ค.
  • ๋ฌธ์˜์‚ฌํ•ญ : [email protected]

๊ตฌ๋ฆ„ ์‚ฐ์Šค ์ฝ”๋”ฉ ํฐํŠธ 1.0.1 ์˜ NerdFont ๋ฒ„์ „์ž…๋‹ˆ๋‹ค. ์ฝ”๋”ฉ์šฉ ํฐํŠธ๋Š” 400 ํญ์˜ Regular ๋ฒ„์ „ ํ•˜๋‚˜๋งŒ ํฌํ•จํ•˜๊ณ  ์žˆ์Šต๋‹ˆ๋‹ค.

@soomtong
soomtong / gcp-global-lb-multi-region-cr-ce.sh
Created April 12, 2024 04:26 — forked from mikesparr/gcp-global-lb-multi-region-cr-ce.sh
Demonstrating how you can deploy Cloud Run (serverless) or Compute Engine instance groups across regions and balance with global load balancer
#!/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
#####################################################################
@soomtong
soomtong / nodejs-on-exit.js
Created May 12, 2023 14:14 — forked from hyrious/nodejs-on-exit.js
how to do something before exit in NodeJS
// 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) => {
@soomtong
soomtong / dot.vimrc
Last active April 16, 2023 14:41
vanilla vim rc file
let mapleader="\<SPACE>"
inoremap jk <ESC>
nnoremap <SPACE> <Nop>
nnoremap <Leader>w :wa<CR>
nnoremap <leader>q :qa<Enter>
nnoremap <leader>h :set hlsearch! hlsearch?<CR>
" Buffer
nnoremap <Tab> :bnext!<Enter>
nnoremap <S-Tab> :bprevious!<Enter>
@soomtong
soomtong / geometry.el
Last active April 3, 2021 13:11 — forked from synic/geometry.el
(defun save-framegeometry ()
"Gets the current frame's geometry and saves to ~/.emacs.d/framegeometry."
(let (
(framegeometry-left (frame-parameter (selected-frame) 'left))
(framegeometry-top (frame-parameter (selected-frame) 'top))
(framegeometry-width (frame-parameter (selected-frame) 'width))
(framegeometry-height (frame-parameter (selected-frame) 'height))
(framegeometry-file (expand-file-name "~/.emacs.d/framegeometry"))
)