- The Riddle House
- The Portkey
- The Quidditch World Cup
- The Dark Mark
- Beauxbatons and Durmstrang
- Mad-Eye Moody
- The Unforgivable Curses
- The Goblet of Fire
- Dark Forces Dicussed
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
#include <stdio.h> | |
int examplefunction(int input) { | |
return input * 22; | |
} |
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 os | |
filetosplit = input("File To Split: >>") # Input file such as "FullMovie.mp3" | |
listOfTimes = open(input("times file: >>"),"rb").read().decode().split("\n") # List of times from DVD Decrypter > Information File > Chapter - OGG | |
zeroPadding = int(input("How much to pad with zeros: >>")) # 2 = 03, 5 = 00003 etc | |
def padZeros(x,p): | |
return ((p-len(str(x)))*"0")+str(x) | |
times = [] | |
for i in range(len(listOfTimes)): |
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
print("||"+"||||".join(list(input("Spoiler Text\n>")))+"||") |
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
||W||||e||||'||||r||||e|||| ||||n||||o|||| ||||s||||t||||r||||a||||n||||g||||e||||r||||s|||| ||||t||||o|||| ||||l||||o||||v||||e|| | |
||Y||||o||||u|||| ||||k||||n||||o||||w|||| ||||t||||h||||e|||| ||||r||||u||||l||||e||||s|||| ||||a||||n||||d|||| ||||s||||o|||| ||||d||||o|||| ||||I|| | |
||A|||| ||||f||||u||||l||||l|||| ||||c||||o||||m||||m||||i||||t||||m||||e||||n||||t||||'||||s|||| ||||w||||h||||a||||t|||| ||||I||||'||||m|||| ||||t||||h||||i||||n||||k||||i||||n||||g|||| ||||o||||f|| | |
||Y||||o||||u|||| ||||w||||o||||u||||l||||d||||n||||'||||t|||| ||||g||||e||||t|||| ||||t||||h||||i||||s|||| ||||f||||r||||o||||m|||| ||||a||||n||||y|||| ||||o||||t||||h||||e||||r|||| ||||g||||u||||y|| | |
||I|||| ||||j||||u||||s||||t|||| ||||w||||a||||n||||n||||a|||| ||||t||||e||||l||||l|||| ||||y||||o||||u|||| ||||h||||o||||w|||| ||||I||||'||||m|||| ||||f||||e||||e||||l||||i||||n||||g|| | |
||G||||o||||t||||t||||a|||| ||||m||||a||||k||||e|||| ||||y||||o||||u|||| ||||u||||n||||d||||e||||r||||s||||t||||a||||n||||d|| | |
||N||||e||||v||||e||||r|||| |
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
# Prints ngrok.io tunnel name and port for miencarft to stdout | |
import os | |
import requests | |
os.system("pgrep -x ngrok > /dev/null && echo > /dev/null || ngrok tcp 25565 > /dev/null &") | |
print(json.loads(requests.get("http://127.0.0.1:4040/api/tunnels").content)["tunnels"][0]["public_url"]) |
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 random | |
while True: | |
numbers_str = input("Enter a number to find the LCM for (csv):") | |
if not numbers_str: | |
break | |
numbers_int = [] | |
for number in numbers_str.split(","): | |
numbers_int.append(int(number)) | |
current = 1 | |
while True: |
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
# curl -L https://gist.githubusercontent.com/maxfire2008/d9a1f8aa0494031d8100b06f89b2fdc7/raw/ --output primegen_d9a1f8aa0494031d8100b06f89b2fdc7.py && python3 primegen_d9a1f8aa0494031d8100b06f89b2fdc7.py | |
import random | |
def primeCheck(n): | |
if n == 1 or n == 0 or (n % 2 == 0 and n > 2): | |
return False | |
else: | |
for o in range(3, int(n ** (1 / 2)) + 1, 2): | |
if n % o == 0: | |
return False |
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 random | |
def leftside(o,c): | |
if type(o) == str: | |
o = [o] | |
for x in range(c): | |
print(random.choice(o)*(x+1)) | |
def centered(o,c,sc,ditchright=True): | |
if type(o) == str: | |
o = [o] | |
maxlength = c |
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
f"{str(exec('import datetime'))[0:0]}{datetime.datetime.now().isocalendar().year-2000}w{(1-(min(int(datetime.datetime.now().isocalendar().week/10),1)))*'0'}{datetime.datetime.now().isocalendar().week}" |
OlderNewer