Skip to content

Instantly share code, notes, and snippets.

View lifesign's full-sized avatar
🎯
Focusing

Feng lifesign

🎯
Focusing
View GitHub Profile
@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)
@cholf5
cholf5 / Kanban Workflow
Last active October 24, 2025 02:25
KANBAN Workflow for LLM
# KANBAN Workflow
Unified Kanban Columns (Project Level):
* **Backlog** (Requirement Pool)
* **To Do** (Sprint/Current Week To-Do)
* **In Progress** (Development in Progress)
* **In Review** (Code Review)
* **Testing / QA** (QA Testing in Progress)
* **Blocked** (Blocked)
@2045gemini
2045gemini / 懒人覆写模板.js
Last active September 13, 2025 07:44
懒人配置js覆写模板mihomo (Clash Meta)
// Mihomo (Clash Meta) 通用 JavaScript 覆写脚本模板 v1.1
// By: 2045gemini
//
// 导入链接:https://gist.githubusercontent.com/2045gemini/4aea375b94c60a883f8e6c16ca3875b8/raw/d6779c142d9a298436f99a7bfc277610c52f49a1/%25E6%2587%2592%25E4%25BA%25BA%25E8%25A6%2586%25E5%2586%2599%25E6%25A8%25A1%25E6%259D%25BF.js
// ghfast.top加速导入链接(适用于无proxy):https://ghfast.top/https://gist.githubusercontent.com/2045gemini/4aea375b94c60a883f8e6c16ca3875b8/raw/d6779c142d9a298436f99a7bfc277610c52f49a1/%25E6%2587%2592%25E4%25BA%25BA%25E8%25A6%2586%25E5%2586%2599%25E6%25A8%25A1%25E6%259D%25BF.js
//
// 这是一个 Mihomo (Clash Meta) "懒人配置" 的补充覆写脚本模板。
// 感谢原作者 笨蛋ovo (bdovo.cc) 的懒人配置!
// 懒人配置 Gist 地址: https://gist.github.com/liuran001/5ca84f7def53c70b554d3f765ff86a33
// Clash Meta 文档 (官方 Wiki): https://wiki.metacubex.one
# 字体设置
font-family = BlexMono Nerd Font Mono
font-size = 16
# 主题和样式
theme = GruvboxDarkHard
cursor-style = block
adjust-cell-height = 35%
@menyf
menyf / elpass.md
Last active March 14, 2023 09:47
From iCloud Keychain to Elpass

从iCloud Keychain到Elpass

运行环境

  1. macOS latest
  2. Python3

准备工作

  1. 下载mrc-converter-suite并解压
@Nachtalb
Nachtalb / telegram-desktop-multiple-accounts.rst
Last active April 8, 2025 16:37
Add multiple accounts in Telegram Desktop [Linux | MacOSX | Windows]
@elahd
elahd / confluence-numbered-headings.user.js
Last active April 10, 2024 03:28
Confluence Auto Numbered Headings (Tampermonkey UserScript)
// ==UserScript==
// @name Confluence Auto Numbered Headings
// @namespace https://gist.github.com/elahd/28f64feddd9ece56f4f0566d195d0cbd
// @version 0.7
// @description Adds numbered headings button to the page editor in Atlassian Confluence. Based on work by Markus Jenu at https://community.atlassian.com/t5/Confluence-questions/Is-it-possible-to-add-numbering-to-headings-in-Confluence/qaq-p/315517#M87046.
// @author Elahd Bar-Shai
// @match https://*.atlassian.net/wiki/spaces/*
// @match https://*.atlassian.net/wiki/spaces/*
// @require https://greasyfork.org/scripts/383527-wait-for-key-elements/code/Wait_for_key_elements.js?version=701631
// @grant none
@santisbon
santisbon / Search my gists.md
Last active October 19, 2025 15:47
How to search gists.

Enter this in the search box along with your search terms:

Get all gists from the user santisbon.
user:santisbon

Find all gists with a .yml extension.
extension:yml

Find all gists with HTML files.
language:html

@cthurston
cthurston / mongodb-facet-combine.js
Created November 3, 2017 14:21
MongoDb combine $facet results into a single result set.
db.getCollection('list').aggregate([
{
$facet: {
"events":[{
$match: {
'type': 'Event'
}
}],
"tasks": [{
$match: {
@lipkau
lipkau / AtlassianTuner.user.js
Last active July 9, 2020 03:05
UserScript for Atlassian's Jira and Confluence
// ==UserScript==
// @name AtlassianTuner
// @description Custom javascript to inject onto Atlassian's Jira and Confluence to make experience better (at least for me)
// @namespace https://gist.github.com/lipkau/481342249739847f2d7f8d3099783ce4
// @author Oliver Lipkau
// @version 0.10.1
// @include https://*.bsh-sdd.com*
// @require https://code.jquery.com/jquery-2.2.4.min.js#sha256=BbhdlvQf/xTY9gja0Dq3HiwQF8LaCRTXxZKRutelT44=
// @require https://cdnjs.cloudflare.com/ajax/libs/anchor-js/3.2.2/anchor.min.js#sha256=WofcoLT8gToeaSmVRe28qpnlFxdBJH1n4K6Bk3YowvU=
// @run-at document-start