Skip to content

Instantly share code, notes, and snippets.

@joshlarsen
joshlarsen / organize-imports.luau
Created October 22, 2025 19:20 — forked from nightcycle/organize-imports.luau
I wrote this because Synty Studios uses texture maps for their assets, but it's more convenient to recolor the mesh directly in Roblox Studio. This splits it into multiple OBJ based on the color the UV points to.
--!strict
-- Run this in command line after you import the meshes
-- Services
-- Packages
-- Modules
-- Types
-- Constants
local SEPARATION = 1
local MAX_X_OFFSET = 50
-- Variables
@joshlarsen
joshlarsen / 0-opa-json-cheatsheet.md
Created August 20, 2021 20:30 — forked from onelittlenightmusic/0-opa-json-cheatsheet.md
Document for `jr`, `jb` or `jp`

jr, jp, jb (alias to opa eval): Cheatsheet

jr, jp and jb are commands for JSON modification.

Basic usages

$ data='{"name":"chris", "friends":["alice", "bob"]}'
# jr
$ echo $data | jr 'i.name'