Skip to content

Instantly share code, notes, and snippets.

View gh-doot's full-sized avatar
😐
stuf

doot gh-doot

😐
stuf
  • 06:36 (UTC +04:00)
View GitHub Profile
function rocketThrowerObserver()
local q = Events.collect("SwingArmEvent")
while true do
local e = q:next()
if e.item.displayName == "Rocket Thrower" then
local cmd = "/lua p=Entities.find('@p[name=%s]')[1]; rocket(p)"
spell:execute(cmd, e.player.name)
end
end
end
from win10toast import ToastNotifier
from tqdm import tqdm
import requests
reposowner = input("Repository owner's name! CaSe SeNsItIvE")
reposname = input("Repository's name! CaSe SeNsItIvE")
mute = input("Do you want to enable notifications or not? (Y/N(CaSe SeNsItIvE))")
chunk_size = 1024
url = "github.com/" + reposowner + "/" + reposname + "/archive/master.zip"
# ________ ___ ___ ________ _________ ________ ________ _______ ________ ___ ___
#|\ __ \|\ \ / /|\ ____\|\___ ___\\ __ \|\ __ \|\ ___ \ |\ __ \|\ \ / /|
#\ \ \|\ \ \ \/ / | \ \___|\|___ \ \_\ \ \|\ \ \ \|\ \ \ __/| \ \ \|\ \ \ \/ / /
# \ \ ____\ \ / / \ \_____ \ \ \ \ \ \ \\\ \ \ _ _\ \ \_|/__ \ \ ____\ \ / /
# \ \ \___|\/ / / \|____|\ \ \ \ \ \ \ \\\ \ \ \\ \\ \ \_|\ \ __\ \ \___|\/ / /
# \ \__\ __/ / / ____\_\ \ \ \__\ \ \_______\ \__\\ _\\ \_______\\__\ \__\ __/ / /
# \|__||\___/ / |\_________\ \|__| \|_______|\|__|\|__|\|_______\|__|\|__||\___/ /
# \|___|/ \|_________| \|___|/
#
#