Skip to content

Instantly share code, notes, and snippets.

View sterlingcrispin's full-sized avatar
🍃
every sound is a song

Sterling Crispin sterlingcrispin

🍃
every sound is a song
View GitHub Profile

Work prompts

Some prompts I've found useful.

Note: these should not be spammed at the models.

If you send them too often the models may overly focus on the process rather than the results.

These are best for occasional course corrections and sanity checks rather than frequent repeated usage.

@sterlingcrispin
sterlingcrispin / rewriteZora.mjs
Created April 18, 2025 20:32
You can use this to edit Zora NFT's and write any data into it you want.
import { Wallet, JsonRpcProvider, Interface } from "ethers";
const RPC =
"https://base-mainnet.g.alchemy.com/v2/YOUR_ALCHEMY_API_KEY";
const PK = "PRIVATE_KEY"; // Your wallet address private key
const TOKEN = "THE_ADDRESS_OF_THE_TOKEN_YOU_WANT_TO_CHANGE";
const URI = "ipfs://LOCATION_ON_IPFS_OF_NEW_CONTENT";
@sterlingcrispin
sterlingcrispin / HLSL Minify
Last active March 18, 2023 15:58
ArtBlocks helpful files for artists
if you need to minifiy an HLSL shader
you can use this website
https://ctrl-alt-test.fr/minifier/?main
@sterlingcrispin
sterlingcrispin / gist:b4b7fc80ae784098cfb491ed597e5739
Created May 29, 2020 01:46 — forked from DuncanF/gist:353509dd397ea5f292fa52d1b9b5133d
Unity lockless (no GPU readback) marching cubes via Graphics.DrawProceduralIndirect - some slight faffing because compute shader must append full triangle (3 verts) at a time to render correctly, but this means the appendbuffer count is 3 times smaller than it needs to be, so we have to invoke a very short compute shader (FixupIndirectArgs) just…
MarchingCubesGPU.cs:
...
// DrawProceduralIndirect
ComputeBuffer argsBuffer;
[StructLayout(LayoutKind.Sequential)]
struct DrawCallArgBuffer
{
public const int size =
sizeof(int) +
sizeof(int) +
@sterlingcrispin
sterlingcrispin / Calvin_Bitcoin.svg
Created February 5, 2018 02:14
Calvin peeing on bitcoin and crypto
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.