This file contains hidden or 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 win32api | |
| from interception import interception,MAX_DEVICES | |
| from stroke import mouse_stroke | |
| from consts import interception_mouse_flag | |
| import time | |
| context = interception() | |
| mouse = 0 | |
| for i in range(MAX_DEVICES): | |
| if interception.is_mouse(i): |
This file contains hidden or 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
| from time import sleep | |
| from qbittorrent import Client #pip3 install python-qbittorrent | |
| link = "http://127.0.0.1:8080" | |
| username = "admin" | |
| password = "admin" | |
| category = "tv-sonarr" | |
| def main(): | |
| while True: |
This file contains hidden or 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
| curl -sSL https://get.docker.com | sh | |
| sudo pip3 install docker-compose | |
| cat << EOF > docker-compose.yml | |
| --- | |
| version: "2" | |
| services: | |
| jackett: | |
| image: linuxserver/jackett | |
| container_name: jackett | |
| environment: |
This file contains hidden or 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
| sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 0xA236C58F409091A18ACA53CBEBFF6B99D9B78493 | |
| echo "deb http://apt.sonarr.tv/ master main" | sudo tee /etc/apt/sources.list.d/sonarr.list | |
| sudo apt update | |
| sudo apt install nzbdrone -y | |
| sudo cat << EOF > /etc/systemd/system/sonarr.service | |
| [Unit] | |
| Description=Sonarr Daemon | |
| After=network.target |
This file contains hidden or 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
| wget 'https://radarr.servarr.com/v1/update/master/updatefile?os=linux&runtime=netcore&arch=arm' --output-document=radarr.tar.gz | |
| sudo tar -xvzf radarr.tar.gz | |
| sudo mkdir /opt/radarr | |
| sudo cp Radarr/* /opt/radarr -r | |
| sudo rm Radarr -r | |
| sudo chown pi:pi -R /opt/radarr | |
| sudo cat << EOF > /etc/systemd/system/radarr.service | |
| [Unit] | |
| Description=Radarr | |
| After=network.target |
This file contains hidden or 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
| sudo apt install qbittorrent-nox -y | |
| sudo cat << EOF > /etc/systemd/system/qbittorrent.service | |
| [Unit] | |
| Description=qBittorrent | |
| After=network.target | |
| [Service] | |
| Type=forking | |
| User=pi | |
| Group=pi |
This file contains hidden or 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
| [[-- | |
| this is a script for mpv player, it's purpose is to skip automatically parts of a media file | |
| how does it work: | |
| - install this script in mpv scripts directory | |
| - let's say you wan't to skip from position 300s to 310s and from 5001 to 5020 in a file called movie.mp4, | |
| - in it's directory create a file called movie.txt that contains the following lines | |
| 300,310 | |
| 5001,5020 | |
| - open movie.mp4 in mpv | |
| - enjoy |
This file contains hidden or 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 subprocess | |
| import requests | |
| import json | |
| import time | |
| import gkeepapi as g | |
| import re | |
| import arc4 | |
| import hashlib |
This file contains hidden or 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
| using System; | |
| using System.Collections.Generic; | |
| using System.Globalization; | |
| using System.IO; | |
| using System.IO.Ports; | |
| using System.Linq; | |
| using System.Runtime.InteropServices; | |
| using System.Text; | |
| using System.Text.RegularExpressions; |
NewerOlder