Skip to content

Instantly share code, notes, and snippets.

View adamwdennis's full-sized avatar
🤖
Learn, learn, learn

Adam Dennis adamwdennis

🤖
Learn, learn, learn
View GitHub Profile
@adamwdennis
adamwdennis / update-objects.tsx
Last active May 18, 2022 12:24
Comparing two objects for additions, deletions, and updates.
const existingFields = [
{
id: "1",
name: "",
value: "6.2%",
related_id: "1",
},
{
id: "3",
name: "",
@adamwdennis
adamwdennis / local-llama3-macos.txt
Created April 23, 2024 12:37
Running Llama3 locally...
# Make sure you have the following installed:
# 1. homebrew for MacOS
# 2. docker desktop for MacOS
# Run the following commands, in order:
brew install ollama;
ollama serve &;
ollama pull llama3;
docker run -d -p 3000:8080 --add-host=host.docker.internal:host-gateway -v open-webui:/app/backend/data --name open-webui --restart always ghcr.io/open-webui/open-webui:main