Skip to content

Instantly share code, notes, and snippets.

View gastonmorixe's full-sized avatar
πŸ‡ΊπŸ‡³

Gaston Morixe gastonmorixe

πŸ‡ΊπŸ‡³
View GitHub Profile
@gastonmorixe
gastonmorixe / feature-flag-bypass-pure.mjs
Created January 26, 2026 08:04
Claude Code Feature Flag Bypass - Enable swarm features with npx
/**
* Pure Feature Flag Bypass Injector (Zero Disk Writes)
*
* Enables swarm features by intercepting fs.readFileSync calls and injecting
* the tengu_brass_pebble feature flag into the returned settings content.
*
* This version:
* - NEVER writes to ~/.claude/ or any global path
* - NEVER writes log files to disk
* - Only modifies data IN MEMORY
@gastonmorixe
gastonmorixe / hombrew-casks-real-upgrade-helper-macos.rb
Last active May 10, 2025 23:45
Homebrew helper to try to check outdated casks towards the real installed version (for macOS using mdls kMDItemVersion)
#!/usr/bin/env ruby
VERSION = '0.0.32'
# ╔════════════════════════════════════════════════════════╗
# β•‘ Homebrew Cask Real Upgrade Helper (macOS) β•‘
# β•‘ ----------------------------------------- β•‘
# β•‘ Author: Gaston Morixe <gaston@gastonmorixe.com> β•‘
# β•‘ Vibe Coded with: OpenAI o3 - Last Update May 10 2025 β•‘
# β•‘ ---------------------------------------------------- β•‘
# β•‘ Usage: `$ brew ruby this-file.rb` without extra gems β•‘
# β•šβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•
from manimlib import *
import random
class ShadowMappingIllustration(Scene):
def construct(self):
# -------------------------------------------------------------
# INTRO TITLE
# -------------------------------------------------------------
title = Text("Shadow Mapping: Two-Pass Technique")