Skip to content

Instantly share code, notes, and snippets.

View huang-jl's full-sized avatar
🎯
Focusing

dreamHuang huang-jl

🎯
Focusing
  • Tsinghua University
View GitHub Profile
@huang-jl
huang-jl / .tmux.conf
Created June 23, 2025 11:26
My tmux configuration
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
set -g history-limit 50000
set -g set-clipboard on
set -g default-terminal "tmux-256color"
# vim-like copy
set-window-option -g mode-keys vi
@huang-jl
huang-jl / qemu.sh
Created July 21, 2024 12:52
Qemu startup
#!/bin/bash
# compile kernel selftests for pseudo_mm
# cd /root/linux && make O=/root/ -C tools/testing/selftests TARGETS=pseudo_mm
# create a initramfs
# do not forget to run make modules_install when compiling linux kernel code
# mkinitramfs -o ~/initramfs-6.1.0 6.1.0-rc8+
#
# rm -f /root/multipass-shared/rootfs-work