Skip to content

Instantly share code, notes, and snippets.

View tomsiwik's full-sized avatar
🛠️
Building in Public

Tom Siwik tomsiwik

🛠️
Building in Public
View GitHub Profile
# Create a vault for your app secrets & api keys
# Mine is Apps
op vault create Apps
# Go into the folder where your .env file is located. Mine is at
# cd project_name/packages/monorepo_pkg/
# I'll use this path for the title too
op item create --category="Login" --vault="Apps" --title="project_name/packages/monorepo_pkg/.env" $(grep -v '^#' .env | grep -v '^$' | sed 's/\([^=]*\)=\(.*\)/\1[password]="\2"/')
# Read them back into .env (on another computer or smth)
@tomsiwik
tomsiwik / README.md
Last active May 6, 2025 23:44
How to proxy Cursor → OpenAPI → Python → Ollama

Make sure you run ollama serve (this is OpenAI-compatible http://localhost:11434)

Open cursor model settings and specify:

  • Specify http://localhost:8000/v1
  • Hit "Save" (no need to activate key)
  • Select gpt-4o and enjoy local model
uv venv
app = 'yourapp'
primary_region = 'fra'
[[vm]]
memory = '1gb'
cpu_kind = 'shared'
cpus = 1
[build]
image = "n8nio/n8n:latest"
@tomsiwik
tomsiwik / ~⧸.gitconfig
Created September 26, 2024 21:52
Multi-Account Repo Setup
[includeIf "gitdir:~/Code/org-1/"]
path = ~/Code/org-1/.gitconfig
[includeIf "gitdir:~/Code/org-2/"]
path = ~/Code/org-2/.gitconfig
[includeIf "gitdir:~/Code/acc-2/"]
path = ~/Code/acc-2/.gitconfig
@tomsiwik
tomsiwik / README.md
Last active March 13, 2020 22:11 — forked from PurpleBooth/README-Template.md
My go-to README.md template

{project-name}

{description-short}