Skip to content

Instantly share code, notes, and snippets.

View B-Ricey763's full-sized avatar

B-Ricey763

View GitHub Profile
@B-Ricey763
B-Ricey763 / vk
Created March 13, 2026 18:20
vk - camera firmware build/deploy helper script
#!/usr/bin/env bash
set -euo pipefail
# --- Config ---
declare -A VK_BINARY_MAP=()
declare -A VK_SOURCE_MAP=()
find_repo_root() {
git rev-parse --show-toplevel 2>/dev/null
#start_function
int nested(int n):
int-list: i, j, m, k
float-list:
loop1:
breq, endloop1, i, n
loop2:
brgt, endloop2, j, n
add m, m, 5
@B-Ricey763
B-Ricey763 / zmq_logging.py
Created August 20, 2025 15:30
A pair of a listener plus logger handler for use in multiprocessing logging in python. Start the listener, and for all root loggers in other processes, register the logging handler.
import copy
import logging
import threading
import traceback
import zmq
LISTENER_TIMEOUT = 100 # ms
LOG_TOPIC = ""
local ServerStorage = game:GetService("ServerStorage")
local tree = script.Parent
local root = tree.Root
local leafTemplate = ServerStorage.Leaf
local MAX_ITERATIONS = 5
local BASE_ANGLE = 45
local function generateTree(parentBranch: BasePart, iter: number)
@B-Ricey763
B-Ricey763 / AnimatedCurvyPlaneThreeJS.ts
Created February 6, 2024 14:51
I was going to use this for my portfolio website but I ended up pivoting to blender, but I still want to keep what I did since it may be useful for someone else
import './style.css'
import * as THREE from 'three';
import { OrbitControls } from 'three/addons/controls/OrbitControls.js';
const PLANE_SEGMENTS = 16
let container: HTMLDivElement;
let camera: THREE.PerspectiveCamera, scene: THREE.Scene, renderer: THREE.WebGLRenderer;
let controls: OrbitControls;
let positions: THREE.BufferAttribute;
@B-Ricey763
B-Ricey763 / Client.lua
Last active September 22, 2022 00:35
Bridge Extension rough draft. My setup is a folder called Bridge with these three files as descendants.
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local Comm = require(ReplicatedStorage.Packages.Comm)
local Client = {}
function Client.Starting(component)
local inboundMiddleware = component.Middleware and component.Middleware.Inbound
local outboundMiddleware = component.Middleware and component.Middleware.Outbound
component.Server = Comm.ClientComm.new(component.Instance, true, component.Tag):BuildObject(
inboundMiddleware,
@B-Ricey763
B-Ricey763 / init.lua
Last active September 9, 2021 02:42
My neovim configuration written in lua
local cmd = vim.cmd
local exec = vim.api.nvim_exec
require('plugins')
require('mappings')
cmd("set termguicolors")
cmd("set number")
-- Colorscheme stuff
@B-Ricey763
B-Ricey763 / .gitignore
Created July 17, 2021 20:48
A gitignore for Core Games
# Temporary files used when publishing & to store some preview data like persistent storage
# No need to synchronize
Temp/
# Local user settings used to store script breakpoints & hierarchy state (locked/hidden objects)
# No need to synchronize
UserSettings/
# Screenshots used when publishing & for project thumbnails in the Create tab
# Comment out if you want to synchronize screenshots
@B-Ricey763
B-Ricey763 / VizDebug.lua
Created July 14, 2021 19:14
A visual debugging module for Roblox Studio
--[[
VizDebug: a visual debugging module modeled after Core Game's CoreDebug:
https://docs.coregames.com/api/coredebug/
API:
VizDebug.DefaultColor: Color3
> Default is red
@B-Ricey763
B-Ricey763 / .Roblox Shotgun
Last active May 19, 2021 19:10
Shotgun Code for Roblox Studio
Code for use in Roblox Studio Shotgun (https://youtu.be/sBdV4mimlYs)