Skip to content

Instantly share code, notes, and snippets.

View partrita's full-sized avatar
🎯
Focusing on hobby

Taeyoon Kim partrita

🎯
Focusing on hobby
View GitHub Profile
@partrita
partrita / setup-zsh-in-codespaces.md
Last active January 13, 2026 06:45 — forked from ikrishagarwal/setup-zsh-in-codespaces.md
Setup starship, zsh suggestions and syntax highlight for your codespaces.
@partrita
partrita / get_youtube_urls.py
Last active January 6, 2026 07:01
Collect YouTube video URLs to add them as input for NotebookLM.
# /// script
# requires-python = ">=3.12"
# dependencies = [
# "click>=8.3.1",
# "scrapetube>=2.6.0",
# ]
# ///
import scrapetube
import click
@partrita
partrita / flow2_64.json
Last active January 12, 2026 05:20
lofree flow2 64 keyboard keymap for me.
{
"name": "Flow2@Lofree",
"vendorProductId": 948764673,
"macros": ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", ""],
"layers": [
[
"KC_ESC",
"KC_1",
"KC_2",
"KC_3",
@partrita
partrita / auto_capture.py
Created November 24, 2025 12:28
PEGS 컨퍼런스 비디오에서 슬라이드를 추출하는 독립 실행형 스크립트
# /// script
# requires-python = ">=3.12"
# dependencies = [
# "numpy",
# "opencv-python",
# "pillow",
# ]
# ///
"""
@partrita
partrita / .zshrc
Created September 26, 2025 22:52
make it faster oh my zsh.
# from https://scottspence.com/posts/speeding-up-my-zsh-shell#ok-so-what-was-making-my-shell-slow
# Performance optimizations
DISABLE_AUTO_UPDATE="true"
DISABLE_MAGIC_FUNCTIONS="true"
DISABLE_COMPFIX="true"
# Cache completions aggressively
autoload -Uz compinit
if [ "$(date +'%j')" != "$(stat -f '%Sm' -t '%j' ~/.zcompdump 2>/dev/null)" ]; then
compinit
@partrita
partrita / kanata.kbd
Last active October 1, 2025 00:34
my kanata.kbd file for linux.
;; check out, https://github.com/jtroo/kanata
;; Caps lock key for hangul, left alt <-> left ctrl key for ergonomics
;; pressed LControl+Space+Escape, exiting.
;; (defcfg
;; process-unmapped-keys yes
;; )
(defsrc
grv 1 2 3 4 5 6 7 8 9 0 - = bspc
@partrita
partrita / init.lua
Created July 19, 2025 08:50
nvim plugins packages
-- You can add your own plugins here or in other files in this directory!
-- I promise not to create any merge conflicts in this directory :)
--
-- See the kickstart.nvim README for more information
return {
'nvimtools/none-ls.nvim',
dependencies = {
'nvimtools/none-ls-extras.nvim',
'jayp0521/mason-null-ls.nvim', -- ensure dependencies are installed
},
@partrita
partrita / README.md
Last active July 15, 2025 07:06
Quarto와 typst를 사용해 PDF 파일 만들기

Install dependency

Use pixi.

pixi init
pixi add quarto

Make qmd project

@partrita
partrita / README.md
Last active August 16, 2025 09:40
Neovim으로 ssh로 접속했을때 copy and paste 작동하고, Normal 모드 변경시 자동 한영 변환.

copy and paste 관련

터미널 에뮬레이터에서 OSC 52를 지원해야 작동한다.

vim.o.clipboard = "unnamedplus"

local function paste()
  return {
 vim.fn.split(vim.fn.getreg(""), "\n"),
@partrita
partrita / README.md
Last active June 26, 2025 07:42
NixOS config files

NixOS is future?

I don't know but it's worth to tried.