Recently Updated Pages
Installation
install current version (ubutnu/debian) curl -sSL https://get.docker.com | sh sudo usermod -aG do...
Shell
bash basics default text editor for inline shell call: sudo EDITOR=nano crontab -e add to ~/....
Database
MariaDB with PHPmyAdmin code snipped for mariadb with phpmyadmin (use only for development) m...
Stash / Worktree
git stash git worktree git gitkraken use add new worktree git worktree add <path> <branch> --for...
Priciples
KISS - keep it simple, stupid code should be as simple as possible. don’t overengineer, avoid unn...
Hooks
git hooks pre-commit-msg This example adds the branch name as prefix to the commit message: crea...
Proxy
traefik links youtube tutuorial traefik boilerplate (Lempa) labels for connected containers ser...
basic
suspend and continue Ctrl - z suspend command fg to continue
tmux
links tutorial cheatsheet configs edit file ~/.tmux.conf as you like -> gpakosz github keyboar...
Network
settings set static ip address sudo nano /etc/network/interfaces: auto ens18 iface ens18 inet s...
CLI Editor
nano cli parameters/flags -c, --const - Constantly display the cursor position and line number ...
General
https://github.com/awesome-selfhosted/awesome-selfhosted portainer docker run -d -p 8000:8000 -p ...
New Server Setup
#!/usr/bin/bash sudo apt update && sudo apt upgrade sudo apt -y install fail2ban ufw git curl zsh...
special tools
bpftrace homepage docs sudo bpftrace --unsafe -e 'tracepoint:signal:signal_generate /args->sig ==...
Special usecases
rename branch git checkout <old_name> git branch -m <new_name> (move/rename the local branch)...
Github / Gitlab
Common create patch from commit add .patch for a patch file or .diff for a plain diff file as...
GUI / visualize
CLI ui show logs in a graph git log --oneline --graph --color --all --decorate for linux use alia...
Merge, Rebase, Reset, Clean
merge vs rebase https://www.atlassian.com/git/tutorials/merging-vs-rebasing Make the current Git ...
Basics
Bare basics semantic versioning https://semver.org/ clone git clone <url> clone an arbitrary rep...
find, search, grep
find use cases: find ./subfolder -name sample.txt - Search a file with specific name find ./subf...