Skip to content

Instantly share code, notes, and snippets.

View rahulvramesh's full-sized avatar
💻
🚊

Rahul V Ramesh rahulvramesh

💻
🚊
View GitHub Profile
// Initialize the Firebase Admin SDK (replace with your actual initialization)
// For example:
const admin = require("firebase-admin");
const serviceAccount = require("./serviceAccountKey.json");
admin.initializeApp({
credential: admin.credential.cert(serviceAccount),
//databaseURL: 'https://your-database-name.firebaseio.com'
});
// Assuming you have already initialized the Admin SDK and have access to the auth service
@rahulvramesh
rahulvramesh / setup_cursor_ubuntu.md
Created May 8, 2025 07:32 — forked from evgenyneu/setup_cursor_ubuntu.md
Install Cursor AI code editor on Ubuntu 24.04 LTS

Install Cursor AI editor on Ubuntu 24.04

  1. Use the Download button on www.cursor.com web site. It will download the NAME.AppImage file.

  2. Copy the .AppImage file to your Applications directory

cd ~/Downloads
mkdir -p ~/Applications
mv NAME.AppImage ~/Applications/cursor.AppImage
This file has been truncated, but you can view the full file.
[[{"section": "round", "pos": "begin"}, {"prompt": "Question: Angelo and Melanie want to plan how many hours over the next week they should study together for their test next week. They have 2 chapters of their textbook to study and 4 worksheets to memorize. They figure out that they should dedicate 3 hours to each chapter of their textbook and 1.5 hours for each worksheet. If they plan to study no more than 4 hours each day, how many days should they plan to study total over the next week if they take a 10-minute break every hour, include 3 10-minute snack breaks each day, and 30 minutes for lunch each day?\nLet's think step by step\nAnswer:", "role": "HUMAN"}, {"prompt": "Angelo and Melanie think they should dedicate 3 hours to each of the 2 chapters, 3 hours x 2 chapters = 6 hours total.\nFor the worksheets they plan to dedicate 1.5 hours for each worksheet, 1.5 hours x 4 worksheets = 6 hours total.\nAngelo and Melanie need to start with planning 12 hours to study, at 4 hours a day, 12 / 4 = 3 days.\nHowev
@rahulvramesh
rahulvramesh / _gh-cli-copilot-api.md
Created January 10, 2025 17:08 — forked from 0xdevalias/_gh-cli-copilot-api.md
Some notes and references while exploring the GitHub CLI extension for the GitHub Copilot CLI
https://www.linkedin.com/sales/search/people#query=(spellCorrectionEnabled%3Atrue%2CrecentSearchParam%3A(id%3A3913350668%2CdoLogHistory%3Atrue)%2Cfilters%3AList((type%3ACURRENT_COMPANY%2Cvalues%3AList((id%3Aurn%253Ali%253Aorganization%253A321062%2Ctext%3AFlipkart%2CselectionType%3AINCLUDED%2Cparent%3A(id%3A0))%2C(id%3Aurn%253Ali%253Aorganization%253A6451760%2Ctext%3AShopee%2CselectionType%3AINCLUDED%2Cparent%3A(id%3A0))%2C(id%3Aurn%253Ali%253Aorganization%253A1344581%2Ctext%3ATokopedia%2CselectionType%3AINCLUDED%2Cparent%3A(id%3A0))%2C(id%3Aurn%253Ali%253Aorganization%253A2725478%2Ctext%3ALazada%2CselectionType%3AINCLUDED%2Cparent%3A(id%3A0))%2C(id%3Aurn%253Ali%253Aorganization%253A2824374%2Ctext%3ACoupang%2CselectionType%3AINCLUDED%2Cparent%3A(id%3A0))%2C(id%3Aurn%253Ali%253Aorganization%253A890815%2Ctext%3ATIKI%2CselectionType%3AINCLUDED%2Cparent%3A(id%3A0))%2C(id%3Aurn%253Ali%253Aorganization%253A10037698%2Ctext%3AMeesho%2CselectionType%3AINCLUDED%2Cparent%3A(id%3A0))%2C(id%3Aurn%253Ali%253Aorganization%25
[build-system]
requires = ["setuptools", "setuptools-scm"]
build-backend = "setuptools.build_meta"
[project]
name = "llm-on-ray"
version = "0.0.1"
description = "LLM on Ray Workflow"
readme = "README.md"
requires-python = ">=3.9"
@rahulvramesh
rahulvramesh / fission-minikube-helm.sh
Created September 14, 2023 16:02 — forked from sanketsudake/fission-minikube-helm.sh
Fission with Minikube and Helm
# Install virtualbox
sudo apt install virtualbox
# Install Kubectl
curl -LO https://storage.googleapis.com/kubernetes-release/release/$(curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt)/bin/darwin/amd64/kubectl && chmod +x kubectl && sudo mv kubectl /usr/local/bin
# Install Minikube
curl -Lo minikube https://storage.googleapis.com/minikube/releases/v0.14.0/minikube-darwin-amd64 && chmod +x minikube && sudo mv minikube /usr/local/bin/
# Launch Minikube
minikube start

~ Tansen ~

Democratizing access to LLMs for the open-source community.
Let's advance AI, together.


@rahulvramesh
rahulvramesh / updated_data.json
Created July 26, 2023 17:34
medium_articles
{
"rows": [
{
"title": "The Reported Mortality Rate of Coronavirus Is Not Important",
"link": "https://medium.com/swlh/the-reported-mortality-rate-of-coronavirus-is-not-important-369989c8d912",
"reading_time": 13,
"publication": "The Startup",
"claps": 1100,
"responses": 18,
"title_vector": [
@rahulvramesh
rahulvramesh / gmeet.js
Created July 15, 2022 06:01
Google Meet Recorder Using playwright and firefox
const { devices, firefox, chromium } = require('playwright');
(async () => {
const browser = await chromium.launch({headless: false});
const context = await browser.newContext({
permissions: ['geolocation', 'microphone', 'camera'],
colorScheme: 'dark',
recordVideo: {
dir: 'videos/',
size: { width: 1920, height: 1080 },
}