A complete setup guide for integrating Google's Gemini CLI with Claude Code through an MCP (Model Context Protocol) server. This provides automatic second opinion consultation when Claude expresses uncertainty or encounters complex technical decisions.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import Vue from 'vue' | |
| import axios from 'axios' | |
| import store from '../store' | |
| import { TokenService } from '../services/storage.service' | |
| // Full config: https://github.com/axios/axios#request-config | |
| let config = { | |
| baseURL: | |
| process.env.baseURL || |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| """Task locking with redis in celery is hard, and good examples are tough to come by. This is the approach that's | |
| worked for me, based on great work that other folks have posted: | |
| * https://breadcrumbscollector.tech/what-is-celery-beat-and-how-to-use-it-part-2-patterns-and-caveats/ | |
| * http://loose-bits.com/2010/10/distributed-task-locking-in-celery.html | |
| * https://redis.io/topics/distlock | |
| This isn't polished,but hopefully it's useful. To verify it in our local test env we register the following test task in | |
| our definitions file: | |
| *** definitions.py *** |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/python | |
| # setup: pip install requests beautifulsoup4 | |
| from decimal import Decimal | |
| import requests | |
| from bs4 import BeautifulSoup | |
| import sys | |
| import getpass |
