first install eza by homebrew
brew install eza
#!/usr/bin/env python3 | |
""" | |
Ollama Model Manager | |
This script provides two modes of operation: | |
- export: Exports an installed Ollama model to a tarball. | |
- import: Imports an Ollama model from a tarball. | |
The export mode reads a manifest file located at: | |
<base_path>/manifests/registry.ollama.ai/library/<model_name>/<model_size> |
#!/usr/bin/python3 | |
import sys | |
import subprocess | |
""" | |
Wireplumber sink/source switcher | |
It lets you pass your sinks/sources into a dmenu dropdown | |
for ease of access |
# MOVED to public repo: https://github.com/catchdave/ssl-certs/blob/main/replace_synology_ssl_certs.sh |
AddOn:
chrome/userChrome.css
in your profile directory: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.
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):
This should make True Color (24-bit) and italics work in your tmux session and vim/neovim when using Alacritty (and should be compatible with any other terminal emulator, including Kitty).
Running this script should look the same in tmux as without.
curl -s https://gist.githubusercontent.com/lifepillar/09a44b8cf0f9397465614e622979107f/raw/24-bit-color.sh >24-bit-color.sh
国内从 Docker Hub 拉取镜像有时会遇到困难,此时可以配置镜像加速器。
Dockerized 实践 https://github.com/y0ngb1n/dockerized