Skip to content

Instantly share code, notes, and snippets.

@thaiquitech
thaiquitech / starship.toml
Created March 5, 2025 07:57 — forked from Link-/starship.toml
glich.stream starship configuration
command_timeout = 500
scan_timeout = 10
[character]
success_symbol = "[➜](bold green)"
error_symbol = " [λ](bold red)"
[aws]
disabled=true

Oh my zsh.

Oh My Zsh

Install ZSH.

sudo apt install zsh-autosuggestions zsh-syntax-highlighting zsh

Install Oh my ZSH.

Docker Swarm Cheat Sheet

Initialize the local Docker service as a swarm manager. As a guideline, in production you should have 3 to 5 managers. Swarm is managed through port 2377, which should be blocked from external access.

$ docker swarm init

Join an existing swarm as a worker node. Replace $SWARM_MANAGER with the IP address or domain name of a swarm manager node.