Skip to content

Instantly share code, notes, and snippets.

View aleksgain's full-sized avatar

Alex Gain aleksgain

  • Prague, CZ
  • 09:16 (UTC +02:00)
View GitHub Profile
@aleksgain
aleksgain / zerotier-ubuntu-gateway.md
Created February 19, 2023 09:44 — forked from tjelen/zerotier-ubuntu-gateway.md
Zerotier: Setting up the default gateway in Ubuntu Linux

Zerotier Ubuntu config notes

Setting up the default gateway (for VPN tunelling)

Ubuntu 18.04 UFW settings, based on [1] Step 1

  • ens3 .. primary physical ETH interface
  • 10.243.0.0/16 .. ZT network
### Keybase proof
I hereby claim:
* I am aleksgain on github.
* I am aleksgain (https://keybase.io/aleksgain) on keybase.
* I have a public key ASBsT2ocuZ3EWX47WC4mqh5DMSOQL411FmMZo__yX1a8SQo
To claim this, I am signing this object:
@aleksgain
aleksgain / PhotoImport.sh
Last active March 9, 2020 16:22 — forked from ljm42/PhotoImport.sh
unRAID - automatically move photos to array
#!/bin/bash
PATH=/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin
## Usage (after configuration):
## 1. Insert camera's memory card into a USB port on your unRAID system
## 2. The system will automatically move (or copy) any images/videos from the memory card to the array
## 3. Wait for the imperial theme to play, then remove the memory card
## Preparation:
## 1. Install jhead (to automatically rotate photos) using the Nerd Pack plugin