Skip to content

Instantly share code, notes, and snippets.

View madjin's full-sized avatar

jin madjin

View GitHub Profile
@madjin
madjin / memo_listener.py
Created July 22, 2025 18:51
Listener for ai16z solana transactions containing memos, for collecting votes
#!/usr/bin/env python3
"""
memo_listener.py – Minimal version
-------------------------------------------
Fetch all ai16z transfers into the prize wallet or its ATA from a given slot onward,
then print to stdout (as table or NDJSON).
Usage:
export HELIUS_API_KEY=
export PRIZE_WALLET_ADDRESS=
@madjin
madjin / ai16z-jan-july-2025.json
Created July 19, 2025 18:19
Diamond Hands Analysis
{
"metadata": {
"analysis_date": "2025-07-13T22:18:52.075479",
"retention_threshold": 0.8,
"old_snapshot": "ai16z_jan12.json",
"new_snapshot": "holders.json"
},
"summary": {
"total_holders_now": 111040,
"total_holders_6mo_ago": 89150,
@madjin
madjin / github-wallet-links-madjin.json
Created May 14, 2025 22:02
Wallet links for decentralized verification
@madjin
madjin / test
Created May 14, 2025 21:05
test
test
Analyze this Discord chat segment and extract meaningful questions and their answers:
Focus on:
- Actual questions that received substantive answers
- Technical questions and implementation details
- Include the full context of both question and answer
- Skip rhetorical questions or casual conversation
For each Q&A pair, provide:
1. The exact question as asked
@madjin
madjin / ai16z_snapshot_12-6-24.csv
Created December 6, 2024 15:42
ai16z holder list
We can't make this file beautiful and searchable because it's too large.
"9YnQdCWDAQRfQYm5HvRzoPgc5GRn8fyhsH2eru8nfsxG",105034664586347140
"9UrftYJtrT4jBRMTLNFsKPsbW1pqcTv6511Z5imifwMB",51763503877444080
"8CaTuoD1r6CzR1mu6ueTDvjNpLj7sq5nWafDLymkQ4jH",38194585169504330
"G8AFH5qJ3eGx7vKFZsjo4LmxYCgTQ45WFb5FErq7PT1r",30600291430832424
"3vk8Hr7R1ZAcexDsQeHaaYTWsUG5ct6KEDbSCh3cJy8R",29111889205721230
"6rg2rfZ6Sim6j63LXvaLgbWicVGWhJUYHkCxgSHZBCqs",24087339055355470
"6QFG5Zw2DEoMeDkvooqS7t7yf82UQEGHxuViMx9dVJgD",20000001000000000
"fwHknyxZTgFGytVz9VPrvWqipW2V4L4D99gEb831t81",14078290634594500
"E9uDts8F8D8KsVmnZgwyn722ANShnc2MvT5v4GPbY9cf",12742951207833880
"FoSGz9nqNkpsaEX2nadmCXVmZPYBdqn6mTiDSdPUWEEp",12447801402137344
@madjin
madjin / ibad.txt
Created July 27, 2024 15:43
apple pasta
Every breath you take
www.inverse.com/article/16929-apple-watch-will-now-remind-ou-to-breathe
Every move you make
www.stopspying.org/latest-news/2021/10/1/stop-condemns-apple-for-tracking-iphone-location-when-turned-off
Every bond you break
acecilia.medium.com/apple-is-sending-a-request-to-their-servers-for-every-piece-of-software-you-run-on-your-mac-b0bb509eee65
Every step you take
www.komando.com/security-privacy/secret-map-tracking-apple/465598
I'll be watching you
www.thehackernews.com/2017/10/iphone-camera-spying.html
@madjin
madjin / gist:db58019d538f4401694b65fc4fa9a5f5
Created June 14, 2024 17:32
character studio sprite sheet manifest file
{
"assetsLocation": "./sprite-atlas-assets/",
"animationsDirectory": "/animations/",
"backgroundColor":[0,0,0,0],
"atlasWidth":128,
"atlasHeight":128,
"screenshotOffset":[-1,0.5],
"topFrameOffset":0.2,
"bottomFrameOffset":0.2,
"pixelStyleSize":2,
@madjin
madjin / gltf_to_usd.py
Created April 16, 2024 21:05
Blender script to bake each object then export as glTF + USDZ
import bpy
import sys
import os
def unwrap_and_bake_texture(obj, bake_resolution):
# Select the object
bpy.ops.object.select_all(action='DESELECT')
obj.select_set(True)
bpy.context.view_layer.objects.active = obj
@madjin
madjin / no_specular.py
Created April 6, 2023 00:35
remove specular from model in blender
import bpy
for mat in bpy.data.materials:
if not mat.use_nodes:
mat.specular_intensity = 0
continue
for n in mat.node_tree.nodes:
if n.type == 'BSDF_PRINCIPLED':
n.inputs["Specular"].default_value = 0