Skip to content

Instantly share code, notes, and snippets.

@sam-kleiner
sam-kleiner / README.md
Created September 21, 2025 06:57
Auto sync ProtonVPN forwarded port to qBittorrent

ProtonVPN qBittorrent sync

See: https://protonvpn.com/support/port-forwarding

These systemd configs will watch for changes to /run/user/$UID/Proton/VPN/forwarded_port as described in the support article. When a change is detected it will trigger the service to update the qbittorrent config via the api.

If your qBittorrent api requires a password you will need to modifiy the curl command.

This assume user level systemd.

@esteedqueen
esteedqueen / fix_rbenv.md
Last active March 9, 2026 21:27
How to fix rbenv: version `x.x.x` is not installed

So, you just cloned an existing project's repo and you run bundle install but you got the error: rbenv: version x.x.x is not installed....

What the issue means? The project uses a specific ruby version that you do not have on your system.

Here's how to fix it:

  • Install the Ruby build for the specified version using:
rbenv install x.x.x