Skip to content

Instantly share code, notes, and snippets.

View nickcmiller's full-sized avatar

Nick Miller nickcmiller

  • San Jose, CA
  • 09:43 (UTC -12:00)
View GitHub Profile
@nickcmiller
nickcmiller / 01_bash_setup
Last active July 28, 2024 01:54
YouTube Transcription with Groq's Whisper API
sudo apt update
sudo apt install python3-pip
sudo apt update
sudo apt install ffmpeg
@nickcmiller
nickcmiller / 01_streamlit-app.py
Last active May 16, 2024 19:25
Deploying a Groq Chatbot on Google Cloud Run Containers
import os
from groq import Groq
import streamlit as st
import json
##################
# GROQ CLIENT SETUP
##################
@nickcmiller
nickcmiller / sshintoGCEinstance.sh
Last active May 6, 2024 18:53
Create .ssh config to remotely access GCE instance
#!/bin/bash
# Get instance name as an argument or use demo-instance as default
INSTANCE_NAME=${1:-demo-instance}
# Get zone as an argument or use us-west4-b as default
ZONE=${2:-us-west4-b}
# Location of Private Key created during authentication
PRIVATE_KEY_PATH=~/.ssh/google_compute_engine