Skip to content

Instantly share code, notes, and snippets.

View Om-Kamath's full-sized avatar

Om Kamath Om-Kamath

View GitHub Profile
@Om-Kamath
Om-Kamath / main.py
Created June 23, 2024 06:10
Mesop Tutorial
# To run command: mesop main.py
import mesop as me
import google.generativeai as genai
import json
import typing_extensions
@me.stateclass
class Article:
title: str
@Om-Kamath
Om-Kamath / gemini.py
Created June 1, 2024 17:50
Gemini for CSV
import google.generativeai as genai
import pandas as pd
import json
import typing_extensions
import streamlit as st
#Gemini
genai.configure(api_key='API_KEY')
@Om-Kamath
Om-Kamath / blindspot.ino
Last active June 8, 2024 15:01
Blindspot warning system using Arduino UNO
//initializing the rgb strip pins
#define b 6 //blue
#define g 5 //green
#define r 3 //red
//initializing the ultrasonic sensor pins
#define echoPin 8
#define trigPin 12
@Om-Kamath
Om-Kamath / books.py
Last active October 14, 2021 14:06
Bakwas Books
from tkinter import *
class Books:
def __init__(self):
self.root = Tk()
self.root.configure(background="light grey")
self.root.title("Books")
self.root.geometry("500x350")