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 tkinter as tk | |
from tkinter import filedialog | |
import qrcode | |
from qrcode import constants as qr_const | |
from PIL import Image, ImageTk | |
import re | |
class MyGUI: |
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
"""visits the event list of the summaery 2023 and scrapes all events into one big icalendar file. | |
update the url and year in the future""" | |
from datetime import datetime | |
import pytz | |
from icalendar import Calendar, Event | |
from selenium.webdriver.common.by import By | |
from selenium import webdriver | |
from selenium.webdriver.chrome.options import Options |
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 numpy as np | |
from PIL import Image | |
def raycast_box_imgs(sphere_img, new_img_size, out_dir): | |
"""renders and saves all 6 sides of the skybox""" | |
rays = create_rays(new_img_size) | |
rotations = { | |
"ft": np.eye(3), | |
"lt": rot_y_mat(-.5 * np.pi), |
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
package me.gorgeousone.treexpert; | |
import org.bukkit.Bukkit; | |
import org.bukkit.Material; | |
import org.bukkit.block.Block; | |
import org.bukkit.block.data.type.Leaves; | |
import org.bukkit.event.EventHandler; | |
import org.bukkit.event.Listener; | |
import org.bukkit.event.block.BlockBreakEvent; | |
import org.bukkit.inventory.ItemStack; |
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 java.awt.Toolkit; | |
/* Example Project | |
OrbitCamera cam; | |
void settings() { | |
size(1200, 800, P3D); | |
smooth(); | |
} | |
void setup() { | |
cam = new OrbitCamera(); |