Skip to main content

Recently Updated Pages

Basics

Git

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

Updated 2 weeks ago by Daniel Raab

My Basic Webdev WSL setup

Windows

install # install wsl wsl --install # list available distros wsl -l -o # install ubuntu wsl --ins...

Updated 2 weeks ago by Daniel Raab

SSH

use id_ed25519 over rsa (toolshelf.tech) ssh public key auth generate key: ssh-keygen copy ss...

Updated 1 month ago by Daniel Raab

Installation

Docker

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

Updated 7 months ago by Daniel Raab

Shell

Linux

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

Updated 7 months ago by Daniel Raab

Database

Docker Projects

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

Updated 8 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 9 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 9 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 10 months ago by Daniel Raab

Proxy

Docker Projects

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

Updated 11 months ago by Daniel Raab

basic

Linux CLI tools

suspend and continue Ctrl - z suspend command fg to continue

Updated 11 months ago by Daniel Raab

tmux

Linux CLI tools

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

Updated 11 months ago by Daniel Raab

Network

Linux

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

Updated 11 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 11 months ago by Daniel Raab

General

Docker Projects

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

Updated 11 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 11 months ago by Daniel Raab

special tools

Linux

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

Updated 11 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 1 year 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 1 year 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 1 year ago by Daniel Raab