Skip to content

Instantly share code, notes, and snippets.

@johnarok
johnarok / symbolic-links-in-windows-golang.md
Last active May 12, 2022 11:41
symlinks in windows using golang notes
@bbqtd
bbqtd / macos-tmux-256color.md
Last active November 2, 2025 16:25
Installing tmux-256color for macOS

Installing tmux-256color for macOS

  • macOS 10.15.5
  • tmux 3.1b

macOS has ncurses version 5.7 which does not ship the terminfo description for tmux. There're two ways that can help you to solve this problem.

The Fast Blazing Solution

Instead of tmux-256color, use screen-256color which comes with system. Place this command into ~/.tmux.conf or ~/.config/tmux/tmux.conf(for version 3.1 and later):

@unrooted
unrooted / initSystemsCheatSheet.md
Created December 31, 2020 11:58
init systems cheat sheet

Manage services in systemd, openRC and runit

systemd

  • list all services: systemctl list-unit-files
  • list running services status: systemctl list-units
  • list failed services: systemctl --failed
  • list available services: systemctl --all
  • start a service: systemctl start [SERVICE_NAME]
  • stop a service: systemctl stop [SERVICE_NAME]
@ronnaf
ronnaf / msys2-with-zsh-on-windows-11.md
Last active September 5, 2025 08:58
Setting up MSYS2 with ZSH on Windows 11