Skip to main content

Recently Updated Pages

Merge our branch quickly ignoring conflicts with main

Git & Github

git merge -X ours main \ -m "Merge main (prefer branch changes on conflicts)" \ && git push...

Updated 1 month ago by Mac

Restore Only A Specific Folder

Restic backups

Let's restore the /home/mac directory because you deleted it for some reason. 1) Restore /home/m...

Updated 1 month ago by Mac

Login to Github in terminal

Git & Github

# 1. Install GH CLI sudo apt install -y gh # 2. Login via terminal gh auth login  

Updated 1 month ago by Mac

Setup a new PBS client

PBS

Proxmox Backup Client on Raspberry Pi (ARM64) — Community Setup Guide This guide installs proxmo...

Updated 1 month ago by Mac

Autorestic quick start

Restic backups

Install autorestic: sudo wget -qO - https://raw.githubusercontent.com/cupcakearmy/autorestic/mas...

Updated 1 month ago by Mac

macvlan on VLAN interface eth0.50 (tagged VLAN 50)

Linux Server Docker Apps

sudo docker network create -d macvlan \ --subnet=192.168.50.0/24 \ --gateway=192.168.50.1 \...

Updated 1 month ago by Mac

DB File corruption fix

Linux Server SQLite

1) Stop writes + backup # stop the bot/container first cp -a bot.db bot.db.bak.$(date +%Y%m%d...

Updated 2 months ago by Mac

Handling Pull Requests from Forks (Maintainer Guide)

Git & Github

# Handling Pull Requests from Forks (Maintainer Guide) This guide explains how to safely wor...

Updated 3 months ago by Mac

Merge case (you’re merging main into your branch, and want your branch everywhere)

Git & Github

git checkout --ours $(git diff --name-only --diff-filter=U) && git add -A && git commit -m "Resol...

Updated 5 months ago by Mac

Rebase

Git & Github

What is git rebase (in plain English)? Rebase takes the commits on your current branch and repla...

Updated 7 months ago by Mac

Git Cheat Sheet

Git & Github

🔧 Setup Set your name and email git config --global user.name "Your Name" git config --globa...

Updated 7 months ago by Mac

Pull Requests

Git & Github

Even if you're the only person working on a project: It helps keep your main branch clean an...

Updated 7 months ago by Mac

Enable Docker port 2375 on Linux + Synology NAS

Linux Server Docker Apps

To enable Docker to listen on port 2375, you need to configure the Docker daemon to listen on thi...

Updated 10 months ago by Mac

Adding VLAN route in Synology NAS

Linux Server Linux Commands

First SSH into the NAS We need to copy an existing interface file and change the name and conten...

Updated 11 months ago by Mac

Creating a Macvlan in Docker

Linux Server Docker Apps

Creating a Macvlan Network for Docker This guide provides step-by-step instructions for creating...

Updated 11 months ago by Mac

SSH Key Authentication Setup Guide

Linux Server Linux Commands

🎯 Goal: Enable secure, passwordless SSH login from your client machine to your server using SSH ...

Updated 11 months ago by Mac

Restic Commands

Restic backups

Restic & Autorestic Backup Management Guide This guide provides step-by-step instructions for ma...

Updated 11 months ago by Mac

Configuring Custom Middleware Rules for Specific IP Addresses: Bypass or Apply Unique Middleware Sets

Linux Server Traefik

This setup demonstrates how to configure Traefik routers to apply different sets of middlewares b...

Updated 1 year ago by Mac

What's Up Docker container tags

Linux Server Docker Apps

Ignore container  'wud.watch=false' Container with name like librenms/librenms:24.8.1 'wud.tag...

Updated 1 year ago by Mac

Change the DNS in Linux

Linux Server Linux Commands

1. Open the /etc/resolv.conf file sudo nano /etc/resolv.conf 2. Add/modify the lines and save (...

Updated 1 year ago by Mac