Skip to content

Instantly share code, notes, and snippets.

View paul-chambers's full-sized avatar
💭
Open to new opportunities

Paul Chambers paul-chambers

💭
Open to new opportunities
View GitHub Profile
@paul-chambers
paul-chambers / keybase.md
Created March 2, 2019 07:11
Keybase authentication

Keybase proof

I hereby claim:

  • I am paul-chambers on github.
  • I am paulchambers (https://keybase.io/paulchambers) on keybase.
  • I have a public key ASCurpxOID6GqlcTvchnLxQDIIfVcFWcAdKsLtiFuoqKZwo

To claim this, I am signing this object:

@paul-chambers
paul-chambers / traefik.service
Created February 25, 2019 04:14
If you're not running traefik using docker, you might want a systemd service file for it.
#
# assumes you have a user called 'traefik', with the home directory '/var/lib/traefik',
# containing the 'traefik' executable and a 'trafik.toml' configuration file.
## adduser --system --shell /sbin/nologin --home /var/lib/traefik traefik
#
[Unit]
Description=Traefik
Documentation=https://docs.traefik.io
After=network-online.target
@paul-chambers
paul-chambers / torrent-complete
Last active November 8, 2023 06:13
Helper script for deluge or qBittorrent. It hardlinks completed torrents into a destination folder. It also unrars it, if it includes a rar archive.
#!/bin/bash
# Helper script for deluge or qBittorrent bittorrent clients
# Intended to be run when the torrent download completes
#
# for qBittorrent, enable 'Run external program on torrent completion' under 'Downloads' in the options dialog.
# in the text field, enter:
#
# <path to>/torrent-complete.sh "%K" "%N" "%D"
#