Skip to content

Instantly share code, notes, and snippets.

View vivekrp's full-sized avatar

Vivek Rp vivekrp

View GitHub Profile
@vivekrp
vivekrp / azure-openai-proxy.py
Created May 30, 2025 01:05 — forked from israrwz/azure-openai-proxy.py
Azure OpenAI in Zed Editor
from http.server import BaseHTTPRequestHandler, HTTPServer
import json
import requests
import re
AZURE_API_ENDPOINT = "<YOUR_DEPLOYMENT_ENDPOINT_URL>"
# "https://****************.cognitiveservices.azure.com/openai/deployments/o3-mini"
AZURE_API_VERSION = "<DEPLOYMENT_API_VERSION>"
# "2025-01-01-preview"
AZURE_API_KEY = "<YOUR_API_KEY>"
@vivekrp
vivekrp / react-scripts-env-priorities.md
Created October 23, 2023 15:16 — forked from csandman/react-scripts-env-priorities.md
The priorities of different .env files used in different React scripts

What other .env files can be used?

Note: this feature is available with react-scripts@1.0.0 and higher.

  • .env: Default.
  • .env.local: Local overrides. This file is loaded for all environments except test.
  • .env.development, .env.test, .env.production: Environment-specific settings.
  • .env.development.local, .env.test.local, .env.production.local: Local overrides of environment-specific settings.

Files on the left have more priority than files on the right:

Keybase proof

I hereby claim:

  • I am vivekrp on github.
  • I am vivekrp (https://keybase.io/vivekrp) on keybase.
  • I have a public key ASC2A25HVwM4EQrTz-Z5Bbimqft6f8CRaV0bujc1YmkdFwo

To claim this, I am signing this object:

Verifying my Blockstack ID is secured with the address 1Ftd6Dqm1sF74RTrN77d3PxiLvMY9AqkkN https://explorer.blockstack.org/address/1Ftd6Dqm1sF74RTrN77d3PxiLvMY9AqkkN
android-group-iit-bombay@googlegroups.com,
occ-kolkata@googlegroups.com,
occdelhi@googlegroups.com,
mumbai-startup@googlegroups.com,
mrug@googlegroups.com,
hydstartups@googlegroups.com,
pune-cloudcomputing@googlegroups.com,
eventsbangalore@googlegroups.com,
thoughtworks-bangalore-geek-nights@googlegroups.com,
nen-eclub-pune@googlegroups.com,
DropBox YC Application
http://dl.dropbox.com/u/27532820/app.html
Reddit YC Application
http://alexisohanian.com/our-y-combinator-summer-05-application-what-w
FamilyLeaf YC Application
http://dl.dropbox.com/u/19699329/FamilyLeaf_YC_application.pdf