This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# Determine protonvpn port via gluetun and update qbittorrent | |
# | |
# Add the following to sudo crontab -e to run every 5 minutes | |
# */5 * * * * /bin/sh /path/to/update_qbit_port.sh | |
# For synology users, run the script as root via the task scheduler every 5 minutes. | |
QBITTORRENT_USER= # qbittorrent username | |
QBITTORRENT_PASS= # qbittorrent password | |
QBITTORRENT_PORT=8080 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# Apple SuperDrive initialization rule | |
# | |
# See: https://gist.github.com/yookoala/818c1ff057e3d965980b7fd3bf8f77a6 | |
ACTION=="add", ATTRS{idProduct}=="1500", ATTRS{idVendor}=="05ac", DRIVERS=="usb", RUN+="/usr/bin/sg_raw --cmdset=1 %r/sr%n EA 00 00 00 00 00 01" |
We can't make this file beautiful and searchable because it's too large.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Country,City,Provider,Host,ID | |
Abkhazia,Sukhum,Aquafon GSM,62.182.8.78:8080,9058 | |
Abkhazia,Sukhum,"Systema, LTD",cyxym.net:8080,5089 | |
Abkhaziya,Sukhum,A-Mobile,speedtest.a-mobile.biz:8080,9714 | |
Afghanistan,Herat,Afghan Wireless,hrtspeedtest.afghan-wireless.com:8080,9622 | |
Afghanistan,Kabul,Afghan Telecom,sp1.afghantelecom.af:8080,11019 | |
Afghanistan,Kabul,etisalat Afghanistan,speedtest.etisalat.af:8080,21807 | |
Afghanistan,Kabul,Afghan Wireless,speedtest.afghan-wireless.com:8080,5189 | |
Afghanistan,Kabul,Afghan Wireless Communication Company,kdzspeedtest.afghan-wireless.com:8080,13501 | |
Afghanistan,Kabul,Insta Telecom,speedtest.instatelecom.com:8080,12798 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import javafx.application.Application; | |
import javafx.beans.binding.Bindings; | |
import javafx.beans.property.*; | |
import javafx.geometry.Pos; | |
import javafx.scene.Scene; | |
import javafx.scene.control.*; | |
import javafx.scene.input.KeyEvent; | |
import javafx.scene.layout.*; | |
import javafx.stage.*; |