Skip to content

Instantly share code, notes, and snippets.

View rdsoze's full-sized avatar

Raison D'souza rdsoze

  • Harness
  • Bangalore
View GitHub Profile
@rdsoze
rdsoze / gist:70ba08f3cfdba6703db99bca14526612
Last active May 27, 2026 13:25
Claude Code + Vertex AI Gemini via LiteLLM — use GCP credits with Claude Code
# Claude Code → Vertex AI Gemini via LiteLLM
# Use GCP free trial credits with Claude Code
## Architecture
gemini-claude → ccr (3456) → LiteLLM (8000) → Vertex AI Gemini → GCP credits
claude → Anthropic Pro plan (unchanged)
## 1. Install
npm install -g @musistudio/claude-code-router
brew install --cask google-cloud-sdk
@rdsoze
rdsoze / musix.xml
Created March 6, 2012 06:47
Nokogiri vs SimpleXml
//100 records from Lastfm
<?xml version="1.0" encoding="utf-8"?>
<lfm status="ok">
<recenttracks user="rdsoze" page="1" perPage="100" totalPages="14" total="1334" >
<track>
<artist mbid="cc197bad-dc9c-440d-a5b5-d52ba2e14234">Coldplay</artist>
<name>Every Teardrop Is a Waterfall</name>
<streamable>0</streamable>
<mbid></mbid>
<album mbid="7f17282e-d49a-4b92-abf6-b2ca75803f82">Mylo Xyloto</album>