Skip to content

Instantly share code, notes, and snippets.

@csturtz
csturtz / models.yml
Last active August 19, 2026 17:06
Oh My Pi - Unsloth - Local Model Discovery Configuration (models.yml)
# ~/.omp/agent/models.yml
# Custom Provider for Unsloth running locally
providers:
unsloth:
baseUrl: http://127.0.0.1:8888/v1
# Provide API Key or use command-resolved secret
# https://github.com/can1357/oh-my-pi/blob/main/docs/models.md#command-resolved-secrets
apiKey: ********
api: openai-completions
authHeader: true
@csturtz
csturtz / ubuntu-v12.04.5_node-latest.sh
Created February 23, 2015 06:17
Ubuntu 12.04.5 - install latest node
echo 'export PATH=$HOME/local/bin:$PATH' >> ~/.bashrc
. ~/.bashrc
mkdir ~/local
mkdir ~/node-latest-install
cd ~/node-latest-install
curl http://nodejs.org/dist/node-latest.tar.gz | tar xz --strip-components=1
./configure --prefix=$HOME/local
make install