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
async function loadWords() { | |
const response = await fetch('https://raw.githubusercontent.com/dwyl/english-words/master/words.txt'); | |
const text = await response.text(); | |
return new Set(text.split('\n')); | |
} | |
function* permute(word, length) { | |
if (length === 1) { | |
for (let i = 0; i < word.length; i++) { | |
yield word[i]; |
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
from flask import Flask, jsonify | |
from PIL import Image | |
import numpy as np | |
from tkinter import filedialog, Tk, Button | |
import os | |
import threading | |
app = Flask(__name__) | |
@app.route('/image_data', methods=['GET']) |
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
local ReplicatedStorage = game:GetService("ReplicatedStorage") | |
local Packages = ReplicatedStorage.Packages | |
local Knit = require(Packages.Knit) | |
local Promise = require(Packages.Promise) | |
local entitiesFolder = script.entitiesFolder | |
local entities = Knit.CreateService({ | |
Name = 'entities' |
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
local ReplicatedStorage = game:GetService("ReplicatedStorage") | |
local ServerStorage = game:GetService('ServerStorage') | |
local Players = game:GetService('Players') | |
local Packages = ReplicatedStorage.Packages | |
local Signal = require(Packages.Signal) | |
local table = require(Packages.table) | |
local vehicleModels = ServerStorage.Assets.VehicleModels |
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
local SETTINGS = { | |
DefaultRateLimiterRate = 120, | |
} | |
local RateLimiter = { | |
Default = nil, | |
} | |
local Players = game:GetService("Players") |
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
local Players = game:GetService("Players") | |
local ReplicatedStorage = game:GetService("ReplicatedStorage") | |
local Lighting = game:GetService('Lighting') | |
local TweenService = game:GetService('TweenService') | |
local Knit = require(ReplicatedStorage.Packages.Knit) | |
local Classes = ReplicatedStorage.classes | |
local Weather = require(Classes.weather) |