Skip to content

Instantly share code, notes, and snippets.

View mbhonsle's full-sized avatar

Makarand Bhonsle mbhonsle

View GitHub Profile
@mbhonsle
mbhonsle / OCD.md
Last active May 10, 2026 02:45
OCD File for Claude Code.

OCD.md — Coding Standards

Personal coding rules enforced on all code in this project. These apply to every language - Java, Python, Apex, JavaScript, HTML, CSS, XML etc


Imports

  • No wildcard imports. Every import must name the exact symbol being used.
@mbhonsle
mbhonsle / gemini_pro_1_5_client.py
Created June 19, 2024 08:30
Gemini Pro 1.5 Content Node Missing Issue.
#!/bin/python3.10
# encoding: utf-8
r"""
This Gemini Pro 1.5 Python Client was created to demonstrate the issue of missing content/generation node from the
Vertex api response object. Ref: https://cloud.google.com/vertex-ai/generative-ai/docs/model-reference/gemini#response
The client invokes the Vertex Gemini `generateContent` api `EPOCH` number of times with the exact same payload `PAYLOAD`,
and prints the program statistics as explained below.