Commands voor de Minecraft Quest
/team add blauw "Blauw"
/team add rood "Rood"
Credits naar Joshua en Youri voor dit
Zet de eerste op ALWAYS ACTIVE of IMPULSE met redstone.
ALAWAYS ACTIVE zou geen lag moeten hebben. Zet eerst wel /gamerule commandBlockOutput false
anders wordt de console vol gespammt. Is ook handig voor als iemand dood gaat.
1e command block, zet op REPEAT & IMPULSE / ALWAYS ACTIVE: (Voor team rood)
import requests | |
import json | |
import random | |
import string | |
from time import sleep | |
def random_number(digits): | |
range_start = 10**(digits-1) | |
range_end = (10**digits)-1 | |
return random.randint(range_start, range_end) |
import os | |
import shutil | |
import argparse | |
parser = argparse.ArgumentParser() | |
parser.add_argument( | |
"--source", "-s", help="Set the source folder", required=True) | |
parser.add_argument("--destination", "-d", | |
help="Set the destination folder", required=True) | |
parser.add_argument("--hidden_files", "-hf", |
{ | |
"mtr": "Mentorles", | |
"dutl": "Duits", | |
"entl": "Engels", | |
"fatl": "Frans", | |
"netl": "Nederlands", | |
"wisa": "Wiskunde A", | |
"wisb": "Wiskunde B", | |
"wisc": "Wiskunde C", | |
"wisd": "Wiskunde D", |
# This is a simple python script that lets you export WRTS (https://wrts.nl) lists to text/csv files | |
# Auth token: Get from your browser inspector when you're logging in | |
# List ID: The ID in the URL https://leren.wrts.nl/lists/[ID HERE] | |
# Tested in March 2021 | |
# By Rijk van Putten (@rijkvp) | |
import requests; | |
import json; | |
auth_token = input("Auth Token: ") |
# Create screenshots of the Join and Join Now buttons in Teams | |
import pyautogui # install with: pip3 install pyautogui | |
import time | |
while True: | |
print("Started searching for the join button. Make sure you're in the right channel or team.") | |
join_button_pos = pyautogui.locateOnScreen("teams-join.png", confidence=0.9, grayscale = True) | |
if join_button_pos != None: | |
click_point = pyautogui.center(join_button_pos) | |
pyautogui.click(click_point.x, click_point.y) |
#!/bin/sh | |
if [ "$#" -ne 1 ]; then | |
echo "Please provide exactly 1 argument." >&2 | |
exit 1 | |
fi | |
input_dir="$1" | |
# From: https://www.reddit.com/r/DataHoarder/comments/e4194o/comment/kfr3ama/ | |
ffmpeg_args="-vf yadif=mode=send_field:parity=bff -c:v libx264 -preset medium -crf 21 -pix_fmt yuv420p -c:a aac -b:a 256k -strict -2 -write_tmcd 0" | |
source_ext="avi" | |
target_ext="mkv" |