Skip to content

Instantly share code, notes, and snippets.

@kwbr
kwbr / README-setup-tunnel-as-systemd-service.md
Created February 5, 2022 09:32 — forked from drmalex07/README-setup-tunnel-as-systemd-service.md
Setup a secure (SSH) tunnel as a systemd service. #systemd #ssh #ssh-tunnel #ssh-forward

README

Create a template service file at /etc/systemd/system/secure-tunnel@.service. The template parameter will correspond to the name of target host:

[Unit]
Description=Setup a secure tunnel to %I
After=network.target
@kwbr
kwbr / README.md
Created March 20, 2023 09:02 — forked from adewes/README.md
Ebay Ads - Bot. Because who wants to write messages by hand...

To use this bot:

  • Download ads_bot.py and requirements.txt.
  • Type pip install -r requirements.txt to install the requirements.
  • Fill out the required information in the Python file.
  • Ideally, create a (free) Slack account and set up a web hook to receive notifications from the bot.
  • Run the script :)
  • Relax and be ready to answer incoming calls :D
@kwbr
kwbr / olyWifiSync.sh
Created April 20, 2024 08:51 — forked from digitaltrails/olyWifiSync.sh
Olympus camera WIFI download/mirror script
#!/bin/bash
##
## olyWifiSync - Mirror Olympus camera via WIFI
##
## Usage: olyWifiSync [-d|-n|-f|-p|-h] ESSID PASSWORD [wifidevice]
## -d download only, don't try to configure the WIFI device)
## -n no disconnect, do not disconnect the WIFI on completion
## -f full download, do not skip over files that already exist
## -p power off camera at end of transfer
## -h help