Bash

quick scripts for openscad

color("red",1) import("path/to/your-part.stl");
flatpak run org.openscad.OpenSCAD …

Rsync Quickref

quick recipes

Local

rsync -haviP --inplace --delete-before --no-compress /storage/nas/photos …

Shell Script Examples

How to find the directory of the script

Start docker automatically as a systemd service

Docker Compose Example

copy and paste the folowing text into a new file called ~/script.sh

Start Virtualbox as a Service in Linux

sudo apt reinstall virtualbox-dkms virtualbox-ext-pack virtualbox-qt virtualbox
sudo nano …

Tailscale Details

IP Forwarding

echo 'net.ipv4.ip_forward = 1' | sudo …

Using Github with two accounts

Instructions

  1. Create a new, separate key for each github account

VSCode Setup and Usage

Installation

Download from here

Installation Options