Skip to content

Instantly share code, notes, and snippets.

View vivekrp's full-sized avatar

Vivek Rp vivekrp

View GitHub Profile
# OpenClaw Implementation Prompts
Each prompt below is a self-contained brief you can hand to an AI coding assistant (or use as a project spec) to build that use case from scratch. Adapt the specific services to whatever you already use — the patterns are what matter.
---
## 1) Personal CRM Intelligence
```
Build me a personal CRM system that automatically tracks everyone I interact with, with smart filtering so it only adds real people — not newsletters, bots, or cold outreach.
@patrickloeber
patrickloeber / NanoBanana-JavaScript.md
Last active November 16, 2025 15:55
Use Nano Banana in JavaScript/TypeScript
@burkeholland
burkeholland / 4.1.chatmode.md
Last active March 10, 2026 10:30
4.1 Beast Mode v2
description tools
4.1 Beast Mode
changes
codebase
editFiles
extensions
fetch
findTestFiles
githubRepo
new
openSimpleBrowser
problems
readCellOutput
runCommands
runNotebooks
runTasks
runTests
search
searchResults
terminalLastCommand
terminalSelection
testFailure
updateUserPreferences
usages
vscodeAPI

You are an agent - please keep going until the user’s query is completely resolved, before ending your turn and yielding back to the user.

@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>"
@patchy631
patchy631 / whatsapp_mcp_server.py
Created May 2, 2025 12:36
WhatsApp MCP server
# whatsapp_server.py
import os
from typing import Annotated
from pydantic import Field, BeforeValidator
from pydantic_settings import BaseSettings, SettingsConfigDict
from twilio.rest import Client as TwilioClient
from twilio.base.exceptions import TwilioRestException
@israrwz
israrwz / azure-openai-proxy.py
Last active February 1, 2026 16:58
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>"
@revett
revett / raycast_chat_preset_instructions.md
Last active June 1, 2025 11:05
System prompt for a Raycast chat preset, acting as a Todoist assistant using the new AI Extension.

What?

This is a Raycast Chat Preset leveraging the recently launched Todoist AI Extension, enabling the creation of well-structured tasks from natural language.

It supersedes the traditional Todoist → Quick Add Task workflow by allowing context aware task creation.

Why?

  • Faster
  • Reduced cognitive load
@paolosalvatori
paolosalvatori / login-via-pim.sh
Created February 25, 2025 08:25
This Bash script allows to login to a given Azure Subscription using Microsoft Entra Privileged Identity Management (PIM)
#!/bin/bash
# Variables
SUBSCRIPTION_ID=$(az account show --query id --output tsv) # Subscription ID
ROLE_NAME="8e3af657-a8ff-443c-a75c-2fe8c4bcb635" # Owner role
ROLE_DEFINITION_ID="/subscriptions/${SUBSCRIPTION_ID}/providers/Microsoft.Authorization/roleDefinitions/${ROLE_NAME}" # Role definition resource ID
PRINCIPAL_ID=$(az ad user show --id $(az account show --query user.name -o tsv) --query id -o tsv) # Your account object ID
ROLE_ASSIGNMENT_ID=$(uuidgen) # Generate a unique GUID for the role assignment
JUSTIFICATION="I need access to [$(az account show --query name --output tsv)] Azure subscription" # Justification for the role assignment
API_VERSION="2020-10-01" # API version
@kleneway
kleneway / .cursor-tasks.md
Last active March 10, 2025 08:00
Cursor + Storybook + o3 video part 2 - additional resources and notes
  1. Story: Extend the Prisma Schema with PIA Models

    • Add the Pia model to prisma/schema.prisma with the following fields (in addition to the existing models):

      model Pia {
        id                    String   @id @default(cuid())
        userId                String
        projectName           String?
        systemDescription     String?
@ivanfioravanti
ivanfioravanti / o1.py
Created January 22, 2025 11:15
o1-pro vs r1 rotating square with ball inside
import pygame
import math
import sys
pygame.init()
# Screen setup
WIDTH, HEIGHT = 800, 600
screen = pygame.display.set_mode((WIDTH, HEIGHT))
pygame.display.set_caption("Bouncing Ball in Rotating Square")