You need Python 3.4+ to run this script. It should be pre-installed on most Linux distros. Windows: https://www.python.org/downloads/windows/
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 Gigatube (Youtube Doodle Remover) | |
| // @version 1.1 | |
| // @description Replaces the Youtube logo and any Youtube/Google doodles with a different image. | |
| // @author AgentLoneStar007, with a ton of help from u/FlowerForWar. | |
| // @match *://www.youtube.com/* | |
| // @grant none | |
| // @run-at document-start | |
| // ==/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
| #!/bin/bash | |
| # Set the script to stop when an error occurs. | |
| set -eo pipefail | |
| # Get the current date as a variable | |
| printf -v DATE '%(%m-%d-%Y)T' | |
| # Get the server's directory location and make sure we're in that directory | |
| SERVER_DIR_PATH=$(dirname "$(realpath $0)") |
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
| --[[ | |
| Model-Lock v1.0 by AgentLoneStar007 | |
| A simple bit of Lua code that will allow only you to use your model. If someone is using | |
| your model, but doesn't have your username, the game will crash every time the player: | |
| - Takes damage, | |
| - Gets in or out of a vehicle, | |
| - Types in chat, or | |
| - Dies. | |
| Support for multiple models is planned. |
Do you really need an instant replay program for Linux? Something similar to Shadowplay? GPU Screen Recorder is just that! Here's my little guide for setting it up.
NOTE: This guide was made for KDE Plasma. If you're on a different desktop environment, you'll have to find out startup scripts and keybinds on your own.
If you're on Arch Linux, use the AUR package.
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 script relies on a few factors: | |
| 1. You've installed Discord using the .tar.gz file from their website. | |
| 2. You've installed said .tar.gz file to /opt/Discord. | |
| 3. Your Discord binary is /usr/bin/discord. | |
| 4. Your home variable is $HOME. (Check this by running "echo $HOME" in a terminal.) | |
| This script deletes /opt/Discord, /usr/bin/discord*, and /usr/share/applications/discord*.desktop. | |
| It then downloads the generic Linux .tar.gz installer from Discord's website, extracts it to | |
| /opt/Discord, and creates a symlink from /opt/Discord/Discord to /usr/bin/discord. Then, it |
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 secrets | |
| import requests | |
| from os.path import exists | |
| # A function to generate URLs with the random character patterns seen on the website | |
| def generateURLsToTest(number_to_generate, length=44) -> set: | |
| """Generates a list of URLs to test for the scam site.""" | |
| # Return an empty list if the number to generate is zero or less | |
| if number_to_generate <= 0: |
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
| # Imports | |
| import websockets | |
| import json | |
| import logging | |
| from typing import Optional | |
| from enum import Enum | |
| import asyncio | |
| # TODO: What's left for this websocket helper: | |
| # - Add a backoff strategy for the reconnect |