Skip to content

Instantly share code, notes, and snippets.

@subfuzion
subfuzion / curl.md
Last active July 29, 2026 20:07
curl POST examples

Common Options

-#, --progress-bar Make curl display a simple progress bar instead of the more informational standard meter.

-b, --cookie <name=data> Supply cookie with request. If no =, then specifies the cookie file to use (see -c).

-c, --cookie-jar <file name> File to save response cookies to.

@hschickdevs
hschickdevs / gist:4b790266d8a23c66b26c0055ae228b2c
Created July 29, 2026 17:39
Run Claude Code with Opus 4.8 with Full Permissions
claude --model claude-opus-4-8 --permission-mode dontAsk
@FelixWolf
FelixWolf / bbud_decrypt.py
Created November 1, 2018 15:47
Decrypt bonzi buddy nbd file "encryption" for anyone who wants the terrible jokes and "ok"ish facts.
#!usr/bin/env python3
def readFile(file):
data = []
with open(file, "rb") as f:
tmp = f.read()
for i in range(0,len(tmp), 2):
data.append(tmp[i+1] + 1)
data = bytes(data).decode("latin-1")
@jorgeadev
jorgeadev / youtube.md
Last active July 29, 2026 19:52
Youtube Content Generator From Lyrics

Youtube Content Generator - 01

Act as an expert YouTube strategist and creative copywriter for musicians. I will provide you with the lyrics of a song, potentially including timestamp data. Your task is to analyze the mood, theme, and imagery of the lyrics to generate a complete, SEO-optimized YouTube content package.

Please output the following sections formatted clearly with markdown:

  1. Image Generation Prompts: 2 highly detailed prompts (for Midjourney/DALL-E) to create a background image or thumbnail that perfectly matches the song's aesthetic. Include camera settings, lighting, and mood.
  2. YouTube Video Titles: 5 catchy, SEO-friendly titles. Mix descriptive titles (e.g., [Lyric Video], (Original Song)) with emotional/vibe-based titles.
  3. YouTube Description:
    • An engaging 2-3 sentence introduction explaining the song's meaning and welcoming the viewer.
    • A "Lyrics & Timestamps" section. (Convert the provided data into standard YouTube format, e.g., 0:00 - Intro, `1:15 - [Lyr
OS version Arch File Host Size Download Link Rate Limits
Windows 1.0 8086 Winworld (Kansas City, Missouri) 541KB Download ❌ Yes, 25 per day
Windows 2.0 386 Winworld (Kansas City, Missouri) 2.80MB Download ❌ Yes, 25 per day
Windows 3.0 8086/386
<?xml version="1.0" encoding="UTF-8"?>
<!-- This file contains the mappings for a Microsoft Xbox One Controller to actions within XBMC -->
<!-- The drivers for Linux and Windows do not always match. Mappings for Win32 will be presented -->
<!-- first, with Linux alts second. -->
<!-- The <global> section is a fall through - they will only be used if the button is not -->
<!-- used in the current window's section. Note that there is only handling -->
<!-- for a single action per button at this stage. -->
<!-- The format of a mapping is: -->
<!-- <device name="name"> -->
@0xdevalias
0xdevalias / fingerprinting-minified-javascript-libraries-ast-fingerprinting-source-code-similarity-etc.md
Last active July 29, 2026 19:40
Some notes and tools on fingerprinting minified JavaScript libraries, AST fingerprinting, source code similarity, etc

Fingerprinting Minified JavaScript Libraries / AST Fingerprinting / Source Code Similarity / Etc

Some notes and tools on fingerprinting minified JavaScript libraries, AST fingerprinting, source code similarity, etc.

Table of Contents

LLM Wiki

A pattern for building personal knowledge bases using LLMs.

This is an idea file, it is designed to be copy pasted to your own LLM Agent (e.g. OpenAI Codex, Claude Code, OpenCode / Pi, or etc.). Its goal is to communicate the high level idea, but your agent will build out the specifics in collaboration with you.

The core idea

Most people's experience with LLMs and documents looks like RAG: you upload a collection of files, the LLM retrieves relevant chunks at query time, and generates an answer. This works, but the LLM is rediscovering knowledge from scratch on every question. There's no accumulation. Ask a subtle question that requires synthesizing five documents, and the LLM has to find and piece together the relevant fragments every time. Nothing is built up. NotebookLM, ChatGPT file uploads, and most RAG systems work this way.

@ehsan18t
ehsan18t / processor-boost-mode.md
Last active July 29, 2026 19:37
Enable Processor Boost Mode Control in Advanced Power Settings

Enable Processor Boost Mode Control in Windows

Disable Turbo Boost to Reduce Power Consumption and Heat

Why Do We Need It?

If your laptop’s CPU is running very hot and you’ve tried to undervolt it, you’ve probably discovered there’s no easy way to do so—especially on laptops whose BIOS doesn’t expose those controls. I ran into the same issue with my Ryzen 7 5800H, despite numerous attempts, I couldn’t undervolt because the firmware simply wouldn’t allow it. While it may seem drastic, disabling Turbo Boost is one workaround—and you might be surprised how little real-world performance you lose by turning it off.