Skip to content

Instantly share code, notes, and snippets.

View ScottGuthart's full-sized avatar

Scott Guthart ScottGuthart

  • Edelman.AI
  • New York
View GitHub Profile
// Name: Filter LLM Conversations
// Description: Browse and filter past LLM conversations.
// Author: ScottGuthart
// GitHub:
import "@johnlindquist/kit";
type Message = { role: "user" | "assistant"; content: string };
type Conversation = {
id: number | null;
" plugins
let need_to_install_plugins = 0
if empty(glob('~/.vim/autoload/plug.vim'))
silent !curl -fLo ~/.vim/autoload/plug.vim --create-dirs
\ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
let need_to_install_plugins = 1
endif
call plug#begin()
Plug 'tpope/vim-sensible'
eval "$(pyenv init --path)"
eval "$(/opt/homebrew/bin/brew shellenv)"
# Homebrew completions
FPATH=$(brew --prefix)/share/zsh/site-functions:$FPATH
eval "$(pyenv init --path)"
# You can put files here to add functionality separated per file, which
# will be ignored by git.
# Files on the custom/ directory will be automatically loaded by the init
# script, in alphabetical order.
# For example: add yourself some shortcuts to projects you often work on.
#
# brainstormr=~/Projects/development/planetargon/brainstormr
# cd $brainstormr
alias brew='env PATH=${PATH//$(pyenv root)\/shims:/} brew'
# If you come from bash you might have to change your $PATH.
# export PATH=$HOME/bin:/usr/local/bin:$PATH
# Path to your oh-my-zsh installation.
export ZSH="/Users/scottguthart/.oh-my-zsh"
# Set name of the theme to load --- if set to "random", it will
# load a random theme each time oh-my-zsh is loaded, in which case,
# to know which specific one was loaded, run: echo $RANDOM_THEME
# See https://github.com/ohmyzsh/ohmyzsh/wiki/Themes
@ScottGuthart
ScottGuthart / gist:028b49319f9c09acf389f9a38cea368d
Created July 9, 2021 01:11
Pyenv 3.9.1 build log on M1 Mac OS 12.0
This file has been truncated, but you can view the full file.
python-build: use openssl@1.1 from homebrew
python-build: use readline from homebrew
/var/folders/66/gc8wb78j4bl7h1ycrcjr50_h0000gn/T/python-build.20210708210812.89420 ~/workspace/misc
++(/opt/homebrew/Cellar/pyenv/2.0.3/plugins/python-build/bin/python-build:331): http(): local method=get
++(/opt/homebrew/Cellar/pyenv/2.0.3/plugins/python-build/bin/python-build:332): http(): '[' -n https://www.python.org/ftp/python/3.9.1/Python-3.9.1.tar.xz ']'
++(/opt/homebrew/Cellar/pyenv/2.0.3/plugins/python-build/bin/python-build:333): http(): shift 1
+++(/opt/homebrew/Cellar/pyenv/2.0.3/plugins/python-build/bin/python-build:335): http(): detect_http_client
+++(/opt/homebrew/Cellar/pyenv/2.0.3/plugins/python-build/bin/python-build:342): detect_http_clientlocal client
+++(/opt/homebrew/Cellar/pyenv/2.0.3/plugins/python-build/bin/python-build:343): detect_http_clientfor client in aria2c curl wget
+++(/opt/homebrew/Cellar/pyenv/2.0.3/plugins/python-build/bin/python-build:344): detect_http_clienttype aria2c
" Vim color file - rednightgui
" Generated by http://bytefluent.com/vivify 2020-06-07
set background=dark
if version > 580
hi clear
if exists("syntax_on")
syntax reset
endif
endif