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
| // ==UserScript== | |
| // @name Test | |
| // @version 1.0.0 | |
| // @namespace @XOR | |
| // @include *google.com* | |
| // @grant GM.notification | |
| // @grant GM.openInTab | |
| // @grant GM.setClipboard | |
| // ==/UserScript== |
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 apartmentSearchProvider import searchExposes | |
| from internetprovider import CheckIfInetProviderOffersBestInternet | |
| closer_cosideration = [] | |
| exposes = searchExposes(desiredRegion) | |
| for expose in exposes: | |
| address = expose.address | |
| bestinet = CheckIfInetProviderOffersBestInternet(address) | |
| if bestinet is True: | |
| closer_consideration.append(expose) |
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
| def GTDU(u, timeout, RT = 0, CE = 0, headers = None): | |
| try: | |
| r = requests.get(u, timeout = timeout, headers = headers) | |
| return r | |
| except requests.exceptions.ReadTimeout: | |
| RT += 1 | |
| if RT<5: | |
| r = GTDU(u, timeout, RT = RT, CE = CE, headers = headers) | |
| return r | |
| else: |
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 requests | |
| from requests.exceptions import ProxyError | |
| import time | |
| from time import sleep | |
| from importlib import util | |
| pyvlc = False | |
| if util.find_spec('vlc') != None: | |
| from vlc import MediaPlayer, State |
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 subprocess import check_output | |
| import re | |
| from shutil import which | |
| def getMaxConnPerServer(): | |
| x = which('aria2c') | |
| if x is None: | |
| print('You have to add aria2c to your path first') |
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 re | |
| from tkinter import Tk | |
| AdDocId = None | |
| text = Tk().clipboard_get() | |
| for line in text.split('\n'): | |
| x = re.search('"ad_docid": "(.+)"', line) | |
| if x: | |
| AdDocId = x.group(1) |
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
| 1 | |
| 00:00:01,000 --> 00:00:03,000 | |
| [NO SUBTITLES] |
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 requests | |
| import re | |
| import json | |
| s = requests.Session() | |
| site = 'https://www.fosshub.com/' | |
| downloadAPP = 'MKVToolNix.html' | |
| downloadsite = site + downloadAPP |
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 subprocess import call | |
| from time import sleep | |
| WAIT_TIME = 5 * 60 | |
| def download(): | |
| x = call(largs) | |
| if x == 1: | |
| if args.relentless: | |
| try: |
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
| #!/usr/bin/python3.6 | |
| from subprocess import call | |
| from shutil import which | |
| from sys import exit as sexy_exit, argv | |
| from re import fullmatch | |
| from os import environ | |
| from os.path import join as path_join, isfile | |
| command = 'python3.6' |
OlderNewer