Skip to content

Instantly share code, notes, and snippets.

View 1337hero's full-sized avatar

Mike Key 1337hero

View GitHub Profile
@1337hero
1337hero / Prompt.md
Created July 29, 2026 23:54
Qwen3.6-27B-MTP-Q8-Voxel-Test

Design and create a very creative, elaborate, and detailed voxel art scene of a pagoda in a beautiful garden with trees, including some cherry blossoms. Make the scene impressive and varied and use colorful voxels. Use whatever libraries to get this done but make sure I can paste it all into a single HTML file and open it in Chrome.

@1337hero
1337hero / gist:e0913bb2c5f52e8ded839718294d521a
Created July 11, 2026 01:47
QWEN3.6-27B-llama.cpp-config
# 27B DENSE (qwen35, hybrid → small ~3 GiB KV). Weights 26.6 GiB nearly fill
# one card, leaving no compute room (1-card full ctx collapses to ~10 t/s), so
# 2 cards (1+2): full 262144 f16 KV fits with ~7 GiB free/card.
# ROCm backend (dense → ROCm, shootout 2026-07-10): pp 1890/1684/1242 at
# d0/8K/32K vs Vulkan 1576/1408/1086; tg +6-7% at depth. ~8% faster
# agentic turns.
Qwen3.6-27B:
name: "Qwen3.6-27B Q8_0 (dense, ROCm)"
cmd: |
${llama-server-rocm}
@1337hero
1337hero / pihole-block.txt
Last active March 17, 2026 02:36
PiHole Block List
# Social Media Blocklist for Pi-hole
# Format: 0.0.0.0 domain
# Updated: 2026-03-16
# Roblox
0.0.0.0 golden.roblox.com
0.0.0.0 us-central-bd2.roblox.com
0.0.0.0 realtime.roblox.com
0.0.0.0 gold.roblox.com
0.0.0.0 inventory.roblox.com

pnp-dl # downloads to ~/Downloads// pnp-dl ~/Music/foo # custom output dir

Features:

  • Extracts slug from any app.patristicnectar.org URL
  • Resolves collection → fetches signed audio URLs via GraphQL
  • Numbers files by position, skips existing files on re-run
  • No auth required, no dependencies beyond curl + python3

Place in ~/.local/bin/pnp-dl on linux

@1337hero
1337hero / 4-5.md
Created January 30, 2026 06:37
ChatGPT-System-Prompts

You are ChatGPT, a large language model trained by OpenAI, based on the GPT-4.5 architecture. Knowledge cutoff: 2023-10 Current date: 2025-04-05

Image input capabilities: Enabled Personality: v2

You are a highly capable, thoughtful, and precise assistant. Your goal is to deeply understand the user's intent, ask clarifying questions when needed, think step-by-step through complex problems, provide clear and accurate answers, and proactively anticipate helpful follow-up information. Always prioritize being truthful, nuanced, insightful, and efficient, tailoring your responses specifically to the user's needs and preferences.

NEVER use the dalle tool unless the user specifically requests for an image to be generated.

{"messages": [{"role": "user", "content": "Read the contents of src/components/Button.tsx"}, {"role": "assistant", "content": null, "tool_calls": [{"id": "call_1", "type": "function", "function": {"name": "read", "arguments": "{\"filePath\": \"/project/src/components/Button.tsx\"}"}}]}]}
{"messages": [{"role": "user", "content": "Find all TypeScript files in the src directory"}, {"role": "assistant", "content": null, "tool_calls": [{"id": "call_1", "type": "function", "function": {"name": "glob", "arguments": "{\"pattern\": \"src/**/*.ts\"}"}}]}]}
{"messages": [{"role": "user", "content": "Search for usages of useState in the codebase"}, {"role": "assistant", "content": null, "tool_calls": [{"id": "call_1", "type": "function", "function": {"name": "grep", "arguments": "{\"pattern\": \"useState\", \"include\": \"*.tsx\"}"}}]}]}
{"messages": [{"role": "user", "content": "Run the test suite"}, {"role": "assistant", "content": null, "tool_calls": [{"id": "call_1", "type": "function", "function": {"name": "bash",
@1337hero
1337hero / gist:da66d2f849ad10d04b8a03e6a2754abc
Created November 24, 2025 21:57
agentic-invoice-bot.js
// agentic-invoice-bot.js – Opus 4.5 Generated MVP
// Setup: npm init -y; npm i nodemailer imap-simple pdfkit axios dotenv
// Env: Add .env with GMAIL_USER, GMAIL_PASS, PRESTLO_API_KEY
// Run: node agentic-invoice-bot.js (polls every 5 min)
require('dotenv').config();
const nodemailer = require('nodemailer');
const ImapSimple = require('imap-simple');
const PDFDocument = require('pdfkit');
const fs = require('fs');
@1337hero
1337hero / uncheck-x-interests.js
Last active September 4, 2024 15:30
Uncheck Twitter/X interests
var counter = 0;
var wait = 2800;
var interests = $$('input:checked');
interests.forEach( (w) => {
var current = counter;
setTimeout(() => {
console.log(current + '/' + interests.length);
w.click();
}, wait * counter);
@1337hero
1337hero / fb-email-scraper.js
Created January 23, 2024 16:43
FB Email Scraper
function createCSV(data, fileName) {
const headers = [
'id',
'author_name',
'post',
'is_post',
'comment',
'is_comment',
'first_name',
'last_name',
@1337hero
1337hero / .gitignore
Created November 1, 2023 15:08
WordPress Generic Install - gitignore Template
/*
!.gitignore
# WordPress
!wp-content
wp-content/*
!wp-content/themes
wp-content/themes/*
!/wp-content/themes/YOUR-THEME-HERE/