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 | |
| # Blue foreground | |
| print("\033[34m") | |
| print("Partition backup script for Android devices - by @flandolf") | |
| print("Must have ADB installed, rooted device and USB debugging enabled") | |
| print("This script will backup all partitions except userdata") | |
| input("Backup folder will be created in the same directory as this script. Press Enter to continue...") |
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
| # requires pytesseract for OCR | |
| # requires keyboard | |
| import os | |
| from time import sleep | |
| from PIL import Image | |
| import pytesseract | |
| import keyboard | |
| pytesseract.pytesseract.tesseract_cmd = r'C:\Program Files\Tesseract-OCR\tesseract.exe' | |
| flist = [] | |
| os.scandir('.') |
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 colorama import * | |
| from pyfiglet import Figlet | |
| import time | |
| import progressbar | |
| import random | |
| def shufflechar(string): | |
| string = list(string) | |
| random.shuffle(string) | |
| return ''.join(string) |
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
| # ideal fractions are when 2 pairs of fractions. When they are added they are the same as when they are multiplied | |
| # how to make one you have to make the denominators equal the numerator | |
| # eg 16/7 and 16/9 are ideal as 7 + 9 = 16 (numerator) | |
| from colorama import * | |
| import time | |
| init() | |
| print(Fore.GREEN + "Welcome to the ideal fraction calculator / by Dumpy") | |
| print(Fore.CYAN + "\033[1mhttps://gist.github.com/dumpydev\033[0m\n") | |
| print(Fore.RED, end="") | |
| print('Initialising...') |
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
| const fs = require("fs"); | |
| var i = 0; | |
| var goto = 10000 + 1; | |
| //see if primes.txt exists if it does, delete it | |
| if (fs.existsSync("primes.txt")) { | |
| fs.unlinkSync("primes.txt"); | |
| } | |
| //same for notprimes.txt | |
| if (fs.existsSync("notprimes.txt")) { | |
| fs.unlinkSync("notprimes.txt"); |
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
| /* | |
| * requires colors. npm i colors | |
| * exposing stupid tiktok scammers smh | |
| */ | |
| var colors = require('colors'); | |
| // modify chance of getting a hit (fake) | |
| var freq = 0.0001; | |
| //name of miner | |
| var name = "dumpyminer" | |
| //amount of decimal places to round up to |