Skip to content

Instantly share code, notes, and snippets.

@chandika
chandika / FACTORY_PROXY_CC.md
Last active November 1, 2025 07:48 — forked from ben-vargas/FACTORY_CLIProxyAPI_Claude_ChatGPT.md
Factory CLI with Claude Subscription / ChatGPT Codex via CLIProxyAPI

Executive Summary

This guide documents how to use Factory's Droid CLI with your Claude Code Max subscription (OAuth authentication) instead of pay-per-token API keys. The solution leverages CLIProxyAPI as a transparent authentication proxy that converts API key requests from Factory CLI into OAuth-authenticated requests for Anthropic's API.

Architecture Overview

Factory CLI → [Anthropic Format + API Key] → CLIProxyAPI → [Anthropic Format + OAuth] → Anthropic API
                                                  ↓
 (Auth Header Swap)
@snarktank
snarktank / README.md
Created July 26, 2025 09:31
Pre-commit Hook with Amp Oracle Review

Pre-commit Hook with Amp Oracle Review

A minimal Husky pre-commit hook with AI-powered code review via Amp's Oracle feature.

Features

  • 🔮 AI Code Review: Optional Oracle review via Amp before committing
  • 🧪 Test Validation: Runs all tests before allowing commit
  • Minimal & Fast: No unnecessary dependencies
  • 🌍 Universal: Works with any Node.js project
@philschmid
philschmid / GEMINI.md
Created July 8, 2025 16:09
Explain mode

Gemini CLI: Explain Mode

You are Gemini CLI, operating in a specialized Explain Mode. Your function is to serve as a virtual Senior Engineer and System Architect. Your mission is to act as an interactive guide, helping users understand complex codebases through a conversational process of discovery.

Your primary goal is to act as an intelligence and discovery tool. You deconstruct the "how" and "why" of the codebase to help engineers get up to speed quickly. You must operate in a strict, read-only intelligence-gathering capacity. Instead of creating what to do, you illuminate how things work and why they are designed that way.

Your core loop is to scope, investigate, explain, and then offer the next logical step, allowing the user to navigate the codebase's complexity with you as their guide.

Core Principles of Explain Mode

@philschmid
philschmid / GEMINI.md
Last active October 31, 2025 17:56
Gemini CLI Plan Mode prompt

Gemini CLI Plan Mode

You are Gemini CLI, an expert AI assistant operating in a special 'Plan Mode'. Your sole purpose is to research, analyze, and create detailed implementation plans. You must operate in a strict read-only capacity.

Gemini CLI's primary goal is to act like a senior engineer: understand the request, investigate the codebase and relevant resources, formulate a robust strategy, and then present a clear, step-by-step plan for approval. You are forbidden from making any modifications. You are also forbidden from implementing the plan.

Core Principles of Plan Mode

  • Strictly Read-Only: You can inspect files, navigate code repositories, evaluate project structure, search the web, and examine documentation.
  • Absolutely No Modifications: You are prohibited from performing any action that alters the state of the system. This includes:
@mrbluecoat
mrbluecoat / vpn-options.md
Last active October 26, 2025 14:23
Open Source VPN options
  • Amnezia VPN (OpenVPN & WireGuard protocols) - Windows, MacOS, iOS, Android, Linux (no ARM support)
  • Anywherelan (TCP & QUIC) - Windows, Linux, Android, MacOS
  • boringproxy (in-house developed "NameDrop" protocol) - Windows, MacOS, Linux, FreeBSD, OpenBSD
  • boringtun (WireGuard protocol) - MacOS, Linux (mobile clients not open source)
  • Brook (in-house developed "Brook" protocol as well as WebSocket Secure, SOCKS5, and QUIC protocols) - Windows, MacOS, Linux, OpenWrt (mobile clients not open source)
  • Chisel (SSH protocol) - Windows, MacOS, Linux
  • cjdns (in-house developed "CryptoAuth" protocol) - Windows, MacOS, Linux, FreeBSD, N
@dsmith73
dsmith73 / brew-wsl.md
Last active October 17, 2025 17:10
install homebrew on wsl

Installing homebrew / Linuxbrew on Ubuntu-18.04 wsl for Windows 10


open wsl command line

type -

sh -c "$(curl -fsSL https://raw.githubusercontent.com/Linuxbrew/install/master/install.sh)"  
@cryppadotta
cryppadotta / 001-Tradingview-Watchlist.md
Last active September 20, 2025 07:35
Tradingview Watchlist Import Files for Crypto Exchanges

Tradingview Watchlist Import Files for Crypto Exchanges

Below you'll find Tradingview import files for Bittrex and Binance BTC-base markets

Ordered by CMC's Market Cap

I use Tradingview and I like to quickly click through all coins on a particular exchange. The files below can be imported into a Tradingview watchlist.

★ ★ ★ If you use these, leave a comment or a star above ★ ★ ★

anonymous
anonymous / blockchain.md
Created November 16, 2017 12:31
The Product Manager’s guide to the Blockchain

Part 1 - The Product Manager’s guide to the Blockchain My experiments with Blockchain, Ethereum & Smart Contracts https://hackernoon.com/the-product-managers-guide-to-the-blockchain-part-1-fb95dfb7af31

Part 2 - Why Ethereum, when we already have Bitcoin’s Blockchain? https://hackernoon.com/why-ethereum-when-we-already-have-bitcoins-blockchain-3359eb7e087e

Part 3 - Mechanics of Ethereum, Gas, Contracts & Smart Contracts https://hackernoon.com/product-managers-guide-to-blockchain-part-3-fb0cffbff7f8

web:
image: tutum/apache-php
environment:
- ALLOW_OVERRIDE=true
ports:
- "80:80"
links:
- db
volumes:
- ./app:/app