Skip to content

Instantly share code, notes, and snippets.

@cowboy
cowboy / abstraction-2020.js
Last active July 19, 2026 01:30
Abstraction.js 2020 Edition (ES6)
/*
* Abstraction.js 2020 Edition
*
* Copyright (c) 2020 "Cowboy" Ben Alman
* Licensed under the MIT license.
* http://benalman.com/about/license/
*/
let $elseif, $else, $if = state => state ? (
$elseif = () => () => {},
@mary-ext
mary-ext / bluesky-osa.md
Last active July 19, 2026 01:25
Bluesky's age assurance sucks, here's how to work around it.

Bluesky's age assurance sucks, here's how to work around it.

Bluesky has implemented age verification measures in response to regional laws that restrict access, prompting users to verify their age through Epic Games' Kids Web Services before they can access adult content.

This sucks, but thankfully there are ways to work around it.

Before diving in: I encourage you to read this entire document, including the

127.0.0.1 us.rdx2.lgtvsdp.com
127.0.0.1 us.info.lgsmartad.com
127.0.0.1 us.ibs.lgappstv.com
# 127.0.0.1 us.lgtvsdp.com
127.0.0.1 ad.lgappstv.com
127.0.0.1 smartshare.lgtvsdp.com
127.0.0.1 ibis.lgappstv.com
# added after fork
# from https://www.reddit.com/r/pihole/comments/6qmpv6/blacklists_for_lg_webos_tvs/ and others
@ocombe
ocombe / README.md
Last active July 19, 2026 00:51
ChatGPT Conversation Exporter — export all your conversations as JSON + Markdown + ZIP. No dependencies beyond bash, curl, python3.

ChatGPT Conversation Exporter

Export all your ChatGPT conversations as JSON + Markdown + HTML + ZIP. Works with ChatGPT Business/Team/Enterprise accounts (including SSO/Okta).

What's exported

  • JSON — Raw conversation data from the API
  • Markdown — Clean text with headers per message, relative links to downloaded files
  • HTML — ChatGPT-style conversation viewer with sidebar navigation, syntax-highlighted code blocks, and embedded images
@ConduciveMammal
ConduciveMammal / debug.liquid
Created November 13, 2025 13:21
Liquid Debug Snippet
{%- doc -%}
Outputs the provided Liquid value to the browser console for debugging.
@param {string} [title] - Optional label for the instance
@param this - The instance content to debug
@param {boolean} [json] - If true, also logs a parsed JSON version of the instance
@example
{% render 'debug', this: shop.metafields.services.title, json: true %}
{% render 'debug', this: product.images, json: false %}
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.

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 / grand-cp-list.md
Last active July 19, 2026 00:07
This is a list of programming problems from various sites (like LeetCode, Codeforces) and designed in way to take you from zero. All you need to do is follow the serial and solve problems.

🏆 The Ultimate Competitive Programming Roadmap

From 800 Codeforces Rating to Candidate Master (2200+)

655+ Problems | Multi-Platform | Serial Progression

This roadmap is designed for someone with ~800 Codeforces rating who wants to systematically level up. Follow problems serially from #1 onwards - the order is carefully crafted so each problem builds on previous concepts.


📚 Philosophy & How to Practice

@Klerith
Klerith / seed.ts
Created July 12, 2022 18:55
Nest-Teslo Seed
interface SeedProduct {
description: string;
images: string[];
stock: number;
price: number;
sizes: ValidSizes[];
slug: string;
tags: string[];
title: string;
type: ValidTypes;