Skip to content

Instantly share code, notes, and snippets.

@joshlarsen
joshlarsen / idiomatic_go_v2.md
Created February 11, 2026 19:52 — forked from ashokallu/idiomatic_go_v2.md
Idiomatic Go Programming Guide 2025+ - Gold Standard Edition

Idiomatic Go Programming Guide 2025+ - Gold Standard Edition

"Go is about making software engineering more effective, not just making programmers more productive." - The Go Team

Target Go Version: Go 1.23+ (examples align with 1.23–1.24 features)


Executive Summary

@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'