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
'''Scraper to download the Summaery events into a .ics calender file for importing it into a calender app or something''' | |
import os | |
import pytz | |
import re | |
import requests | |
from bs4 import BeautifulSoup | |
from datetime import datetime | |
from icalendar import Calendar, Event |
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(); |