Skip to main content

Recently Updated Pages

Installation

Docker

install current version (ubutnu/debian) curl -sSL https://get.docker.com | sh sudo usermod -aG do...

Updated 1 month ago by Daniel Raab

Shell

Linux

bash basics default text editor for inline shell call: sudo EDITOR=nano crontab -e add to ~/....

Updated 1 month ago by Daniel Raab

Database

Docker Projects

MariaDB with PHPmyAdmin code snipped for mariadb with phpmyadmin (use only for development) m...

Updated 2 months ago by Daniel Raab

Stash / Worktree

Git

git stash git worktree git gitkraken use add new worktree git worktree add <path> <branch> --for...

Updated 3 months ago by Daniel Raab

Priciples

Clean Code

KISS - keep it simple, stupid code should be as simple as possible. don’t overengineer, avoid unn...

Updated 3 months ago by Daniel Raab

Hooks

Git

git hooks pre-commit-msg This example adds the branch name as prefix to the commit message: crea...

Updated 4 months ago by Daniel Raab

Proxy

Docker Projects

traefik links youtube tutuorial traefik boilerplate (Lempa) labels for connected containers ser...

Updated 5 months ago by Daniel Raab

basic

Linux CLI tools

suspend and continue Ctrl - z suspend command fg to continue

Updated 5 months ago by Daniel Raab

tmux

Linux CLI tools

links tutorial cheatsheet configs edit file ~/.tmux.conf as you like -> gpakosz github keyboar...

Updated 5 months ago by Daniel Raab

Network

Linux

settings set static ip address sudo nano /etc/network/interfaces: auto ens18 iface ens18 inet s...

Updated 5 months ago by Daniel Raab

CLI Editor

Linux CLI tools

nano cli parameters/flags -c, --const - Constantly display the cursor position and line number ...

Updated 5 months ago by Daniel Raab

General

Docker Projects

https://github.com/awesome-selfhosted/awesome-selfhosted portainer docker run -d -p 8000:8000 -p ...

Updated 5 months ago by Daniel Raab

New Server Setup

Linux

#!/usr/bin/bash sudo apt update && sudo apt upgrade sudo apt -y install fail2ban ufw git curl zsh...

Updated 5 months ago by Daniel Raab

special tools

Linux

bpftrace homepage docs sudo bpftrace --unsafe -e 'tracepoint:signal:signal_generate /args->sig ==...

Updated 5 months ago by Daniel Raab

Special usecases

Git

rename branch git checkout <old_name> git branch -m <new_name> (move/rename the local branch)...

Updated 8 months ago by Daniel Raab

Github / Gitlab

Git

Common create patch from commit add .patch for a patch file or .diff for a plain diff file as...

Updated 8 months ago by Daniel Raab

GUI / visualize

Git

CLI ui show logs in a graph git log --oneline --graph --color --all --decorate for linux use alia...

Updated 8 months ago by Daniel Raab

Merge, Rebase, Reset, Clean

Git

merge vs rebase https://www.atlassian.com/git/tutorials/merging-vs-rebasing Make the current Git ...

Updated 8 months ago by Daniel Raab

Basics

Git

Bare basics semantic versioning https://semver.org/ clone git clone <url> clone an arbitrary rep...

Updated 8 months ago by Daniel Raab

find, search, grep

Linux CLI tools

find use cases: find ./subfolder -name sample.txt - Search a file with specific name find ./subf...

Updated 8 months ago by Daniel Raab