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-4oand enjoy local model
uv venv
| // Twitter/X Post Stats Logger | |
| // This script monitors for new posts and logs their statistics | |
| const loggedPosts = new Set(); | |
| let languageFilter = 'en'; // Default to English only | |
| let maxAgeHours = 6; // Default to 6 hours maximum age | |
| // Opacity formula parameters (adjustable) | |
| let opacityConfig = { | |
| k: 0.00012, // Steepness of curve (increased for more sensitivity) |
| # 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) |
Make sure you run ollama serve (this is OpenAI-compatible http://localhost:11434)
Open cursor model settings and specify:
http://localhost:8000/v1gpt-4o and enjoy local modeluv venv
| app = 'yourapp' | |
| primary_region = 'fra' | |
| [[vm]] | |
| memory = '1gb' | |
| cpu_kind = 'shared' | |
| cpus = 1 | |
| [build] | |
| image = "n8nio/n8n:latest" |
| [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 |