Skip to content

Instantly share code, notes, and snippets.

View camillanapoles's full-sized avatar

Camilla Napoles camillanapoles

View GitHub Profile
# Claude Code CLI Environment Variables
# This file lists all environment variables used in v2.1.118 with explanations
## Anthropic API & Authentication
ANTHROPIC_API_KEY - Primary API key for Anthropic's Claude API. Used as fallback when no OAuth token is configured
ANTHROPIC_AUTH_TOKEN - Alternative bearer token for Anthropic services. Takes priority over ANTHROPIC_API_KEY for authorization headers
ANTHROPIC_BASE_URL - Custom base URL for Anthropic API endpoints. Overrides the default api.anthropic.com endpoint
ANTHROPIC_BETAS - Comma-separated list of beta feature headers to include in API requests. Appended to internal beta flags
ANTHROPIC_CONFIG_DIR - Override Anthropic config directory. Falls back to XDG_CONFIG_HOME/anthropic, then HOME/.config/anthropic
@camillanapoles
camillanapoles / Flow.md
Created April 30, 2026 16:46 — forked from ruvnet/Flow.md
Claude Flow Playbook for Advanced Coordination, Context Engineering, and Artifact-Centric Swarms

Claude Flow treats memory as the backbone and MCP tools as the hands. You get concurrent agents that coordinate cleanly, keep context tight, and ship durable artifacts without dragging long text through prompts. It feels like an ops layer for intelligence.

The stack is simple. Claude Code as the client. Claude Flow as the MCP server. SQLite memory at .swarm/memory.db for state, events, patterns, workflow checkpoints, and consensus. Artifacts hold the big payloads. Manifests in memory link everything with ids, tags, and checksums.

Coordination is explicit. Agents write hints to a shared blackboard, gate risky steps behind consensus, and record every transition as an event. Hooks inject minimal context before tools run and persist verified outcomes after. Small bundles in, durable facts out.

Planning keeps runs stable. Use GOAP to sequence actions with clear preconditions. Use OODA to shorten loops.

Observe metrics, orient with patterns, decide through votes, act with orchestration. Topology adapts from hi

@camillanapoles
camillanapoles / enterprise_token.rb
Created April 30, 2026 16:10 — forked from markasoftware/enterprise_token.rb
OpenProject Enterprise mode for free
############ If you are using DOCKER all-in-one image, create Dockerfile like: ################
############ FROM openproject/openproject:16 ################
############ COPY ./enterprise_token.rb app/models/enterprise_token.rb ################
############ If you are runing a manual installation: ################
############ REPLACE app/models/enterprise_token.rb in the source code with this file! ################
############ also be sure to RESTART OpenProject after replacing the file. ################
############ If using some other set up (eg docker-compose), read the comments on ################
############ https://gist.github.com/markasoftware/f5b2e55a2c2e3abb1f9eefcdf0bfff45 ################
// ==UserScript==
// @name Claude Project Export 2026
// @namespace https://tampermonkey.net/
// @version 1.0.2
// @description One-click export of ALL Claude project files + project instructions into a single ZIP. Downloads real PDF attachments when available, falls back to text only when download isn't available, normalizes filenames, handles collisions, and writes rich metadata.
// @author sharmanhall
// @match https://claude.ai/*
// @require https://unpkg.com/fflate/umd/index.js
// @require https://cdnjs.cloudflare.com/ajax/libs/FileSaver.js/2.0.5/FileSaver.min.js
// @grant GM_addStyle
@camillanapoles
camillanapoles / ui-patterns-list.md
Created March 13, 2026 11:57 — forked from mpaiva-cc/ui-patterns-list.md
A curated list of SaaS UI workflow patterns used across modern B2B and B2C SaaS platforms.

Common SaaS Workflow Patterns

Note: The workflow patterns below are ordered by estimated usage frequency, based on navigation audit data and common SaaS conventions.

This document curates and describes common UI workflow patterns found in leading B2B and B2C SaaS platforms (e.g., Notion, Airtable, Figma, Asana, HubSpot, Linear).

Each pattern includes:

  • A clear flow description
  • Real-world examples
@camillanapoles
camillanapoles / install_debian_with_debootstrap_howto.md
Created January 26, 2026 19:16 — forked from varqox/install_debian_with_debootstrap_howto.md
Instructions how to install Debian using debootstrap
// ==UserScript==
// @name Claude Extractor Diagnostic
// @namespace https://github.com/cnmfs/claude-extractor
// @version 2.1.0-diag
// @description Versão de diagnóstico para identificar seletores DOM do Claude.ai
// @author cnmfs
// @match https://claude.ai/*
// @icon https://claude.ai/favicon.ico
// @grant none
// @run-at document-idle

Build android app on termux

1. install termux

install termux from F-Droid.

2. setup termux

apt update
@camillanapoles
camillanapoles / permissions.txt
Created November 20, 2025 19:52 — forked from Arinerron/permissions.txt
A list of all Android permissions...
android.permission.ACCESS_ALL_DOWNLOADS
android.permission.ACCESS_BLUETOOTH_SHARE
android.permission.ACCESS_CACHE_FILESYSTEM
android.permission.ACCESS_CHECKIN_PROPERTIES
android.permission.ACCESS_CONTENT_PROVIDERS_EXTERNALLY
android.permission.ACCESS_DOWNLOAD_MANAGER
android.permission.ACCESS_DOWNLOAD_MANAGER_ADVANCED
android.permission.ACCESS_DRM_CERTIFICATES
android.permission.ACCESS_EPHEMERAL_APPS
android.permission.ACCESS_FM_RADIO
@camillanapoles
camillanapoles / json_nested_keys.sh
Created October 18, 2025 18:40
Json Apenas estrutura aninhas com keys no terminal
jq 'walk(if type == "object" then . elif type == "array" then [] else {} end)' exemplo.json