Skip to content

Instantly share code, notes, and snippets.

View joemccann's full-sized avatar
πŸ’­
Thinking

Joe McCann joemccann

πŸ’­
Thinking
View GitHub Profile
ELITE FULL-STACK ARCHITECT
Adopt the role of a former Principal Engineer from a FAANG giant who walked away from bloated microservices and endless meetings to build high-performance, shipping-ready products as a solo developer. You are a pragmatist who despises over-engineering, a Type-Safety absolutist who believes any is a crime, and a master of the "T-shaped" skill setβ€”deep in backend systems, broad in modern UI/UX. You have optimized your workflow for the modern stack: Next.js (App Router), TypeScript, Server Actions, Postgres (Supabase/Drizzle), and Tailwind CSS. You don't just write code; you architect self-healing, scalable systems that look beautiful and perform instantly.
Your mission: Transform abstract product ideas into production-grade, full-stack applications. You will extract requirements, architect the database schema, visualize the UI, and then generate robust, modular code that connects the frontend to the backend seamlessly. You prioritize security, performance (Core Web Vitals), and maint
@joemccann
joemccann / gist:0d4123df333fe39a46672ef54aee4173
Created November 21, 2025 20:28
Elite Designer Prompt for Gemini 3.0
------------------------
ELITE WEB DESIGNER
------------------------
Adopt the role of a former Silicon Valley design prodigy who burned out creating soulless SaaS dashboards, disappeared to study motion graphics and shader programming in Tokyo's underground creative scene, and emerged with an obsessive understanding of how visual maximalism serves business credibility when executed with surgical precision. You're a conversion strategist who spent years A/B testing landing pages for unicorn startups, a design fundamentalist who refuses to sacrifice usability for aesthetics, and a master meta-prompter who optimizes for clarity over verbosity. You know modern image generation AI needs specific structural formattingβ€”contemporary design frameworks (Tailwind CSS, Shadcn UI, glassmorphism, liquid glass, morphism), backgrounds with depth (animated gradients, shaders, mascots), and step-by-step execution instructionsβ€”to produce 2025-quality interfaces instead of outdated designs.
Your mission: Transform user vision
@joemccann
joemccann / gist:d4d51d1e2f37a1e0c2e01c1e2f2e8720
Created June 5, 2025 21:51
Asymmetric Z-Score Histogram
//@version=5
//
// _____ __ .__
// / _ \ _________.__. _____ _____ _____/ |________|__| ____
// / /_\ \ / ___< | |/ \ / \_/ __ \ __\_ __ \ |/ ___\
// / | \\\___ \ \___ | Y Y \ Y Y \ ___/| | | | \/ \ \___
// \____|__ /____ >/ ____|__|_| /__|_| /\___ >__| |__| |__|\___ >
// \/ \/ \/ \/ \/ \/ \/
//
// Disclaimers: https://t.co/kOsUzy5pCB
@joemccann
joemccann / asymmetric-coinbase-premium-indicator-tradingview.sh
Created January 3, 2025 13:58
Asymmetric Coinbase Premium Indicator for TradingView
//@version=5
//
// _____ __ .__
// / _ \ _________.__. _____ _____ _____/ |________|__| ____
// / /_\ \ / ___< | |/ \ / \_/ __ \ __\_ __ \ |/ ___\
// / | \\\___ \ \___ | Y Y \ Y Y \ ___/| | | | \/ \ \___
// \____|__ /____ >/ ____|__|_| /__|_| /\___ >__| |__| |__|\___ >
// \/ \/ \/ \/ \/ \/ \/
//
// Disclaimers: https://t.co/kOsUzy5pCB
@joemccann
joemccann / convert.ts
Last active March 27, 2022 20:17
Convert Solana private key to array
import bs58 from 'bs58'
const bytes = bs58.decode('PRIVATE_KEY_HASH')
console.log(Array.from(bytes))
zo-keeper v0.1.0 (/Users/asymmetricholdingsltd./solana/liqudation-bots/01/zo-keeper)
β”œβ”€β”€ anchor-client v0.21.0
β”‚ β”œβ”€β”€ anchor-lang v0.21.0
β”‚ β”‚ β”œβ”€β”€ anchor-attribute-access-control v0.21.0 (proc-macro)
β”‚ β”‚ β”‚ β”œβ”€β”€ anchor-syn v0.21.0
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ anyhow v1.0.55
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ bs58 v0.3.1
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ heck v0.3.3
β”‚ β”‚ β”‚ β”‚ β”‚ └── unicode-segmentation v1.9.0
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ proc-macro2 v1.0.36
@joemccann
joemccann / install-evmos-on-macos.md
Created February 27, 2022 15:34
Quick and Dirty Gist to Install EVMOS on MacOS

Install EVMOS on MacOS

Install Go if you don't have it. Here's a quick guide.

Download the evmos binary:

Note depending on the release/version you'll need to update the version number and path of the tar file in the commands below. The version for this gist is v1.0.0-beta1/evmos_1.0.0-beta1_Darwin_arm64.tar.gz.

cd ~/Downloads/
#!/usr/bin/env zx
//
// Get array of lambda ARNs
//
let lambdas = JSON.parse(
await $`aws lambda list-functions --function-version ALL --output json --query "Functions[?Runtime=='nodejs10.x'].FunctionArn"`
)
//
@joemccann
joemccann / script.js
Created June 16, 2019 15:19
WebGL Smoke
var camera, scene, renderer,
geometry, material, mesh;
init();
animate();
function init() {
stats = new Stats();
stats.setMode(0);
stats.domElement.style.position = 'absolute';
const tiny = require('tiny-json-http')
const schedule = require('node-schedule')
const {
error,
log
} = console
function main() {