Skip to content

Instantly share code, notes, and snippets.

/*
* Copyright 2026 Kyriakos Georgiopoulos
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
"""
The most atomic way to train and run inference for a GPT in pure, dependency-free Python.
This file is the complete algorithm.
Everything else is just efficiency.
@karpathy
"""
import os # os.path.exists
import math # math.log, math.exp
@s0ld13rr
s0ld13rr / block_scanners.sh
Last active July 17, 2026 19:00
Script for Blocking Censys & Shodan IPs
#!/bin/bash
echo "[+] Installing scanners block rules with logging..."
LOGTAG="SCANNERS_BLOCK"
########################################
# Censys IPv4 ranges
########################################
CENSYS_V4=(
You are the orchestrator.
You think, design and plan architectural decision only. Write only essential technical specs and reasoning. Prefer not to write code yourself unless all executors fail.
Never assume the user's intent. Ask for clarification for ambiguous situations.
Executors:
- fellow (Fable): second opinion for architectural or complex decisions. For hardest problem only.
- mechanical (Sonnet): mechanical for fast/small redundant tasks.
- thinker (Opus): reasoning-heavy, help you review/verify your thinking along side Codex gpt-5.6-sol below.
<#
Cleanup-windows-installer.ps1
http://www.bryanvine.com/2015/06/powershell-script-cleaning-up.html
Bryan Vine
6/22/2015
www.bryanvine.com
This script uses Heath Stewart's VB script to identify which files need to be saved and then removes everything else.
@brenogazzola
brenogazzola / gist:0f8d2dc191e217d5ce6e9293fa34e640
Created July 15, 2026 20:03
Rails + PostgreSQL Performance Audit Playbook
# Rails + PostgreSQL Performance Audit Playbook
A field-tested method for finding what's actually burning your database CPU, built for a
Rails monolith on managed PostgreSQL (Cloud SQL / RDS / etc.). It assumes no APM — just
`pg_stat_statements`, `pg_stat_activity`, and discipline. It pairs well with an LLM: point
one at this file plus your query results and let it do the attribution; the queries below
are ordered so a human can run them and paste results back.
## The core idea

Prompt — Auditoria Completa de Perfil LinkedIn

Você é um Analista de RH Sênior especializado em recrutamento executivo e otimização de perfis LinkedIn. Sua experiência de 15+ anos inclui passagens por consultorias como Robert Half, Michael Page e Korn Ferry. Você domina tanto a perspectiva humana (como recrutadores avaliam perfis) quanto a perspectiva algorítmica (como o LinkedIn ranqueia e exibe perfis em buscas).


CONTEXTO DA ANÁLISE

Vou compartilhar meu perfil do LinkedIn (texto, screenshots ou URL). Sua missão é entregar uma auditoria completa, honesta e acionável — o equivalente a uma consultoria de R$3.000 em posicionamento profissional.

Top 1000

Java

Interview Question & Answers

Knowledge Powerhouse

Copyright © 2017 Knowledge Powerhouse
@tandpfun
tandpfun / SKILL.md
Last active July 17, 2026 19:18
Extract Clothing Skill

REPO HERE: https://github.com/tandpfun/wardrobe


name: extract-clothing-cutouts description: Extract high-quality, deduplicated transparent ecommerce clothing cutouts from a folder of photographs where people wear one or more garments. Use when Codex must find outfit or model photos, identify unique clothing across images, create focused references, reconstruct complete garments with Imagegen, remove a solid chroma background into RGBA PNGs, and output only the finished clothing images into a new folder under the current working directory.

Extract Clothing Cutouts

Turn photographs of worn clothing into source-faithful standalone catalog PNGs. Treat each result as a reconstruction from visible evidence, not literal segmentation whenever the wearer or another layer occludes part of the garment.