Skip to content

Instantly share code, notes, and snippets.

View Finchasaurus's full-sized avatar
🏳️‍⚧️
Find me on Discord

Finch Finchasaurus

🏳️‍⚧️
Find me on Discord
View GitHub Profile
@Finchasaurus
Finchasaurus / nekoweb-ssi-server.py
Last active May 26, 2026 21:23
http server with python that supports nekoweb ssi features. currently only layout, block, include, views, updates, followers. includes auto reload on save.
from http.server import SimpleHTTPRequestHandler, ThreadingHTTPServer
from pathlib import Path
import re
import random
import sys
import threading
import time
ROOT = Path(__file__).parent.resolve()
-- I use this for school on my work laptop which means no WSL and I must put up with PS :(
vim.api.nvim_create_user_command("Preview", function()
vim.cmd([[!powershell -Command "$d = Split-Path '%:p'; $f = Get-ChildItem $d -Filter *.html | Select-Object -First 1; if ($f) { start chrome $f.FullName } else { Write-Host 'No HTML file found' }"]])
end, {})
vim.cmd("colorscheme sorbet")
vim.opt.tabstop = 2
vim.opt.shiftwidth = 2
vim.opt.expandtab = false
local Players = game:GetService("Players")
local RunService = game:GetService("RunService")
local client = Players.LocalPlayer
local camera = workspace.CurrentCamera
local frame_size = UDim2.fromScale(0.025, 0.025)
local screen_gui = Instance.new("ScreenGui")
{
"name": "project",
"globIgnorePaths": ["**/package.json", "**/tsconfig.json"],
"emitLegacyScripts": false,
"tree": {
"$className": "DataModel",
"ServerScriptService": {
"$className": "ServerScriptService",
"server": {
"$path": "out/server"
import React, { createRef, Element, useEffect, useState } from "@rbxts/react";
import { usePx } from "../hooks/use-px";
import { Empty } from "./empty";
import { Typeography } from "./typeography";
import { Widget } from "./widget";
function extractDigits(value: number) {
return tostring(value)
.split("")
.map((digit) => tonumber(digit)!);
-- When I was first looking at the APIs I refered to the devforum posts lmao
-- https://devforum.roblox.com/t/studio-beta-major-updates-to-in-experience-mesh-image-apis/3225681
-- https://devforum.roblox.com/t/client-beta-in-experience-mesh-image-apis-now-available-in-published-experiences/3267293
local AssetService = game:GetService("AssetService")
-- Creating a simple triangle
local editableMesh = AssetService:CreateEditableMesh()
local v1 = editableMesh:AddVertex(Vector3.new(0, 1, 0))
local v2 = editableMesh:AddVertex(Vector3.new(1, 0, 0))
local str = [[
⠀⠀⠀⠀⠀⠀⠀⢠⣿⣿⣦⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣴⣿⣦⡀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⢠⣿⣿⣿⣿⣆⠀⠀⠀⠀⠀⠀⠀⠀⣾⣿⣿⣿⣷⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⢀⣾⣿⣿⣿⣿⣿⡆⠀⠀⠀⠀⠀⠀⣸⣿⣿⣿⣿⣿⡆⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⣾⣿⣿⣿⣿⣿⣿⣿⡀⠀⠀⠀⠀⢀⣿⣿⣿⣿⣿⣿⣿⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⢸⣿⣿⣿⣿⣿⣿⣿⣿⣧⠀⠀⠀⠀⣼⣿⣿⣿⣿⣿⣿⣿⡇⠀⠀⠀⠀⠀
⠀⠀⠀⠀⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣠⣤⣤⣼⣿⣿⣿⣿⣿⣿⣿⣿⣷⠀⠀⠀⠀⠀
⠀⠀⠀⢀⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠀⠀⠀⠀⠀
⠀⠀⠀⢸⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠀⠀⠀⠀⠀
⠀⠀⠀⠘⣿⣿⣿⣿⠟⠁⠀⠀⠀⠹⣿⣿⣿⣿⣿⠟⠁⠀⠀⠹⣿⣿⡿⠀⠀⠀⠀⠀